]>
Commit | Line | Data |
---|---|---|
f7b6f658 AM |
1 | # TODO: |
2 | # - finish spec | |
04a4186a ER |
3 | # - rc-inetd / daemontools support |
4 | # - run as news uid | |
f7b6f658 | 5 | Summary: NNTP server for ezmlm mailing list archives |
5e3188af | 6 | Summary(pl.UTF-8): Serwer NNTP dla archiwów list mailowych ezmlm |
f7b6f658 | 7 | Name: colobus |
2b59702c | 8 | Version: 2.1 |
f7b6f658 AM |
9 | Release: 1 |
10 | License: MIT/X | |
11 | Group: Networking/Daemons | |
04a4186a | 12 | Source0: http://trainedmonkey.com/projects/colobus/%{name}-%{version}.tar.gz |
2b59702c | 13 | # Source0-md5: 36e83195fb4f08dba3162e9169554ee1 |
04a4186a ER |
14 | URL: http://trainedmonkey.com/projects/colobus/ |
15 | BuildRequires: rpm-perlprov >= 4.1-13 | |
f7b6f658 AM |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
04a4186a ER |
19 | %define _sysconfdir /etc/%{name} |
20 | ||
f7b6f658 AM |
21 | %description |
22 | colobus is an NNTP server written in Perl for ezmlm mailing list | |
23 | archives. It is used by news.php.net and nntp.perl.org to provide | |
24 | access to the PHP and Perl mailing lists via news clients. | |
25 | ||
c9f30b89 JR |
26 | %description -l pl.UTF-8 |
27 | colobus to napisany w Perlu serwer NNTP dla archiwów list mailowych | |
28 | ezmlm. Jest używany przez news.php.net oraz nntp.perl.org, aby | |
29 | umożliwić dostęp do list mailowych PHP i Perla z poziomu klientów | |
a982bf8f JB |
30 | news. |
31 | ||
f7b6f658 AM |
32 | %prep |
33 | %setup -q | |
04a4186a | 34 | mv config.example config |
f7b6f658 AM |
35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
04a4186a ER |
38 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}} |
39 | install colobus-archive colobus $RPM_BUILD_ROOT%{_sbindir} | |
40 | cp -a config $RPM_BUILD_ROOT%{_sysconfdir} | |
f7b6f658 AM |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
04a4186a ER |
47 | %doc CREDITS INSTALL LICENSE README TODO |
48 | %dir %{_sysconfdir} | |
49 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config | |
50 | %attr(755,root,root) %{_sbindir}/colobus | |
51 | %attr(755,root,root) %{_sbindir}/colobus-archive |