]>
Commit | Line | Data |
---|---|---|
f7b6f658 AM |
1 | # TODO: |
2 | # - finish spec | |
04a4186a ER |
3 | # - rc-inetd / daemontools support |
4 | # - run as news uid | |
5 | %include /usr/lib/rpm/macros.perl | |
f7b6f658 | 6 | Summary: NNTP server for ezmlm mailing list archives |
5e3188af | 7 | Summary(pl.UTF-8): Serwer NNTP dla archiwów list mailowych ezmlm |
f7b6f658 | 8 | Name: colobus |
2b59702c | 9 | Version: 2.1 |
f7b6f658 AM |
10 | Release: 1 |
11 | License: MIT/X | |
12 | Group: Networking/Daemons | |
04a4186a | 13 | Source0: http://trainedmonkey.com/projects/colobus/%{name}-%{version}.tar.gz |
2b59702c | 14 | # Source0-md5: 36e83195fb4f08dba3162e9169554ee1 |
04a4186a ER |
15 | URL: http://trainedmonkey.com/projects/colobus/ |
16 | BuildRequires: rpm-perlprov >= 4.1-13 | |
f7b6f658 AM |
17 | BuildArch: noarch |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
04a4186a ER |
20 | %define _sysconfdir /etc/%{name} |
21 | ||
f7b6f658 AM |
22 | %description |
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. | |
26 | ||
c9f30b89 JR |
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 | |
a982bf8f JB |
31 | news. |
32 | ||
f7b6f658 AM |
33 | %prep |
34 | %setup -q | |
04a4186a | 35 | mv config.example config |
f7b6f658 AM |
36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
04a4186a ER |
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} | |
f7b6f658 AM |
42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
04a4186a ER |
48 | %doc CREDITS INSTALL LICENSE README TODO |
49 | %dir %{_sysconfdir} | |
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 |