SPECS: colobus.spec - something, but still nothing
glen
glen at pld-linux.org
Wed Oct 1 14:07:27 CEST 2008
Author: glen Date: Wed Oct 1 12:07:27 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- something, but still nothing
---- Files affected:
SPECS:
colobus.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/colobus.spec
diff -u SPECS/colobus.spec:1.9 SPECS/colobus.spec:1.10
--- SPECS/colobus.spec:1.9 Mon Feb 12 22:23:51 2007
+++ SPECS/colobus.spec Wed Oct 1 14:07:21 2008
@@ -1,7 +1,9 @@
# $Revision$, $Date$
# TODO:
# - finish spec
-# - rc-inetd support
+# - rc-inetd / daemontools support
+# - run as news uid
+%include /usr/lib/rpm/macros.perl
Summary: NNTP server for ezmlm mailing list archives
Summary(pl.UTF-8): Serwer NNTP dla archiwów list mailowych ezmlm
Name: colobus
@@ -9,12 +11,15 @@
Release: 1
License: MIT/X
Group: Networking/Daemons
-Source0: http://trainedmonkey.com/colobus/%{name}-%{version}.tar.gz
+Source0: http://trainedmonkey.com/projects/colobus/%{name}-%{version}.tar.gz
# Source0-md5: 36e83195fb4f08dba3162e9169554ee1
-URL: http://trainedmonkey.com/colobus/
+URL: http://trainedmonkey.com/projects/colobus/
+BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sysconfdir /etc/%{name}
+
%description
colobus is an NNTP server written in Perl for ezmlm mailing list
archives. It is used by news.php.net and nntp.perl.org to provide
@@ -28,15 +33,24 @@
%prep
%setup -q
+mv config.example config
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}}
+install colobus-archive colobus $RPM_BUILD_ROOT%{_sbindir}
+cp -a config $RPM_BUILD_ROOT%{_sysconfdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc CREDITS INSTALL LICENSE README TODO
+%dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config
+%attr(755,root,root) %{_sbindir}/colobus
+%attr(755,root,root) %{_sbindir}/colobus-archive
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -44,6 +58,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2008/10/01 12:07:21 glen
+- something, but still nothing
+
Revision 1.9 2007/02/12 21:23:51 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/colobus.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list