packages: runit/runit.spec - scripts subpackage (I hope, this is a good ide...

uzsolt uzsolt at pld-linux.org
Thu Feb 11 23:19:14 CET 2010


Author: uzsolt                       Date: Thu Feb 11 22:19:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- scripts subpackage (I hope, this is a good idea)
- question about Source[1-3]

---- Files affected:
packages/runit:
   runit.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/runit/runit.spec
diff -u packages/runit/runit.spec:1.6 packages/runit/runit.spec:1.7
--- packages/runit/runit.spec:1.6	Mon Feb  8 18:34:27 2010
+++ packages/runit/runit.spec	Thu Feb 11 23:19:09 2010
@@ -9,10 +9,12 @@
 Source0:	http://smarden.org/runit/%{name}-%{version}.tar.gz
 # Source0-md5:	8fa53ea8f71d88da9503f62793336bc3
 Patch0:		%{name}-nostatic.patch
+# Are Source[1-4] needed?
 Source1:	http://fisheye1.cenqua.com/browse/~raw,r=1.1/smeserver/runit/S/%{name}.svup
 Source2:	http://fisheye1.cenqua.com/browse/~raw,r=1.1/smeserver/runit/S/%{name}.svdown
 Source3:	http://fisheye1.cenqua.com/browse/~raw,r=1.1/smeserver/runit/S/%{name}.svdepcalc
 Source4:	http://fisheye1.cenqua.com/browse/~raw,r=1.1/smeserver/runit/S/%{name}.dependencies.README
+Source10:	%{name}-stage-1
 URL:		http://smarden.org/runit/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -30,14 +32,22 @@
 
 %description -l pl.UTF-8
 runit to podobny do daemontools zamiennik demona SysVinit i innych
-rodzajów procesu init. Działa na systemach GNU/Linux, OpenBSD
-i FreeBSD, może być łatwo zaadaptowany do innych systemów uniksowych.
+rodzajów procesu init. Działa na systemach GNU/Linux, OpenBSD i
+FreeBSD, może być łatwo zaadaptowany do innych systemów uniksowych.
 
 Uwaga: podmiana pakietu SysVinit lub innego inita może spowodować, że
 system nie będzie mógł się uruchomić. Należy się upewnić, że jest
 możliwość odtworzenia i naprawy systemu, na przykład z poziomu
 bootloadera przez przekazanie do jądra init=/bin/sh.
 
+%package scripts
+Summary:	Scripts for runit
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+
+%description scripts
+Scripts for runit.
+
 %prep
 %setup -qc
 mv admin/%{name}-%{version}/* .
@@ -62,6 +72,9 @@
 install -d $RPM_BUILD_ROOT%{_mandir}/man8
 install man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
 
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/runit
+install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/runit/1
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -71,12 +84,21 @@
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man8/*
 
+%files scripts
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/runit
+%{_sysconfdir}/runit/1
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/02/11 22:19:09  uzsolt
+- scripts subpackage (I hope, this is a good idea)
+- question about Source[1-3]
+
 Revision 1.6  2010/02/08 17:34:27  uzsolt
 - 2.1.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/runit/runit.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list