1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
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 <thomas.kotzian@gmx.at>
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}/*
|