SPECS: openct.spec, cryptsetup-luks.spec, opensc.spec, dmraid.spec, lvm2.sp...

baggins baggins at pld-linux.org
Thu Feb 26 16:12:52 CET 2009


Author: baggins                      Date: Thu Feb 26 15:12:52 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added initramfs subpackage (NEED TESTERS)

---- Files affected:
SPECS:
   openct.spec (1.50 -> 1.51) , cryptsetup-luks.spec (1.34 -> 1.35) , opensc.spec (1.58 -> 1.59) , dmraid.spec (1.39 -> 1.40) , lvm2.spec (1.120 -> 1.121) , mdadm.spec (1.82 -> 1.83) , multipath-tools.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: SPECS/openct.spec
diff -u SPECS/openct.spec:1.50 SPECS/openct.spec:1.51
--- SPECS/openct.spec:1.50	Thu Feb 26 15:32:57 2009
+++ SPECS/openct.spec	Thu Feb 26 16:12:45 2009
@@ -115,6 +115,19 @@
 %description static -l pl.UTF-8
 Statyczne biblioteki OpenCT.
 
+%package initramfs
+Summary:	OpenCT support scripts for initramfs-tools
+Summary(pl.UTF-8):	Skrypty dla initramfs-tools ze wsparciem dla OpenCT
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+Requires:	initramfs-tools
+
+%description initramfs
+OpenCT support scripts for initramfs-tools.
+
+%description initramfs -l pl.UTF-8
+Skrypty dla initramfs-tools ze wsparciem dla OpenCT.
+
 %prep
 %setup -q
 
@@ -141,7 +154,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/var/run/openct,/etc/{rc.d/init.d,udev/rules.d},/usr/share/hal/fdi/information/10freedesktop}
+install -d $RPM_BUILD_ROOT{/var/run/openct,/etc/{rc.d/init.d,udev/rules.d},/usr/share/hal/fdi/information/10freedesktop} \
+	$RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -153,6 +167,8 @@
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/openct
 
+install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/openct
+
 rm -f $RPM_BUILD_ROOT%{_libdir}/openct-*.{a,la}
 
 %clean
@@ -239,12 +255,19 @@
 %{_libdir}/libopenct.a
 %{_libdir}/libopenctapi.a
 
+%files initramfs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/openct
+
 %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.51  2009/02/26 15:12:45  baggins
+- added initramfs subpackage (NEED TESTERS)
+
 Revision 1.50  2009/02/26 14:32:57  baggins
 - added initramfs support files to package
 

================================================================
Index: SPECS/cryptsetup-luks.spec
diff -u SPECS/cryptsetup-luks.spec:1.34 SPECS/cryptsetup-luks.spec:1.35
--- SPECS/cryptsetup-luks.spec:1.34	Thu Feb 26 15:46:19 2009
+++ SPECS/cryptsetup-luks.spec	Thu Feb 26 16:12:45 2009
@@ -109,11 +109,28 @@
 This package contains implementation of LUKS for dm-crypt implemented
 in cryptsetup - staticaly linked for initrd.
 
+%package initramfs
+Summary:	LUKS for dm-crypt implemented in cryptsetup - support scripts for initramfs-tools
+Summary(pl.UTF-8):	LUKS dla dm-crypta zaimplementowany w cryptsetup - skrypty dla initramfs-tools
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+Requires:	initramfs-tools
+
+%description initramfs
+LUKS for dm-crypt implemented in cryptsetup - support scripts
+for initramfs-tools.
+
+%description initramfs -l pl.UTF-8
+LUKS dla dm-crypta zaimplementowany w cryptsetup - skrypty dla
+initramfs-tools.
+
 %prep
 %setup -q -n %{realname}-%{version}
 %patch1 -p1
 %patch2 -p1
 
+install %{SOURCE5} README.initramfs
+
 %build
 %{__gettextize}
 %{__libtoolize}
