]> git.pld-linux.org Git - SPECS.git/blob - colobus.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / colobus.spec
1 # TODO:
2 # - finish spec
3 # - rc-inetd / daemontools support
4 # - run as news uid
5 Summary:        NNTP server for ezmlm mailing list archives
6 Summary(pl.UTF-8):      Serwer NNTP dla archiwów list mailowych ezmlm
7 Name:           colobus
8 Version:        2.1
9 Release:        1
10 License:        MIT/X
11 Group:          Networking/Daemons
12 Source0:        http://trainedmonkey.com/projects/colobus/%{name}-%{version}.tar.gz
13 # Source0-md5:  36e83195fb4f08dba3162e9169554ee1
14 URL:            http://trainedmonkey.com/projects/colobus/
15 BuildRequires:  rpm-perlprov >= 4.1-13
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _sysconfdir             /etc/%{name}
20
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
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
30 news.
31
32 %prep
33 %setup -q
34 mv config.example config
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
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}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
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
This page took 0.200548 seconds and 3 git commands to generate.