1%define version 4.3.4 2%define name suck 3%define release 1 4 5Name: %{name} 6Summary: suck - download news from remote NNTP server 7Version: %{version} 8Release: %{release} 9Source: http://www.sucknews.org/%{name}-%{version}.tar.gz 10Packager: Robert Yetman <bobyetman@sucknews.org> 11BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot 12Copyright: Unknown 13Group: News 14 15%description 16This package contains software for copying news from an NNTP server to your 17local machine, and copying replies back up to an NNTP server. It works 18with most standard NNTP servers, including INN, CNEWS, DNEWS, and typhoon. 19 20%prep 21if [ "${RPM_BUILD_ROOT}" != '/' ] ; then rm -rf ${RPM_BUILD_ROOT} ; fi 22 23%setup 24./configure --prefix=${RPM_BUILD_ROOT}/usr --mandir=${RPM_BUILD_ROOT}%{_mandir} 25 26%build 27make 28 29%install 30make \ 31 install 32 33%clean 34if [ "${RPM_BUILD_ROOT}" != '/' ] ; then rm -rf ${RPM_BUILD_ROOT} ; fi 35 36%post 37echo Please look in %{_docdir}/%{name}-%{version} for example scripts 38 39%files 40 41%defattr(0644,root,root,0755) 42%doc README CHANGELOG sample 43 44%defattr(-,root,root,0755) 45%{_bindir}/suck 46%{_bindir}/rpost 47%{_bindir}/testhost 48%{_bindir}/lmove 49 50%{_mandir}/man1/suck.1* 51%{_mandir}/man1/rpost.1* 52%{_mandir}/man1/testhost.1* 53%{_mandir}/man1/lmove.1* 54