@@ -139,6 +156,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/{conf-hooks.d,hooks,scripts/local-top}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -152,6 +170,11 @@
 install cryptsetup-initrd $RPM_BUILD_ROOT%{_sbindir}
 %endif
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/conf-hooks.d/cryptsetup
+install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/cryptroot
+install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-top/cryptroot
+install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/cryptpassdev
+
 %find_lang %{realname}
 
 %clean
@@ -184,12 +207,23 @@
 %attr(755,root,root) %{_sbindir}/cryptsetup-initrd
 %endif
 
+%files initramfs
+%defattr(644,root,root,755)
+%doc README.initramfs
+%attr(755,root,root) %{_datadir}/initramfs-tools/conf-hooks.d/cryptsetup
+%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/cryptroot
+%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/cryptpassdev
+%attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-top/cryptroot
+
 %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.35  2009/02/26 15:12:45  baggins
+- added initramfs subpackage (NEED TESTERS)
+
 Revision 1.34  2009/02/26 14:46:19  baggins
 - ordered sources
 

================================================================
Index: SPECS/opensc.spec
diff -u SPECS/opensc.spec:1.58 SPECS/opensc.spec:1.59
--- SPECS/opensc.spec:1.58	Thu Feb 26 15:32:57 2009
+++ SPECS/opensc.spec	Thu Feb 26 16:12:45 2009
@@ -100,9 +100,24 @@
 
 Obsługiwane przeglądarki: %{browsers}.
 
+%package initramfs
+Summary:	OpenSC support scripts for initramfs-tools
+Summary(pl.UTF-8):	Skrypty dla initramfs-tools ze wsparciem dla OpenSC
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+Requires:	initramfs-tools
+
+%description initramfs
+OpenSC support scripts for initramfs-tools.
+
+%description initramfs -l pl.UTF-8
+Skrypty dla initramfs-tools ze wsparciem dla OpenSC.
+
 %prep
 %setup -q
 
+install %{SOURCE4} README.initramfs
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
@@ -121,7 +136,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_browserpluginsdir}
+install -d $RPM_BUILD_ROOT%{_browserpluginsdir} \
+	$RPM_BUILD_ROOT%{_datadir}initramfs-tools/{hooks,scripts/local-{bottom,top}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -133,6 +149,10 @@
 # default config
 install etc/opensc.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}initramfs-tools/hooks/opensc
+install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}initramfs-tools/scripts/local-bottom/opensc
+install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}initramfs-tools/scripts/local-top/opensc
+
 # useless (dlopened by *.so)
 rm -f $RPM_BUILD_ROOT%{_libdir}/{onepin-opensc,opensc,pkcs11}-*.{a,la} \
 	$RPM_BUILD_ROOT%{_libdir}/opensc/*.{a,la}
@@ -217,12 +237,22 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_browserpluginsdir}/opensc-signer.so
 
+%files initramfs
+%defattr(644,root,root,755)
+%doc README.initramfs
+%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/opensc
+%attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-top/opensc
+%attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-bottom/opensc
+
 %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.59  2009/02/26 15:12:45  baggins
+- added initramfs subpackage (NEED TESTERS)
+
 Revision 1.58  2009/02/26 14:32:57  baggins
 - added initramfs support files to package
 

================================================================
Index: SPECS/dmraid.spec
diff -u SPECS/dmraid.spec:1.39 SPECS/dmraid.spec:1.40
--- SPECS/dmraid.spec:1.39	Thu Feb 26 15:32:57 2009
+++ SPECS/dmraid.spec	Thu Feb 26 16:12:45 2009
@@ -83,6 +83,19 @@
 %description initrd -l pl.UTF-8
 Statycznie skonsolidowana wersja programu narzędziowego dmraid.
 
+%package initramfs
+Summary:	Device-mapper RAID tool - support scripts for initramfs-tools
+Summary(pl.UTF-8):	Narzędzie do RAID-u opartego o device-mapper - skrypty dla initramfs-tools
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+Requires:	initramfs-tools
+
+%description initramfs
+Device-mapper RAID tool - support scripts for initramfs-tools.
+
+%description initramfs -l pl.UTF-8
+Narzędzie do RAID-u opartego o device-mapper - skrypty dla initramfs-tools.
+
 %prep
 %setup -q -n %{name}
 mv */* ./
