Author: arvenil                      Date: Thu Jan  3 18:24:36 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added image config for rc-boot (default PLD image)
- added patch - prefer PLD image when default is not selected
- release 6

---- Files affected:
SPECS:
   rc-boot.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/rc-boot.spec
diff -u SPECS/rc-boot.spec:1.26 SPECS/rc-boot.spec:1.27
--- SPECS/rc-boot.spec:1.26     Mon Feb 12 23:09:12 2007
+++ SPECS/rc-boot.spec  Thu Jan  3 19:24:31 2008
@@ -3,15 +3,17 @@
 Summary(pl.UTF-8):     Skrypty do zarządzania bootloaderami
 Name:          rc-boot
 Version:       1.1
-Release:       5
+Release:       6
 License:       GPL
 Group:         Base
 Source0:       %{name}-%{version}.tar.gz
 # Source0-md5: 2a6e4d604d938ab7567e419c21725d88
-Conflicts:     lilo < 22.0.2-2
-Conflicts:     grub < 0.90-2
+Source1:       PLD.image
+Patch0:                %{name}-prefer-PLD.patch
 Requires:      bootloader
 Requires:      sed
+Conflicts:     grub < 0.90-2
+Conflicts:     lilo < 22.0.2-2
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,14 +25,29 @@
 %description -l pl.UTF-8
 Skrypty do zarządzania bootloaderami.
 
+%package -n rc-boot-image-PLD
+Summary:       PLD image for rc-boot
+Summary(pl.UTF-8):     Obraz PLD dla rc-boot
+Group:         Base
+Requires:      rc-boot
+
+%description -n rc-boot-image-PLD
+PLD image for rc-boot.
+
+%description -n rc-boot-image-PLD -l pl.UTF-8
+Obraz PLD dla rc-boot.
+
 %prep
 %setup -q
+%patch0 -p1
 mv doc/Assum{tp,pt}ions # typo ;)
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/sbin,%{_sysconfdir}/images,%{_mandir}/man8}
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-boot/images/PLD
+
 install src/rc-boot    $RPM_BUILD_ROOT/sbin
 install doc/config     $RPM_BUILD_ROOT%{_sysconfdir}
 install doc/rc-boot.8  $RPM_BUILD_ROOT%{_mandir}/man8
@@ -38,6 +55,16 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%postun -n rc-boot-image-PLD
+if [ -x /sbin/rc-boot ]; then
+    /sbin/rc-boot 1>&2 || :
+fi
+
+%post -n rc-boot-image-PLD
+if [ -x /sbin/rc-boot ]; then
+    /sbin/rc-boot 1>&2 || :
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc doc/{Assumptions,Authors,BUGS,README,config,image}
@@ -47,12 +74,21 @@
 %attr(750,root,root) %dir %{_sysconfdir}/images
 %{_mandir}/man8/*
 
+%files -n rc-boot-image-PLD
+%defattr(644,root,root,755)
+%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) 
/etc/sysconfig/rc-boot/images/PLD
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2008-01-03 18:24:31  arvenil
+- added image config for rc-boot (default PLD image)
+- added patch - prefer PLD image when default is not selected
+- release 6
+
 Revision 1.26  2007-02-12 22:09:12  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rc-boot.spec?r1=1.26&r2=1.27&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to