3 # - rc-inetd / daemontools support
5 %include /usr/lib/rpm/macros.perl
6 Summary: NNTP server for ezmlm mailing list archives
7 Summary(pl.UTF-8): Serwer NNTP dla archiwów list mailowych ezmlm
12 Group: Networking/Daemons
13 Source0: http://trainedmonkey.com/projects/colobus/%{name}-%{version}.tar.gz
14 # Source0-md5: 36e83195fb4f08dba3162e9169554ee1
15 URL: http://trainedmonkey.com/projects/colobus/
16 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _sysconfdir /etc/%{name}
23 colobus is an NNTP server written in Perl for ezmlm mailing list
24 archives. It is used by news.php.net and nntp.perl.org to provide
25 access to the PHP and Perl mailing lists via news clients.
27 %description -l pl.UTF-8
28 colobus to napisany w Perlu serwer NNTP dla archiwów list mailowych
29 ezmlm. Jest używany przez news.php.net oraz nntp.perl.org, aby
30 umożliwić dostęp do list mailowych PHP i Perla z poziomu klientów
35 mv config.example config
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}}
40 install colobus-archive colobus $RPM_BUILD_ROOT%{_sbindir}
41 cp -a config $RPM_BUILD_ROOT%{_sysconfdir}
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc CREDITS INSTALL LICENSE README TODO
50 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config
51 %attr(755,root,root) %{_sbindir}/colobus
52 %attr(755,root,root) %{_sbindir}/colobus-archive