@@ -110,6 +123,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/{hooks,scripts/local-top}
 
 %{__make} install \
 	includedir=$RPM_BUILD_ROOT%{_includedir} \
@@ -121,6 +135,9 @@
 install -D tools/dmraid-initrd $RPM_BUILD_ROOT/sbin/dmraid-initrd
 %endif
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/dmraid
+install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-top/dmraid
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -149,12 +166,20 @@
 %attr(755,root,root) /sbin/dmraid-initrd
 %endif
 
+%files initramfs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/dmraid
+%attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-top/dmraid
+
 %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.40  2009/02/26 15:12:45  baggins
+- added initramfs subpackage (NEED TESTERS)
+
 Revision 1.39  2009/02/26 14:32:57  baggins
 - added initramfs support files to package
 

================================================================
Index: SPECS/lvm2.spec
diff -u SPECS/lvm2.spec:1.120 SPECS/lvm2.spec:1.121
--- SPECS/lvm2.spec:1.120	Thu Feb 26 15:32:57 2009
+++ SPECS/lvm2.spec	Thu Feb 26 16:12:45 2009
@@ -138,6 +138,21 @@
 %description -n device-mapper-static -l pl.UTF-8
 Statyczna biblioteka devmapper.
 
+%package initramfs
+Summary:	The new version of Logical Volume Manager for Linux - support scripts for initramfs-tools
+Summary(pl.UTF-8):	Nowa wersja Logical Volume Managera dla Linuksa - skrypty dla initramfs-tools
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+Requires:	initramfs-tools
+
+%description initramfs
+The new version of Logical Volume Manager for Linux - support
+scripts for initramfs-tools.
+
+%description initramfs -l pl.UTF-8
+Nowa wersja Logical Volume Managera dla Linuksa - skrypty dla
+initramfs-tools.
+
 %prep
 %setup -q -n LVM2.%{version}
 %{?with_selinux:%patch0 -p1}
@@ -189,7 +204,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/%{_lib},%{_sysconfdir}/lvm}
+install -d $RPM_BUILD_ROOT{/%{_lib},%{_sysconfdir}/lvm} \
+	$RPM_BUILD_ROOT%{_datadir}/initramfs-tools/{hooks,scripts/local-top}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
@@ -207,6 +223,9 @@
 
 %{?with_initrd:install initrd-lvm $RPM_BUILD_ROOT%{_sbindir}/initrd-lvm}
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/lvm2
+install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-top/lvm2
+
 install libdm/ioctl/libdevmapper.a $RPM_BUILD_ROOT%{_libdir}
 
 %clean
@@ -255,12 +274,20 @@
 %attr(755,root,root) %{_sbindir}/initrd-lvm
 %endif
 
+%files initramfs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/lvm2
+%attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-top/lvm2
+
 %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.121  2009/02/26 15:12:45  baggins
+- added initramfs subpackage (NEED TESTERS)
+
 Revision 1.120  2009/02/26 14:32:57  baggins
 - added initramfs support files to package
 

================================================================
Index: SPECS/mdadm.spec
diff -u SPECS/mdadm.spec:1.82 SPECS/mdadm.spec:1.83
--- SPECS/mdadm.spec:1.82	Thu Feb 26 15:32:57 2009
+++ SPECS/mdadm.spec	Thu Feb 26 16:12:45 2009
@@ -62,6 +62,19 @@
 Narzędzie do zarządzania programowymi macierzami RAID - statycznie
 skonsolidowane na potrzeby initrd.
 
