
%define name opennap
%define version 0.36
%define release 1
%define prefix /usr
Summary : opennap is an Open Source(TM) server implementation of the popular Napster protocol.
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://opennap.sourceforge.net
Group: Applications/Internet
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
OpenNap is an open source Napster-like server. Napster is a protocol
for sharing multimedia files in a distributed fashion. The server acts
as a search engine and broker for direct file transfers between clients.
Group and private chat similar to IRC is also provided. OpenNap extends
the Napster protocol to allow sharing of any media type and the ability
to link servers together.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure --enable-email --enable-resume

%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 FAQ INSTALL NEWS README TODO napster.txt sample*

/usr/sbin/*


%changelog

* Mon Aug 14 2000 Georges Seguin okki@wanadoo.fr 
- Opennap 0.36
- Turn on support for resume
- RPM specification file has been improved

* Fri Jun 09 2000 Georges Seguin crow@planete.net 
- Opennap 0.32
- Turn on support for saving client

* Thu Jun 01 2000 Georges Seguin crow@planete.net 
- Opennap 0.30

* Wed May 31 2000 Georges Seguin crow@planete.net 
- Opennap 0.28

* 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
