Summary: command line nntp file grabber Name: nget Version: @PACKAGE_VERSION@ Release: 1 Group: Applications/System %define version @PACKAGE_VERSION@ BuildRoot: /var/tmp/%{name}-root Source: http://belnet.dl.sourceforge.net/sourceforge/nget/nget-%{version}+uulib.tar.gz Packager: Thomas Kotzian Requires: pcre >= 3.1, popt, libz / zlib, ncurses License: GPL %description nget is a command line nntp file grabber. It automatically pieces together multipart postings for easy retrieval, even substituting parts from multiple servers. Handles disconnects gracefully, resuming after the last part succesfully downloaded. %prep %setup %configure ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --with-pcre \ --with-popt %build make %install mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 make install prefix=$RPM_BUILD_ROOT/usr mandir=$RPM_BUILD_ROOT/usr/share/man %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_mandir}/* %doc .ngetrc COPYING Changelog FAQ README TODO %{_bindir}/*