+%package initramfs
+Summary:	Tool for maintaining software RAID devices - support scripts for initramfs-tools
+Summary(pl.UTF-8):	Narzędzie do obsługi programowych macierzy RAID - skrypty dla initramfs-tools
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+Requires:	initramfs-tools
+
+%description initramfs
+Tool for maintaining software RAID devices - support scripts for initramfs-tools.
+
+%description initramfs -l pl.UTF-8
+Narzędzie do obsługi programowych macierzy RAID - skrypty dla initramfs-tools.
+
 %prep
 %setup -q
 # needs check if still needed - testcase is simple:
@@ -106,7 +119,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},/etc/{rc.d/init.d,sysconfig,cron.d}}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},/etc/{rc.d/init.d,sysconfig,cron.d}} \
+	$RPM_BUILD_ROOT%{_datadir}/initramfs-tools/{hooks,scripts/local-top}
 
 %if %{with initrd}
 install initrd-mdadm $RPM_BUILD_ROOT%{_sbindir}
@@ -129,6 +143,9 @@
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/mdadm-checkarray
 install %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}/mdadm-checkarray
 
+install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/mdadm
+install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-top/mdadm
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -160,12 +177,20 @@
 %attr(755,root,root) %{_sbindir}/initrd-*
 %endif
 
+%files initramfs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/mdadm
+%attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-top/mdadm
+
 %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.83  2009/02/26 15:12:45  baggins
+- added initramfs subpackage (NEED TESTERS)
+
 Revision 1.82  2009/02/26 14:32:57  baggins
 - added initramfs support files to package
 

================================================================
Index: SPECS/multipath-tools.spec
diff -u SPECS/multipath-tools.spec:1.55 SPECS/multipath-tools.spec:1.56
--- SPECS/multipath-tools.spec:1.55	Thu Feb 26 15:32:57 2009
+++ SPECS/multipath-tools.spec	Thu Feb 26 16:12:45 2009
@@ -84,6 +84,21 @@
 kpartx odwzorowuje liniowe mapy urządzeń na partycje urządzeń, co
 umożliwia tworzenie partycji na odwzorowaniach wielotrasowych.
 
+%package initramfs
+Summary:	Tools to manage multipathed devices with the device-mapper - support scripts for initramfs-tools
+Summary(pl.UTF-8):	Wielotrasowy dostęp do zasobów przy użyciu device-mappera - skrypty dla initramfs-tools
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+Requires:	initramfs-tools
+
+%description initramfs
+Tools to manage multipathed devices with the device-mapper - support
+scripts for initramfs-tools.
+
+%description initramfs -l pl.UTF-8
+Wielotrasowy dostęp do zasobów przy użyciu device-mappera - skrypty
+dla initramfs-tools.
+
 %prep
 %setup -q
 %patch100 -p1
@@ -110,6 +125,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/{hooks,scripts/local-top}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -121,6 +137,9 @@
 mv $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/{,40-}multipath.rules
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/block/multipath.dev
 
+install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/multipath
+install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-top/multipath
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -159,12 +178,20 @@
 %{_sysconfdir}/udev/rules.d/kpartx.rules
 %{_mandir}/man8/kpartx.8*
 
+%files initramfs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/multipath
+%attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-top/multipath
+
 %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.56  2009/02/26 15:12:45  baggins
+- added initramfs subpackage (NEED TESTERS)
+
 Revision 1.55  2009/02/26 14:32:57  baggins
 - added initramfs support files to package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openct.spec?r1=1.50&r2=1.51&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cryptsetup-luks.spec?r1=1.34&r2=1.35&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/opensc.spec?r1=1.58&r2=1.59&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dmraid.spec?r1=1.39&r2=1.40&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lvm2.spec?r1=1.120&r2=1.121&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mdadm.spec?r1=1.82&r2=1.83&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/multipath-tools.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list