
%define name gnapster
%define version 1.3.12
%define release 1
%define prefix /usr
Summary : Internet software for sharing MP3.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <okki@wanadoo.fr>
URL: http://jasta.gotlinux.org/gnapster.html
Group: Applications/Internet
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
Gnapster is a clone of Napster for the Gnome environment.
With Gnapster you can share your MP3 with other people all around the world.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure --prefix=/usr

%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 ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README* TODO

/usr/bin/*
/usr/share/*


%changelog

* Tue Sep 12 2000 Georges Seguin okki@wanadoo.fr 
- Gnapster 1.3.12

* Fri Aug 11 2000 Georges Seguin okki@wanadoo.fr 
- Gnapster 1.3.11
- RPM specification file has been improved

* Sun May 28 2000 Georges Seguin crow@planete.net 
- Build with Glibc 2.1.3

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