
%define name PicMonger
%define version 0.9.6
%define release 1
%define prefix /usr
Summary : Usenet binary grabber.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <crow@planete.net>
URL: http://okki.lefute.com
Group: Applications/Internet
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
PicMonger is a program that will connect to your local NNTP server
and scan a specified newsgroup for UU- or Base64-encoded files.
When a data file is found, it downloaded to your current working directory
and automagically decoded back to its binary form.

Enhancements include generation of HTML pseudo-thumbnailed image previews,
ability to pre-screen files by type, ability to (cleanly) abort a scan,
and best of all, resume scanning where you last left off in a newsgroup.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/*

%files
%defattr (-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
/usr/bin/picmonger
/usr/share/PicMonger/pmlogo.xpm
/usr/share/PicMonger/add.xpm
/usr/share/PicMonger/del.xpm
/usr/share/PicMonger/pmlogo_big.jpg
/usr/share/PicMonger/db_rd.xpm

%changelog

* Wed Aug 02 2000 Georges Seguin crow@planete.net 
- PicMonger 0.9.6

* Thu May 28 2000 Georges Seguin crow@planete.net 
- Use Glibc 2.1.3

* Thu May 27 2000 Georges Seguin crow@planete.net 
- Use ac_default_prefix=/usr

* Thu May 25 2000 Georges Seguin crow@planete.net 
- First RPM
