Author: sparky                       Date: Fri Feb 24 19:15:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.3.14rc1
- updated URL

---- Files affected:
SPECS:
   yaboot.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/yaboot.spec
diff -u SPECS/yaboot.spec:1.24 SPECS/yaboot.spec:1.25
--- SPECS/yaboot.spec:1.24      Fri Dec  9 17:21:29 2005
+++ SPECS/yaboot.spec   Fri Feb 24 20:15:53 2006
@@ -1,20 +1,29 @@
 # $Revision$, $Date$
+#
+%bcond_with    doc     # build documentation
+#
 Summary:       Linux bootloader for Power Macintosh "New World" computers
 Summary(pl):   Bootloader dla komputerów Power Macintosh "New World"
 Name:          yaboot
-Version:       1.3.13
-Release:       2
+Version:       1.3.14
+%define        _rc     rc1
+Release:       0.%{_rc}.1
 License:       GPL
 Group:         Applications/System
-Source0:       http://penguinppc.org/projects/yaboot/%{name}-%{version}.tar.gz
-# Source0-md5: f12798d1b2063f21d07e0ae7f602ccaf
+Source0:       
http://yaboot.ozlabs.org/snapshots/%{name}-%{version}%{_rc}.tar.gz
+# Source0-md5: d3ddbe0365db7b6af6e58054f60cf98a
 Source1:       %{name}_functions.sh
 Patch0:                %{name}-man.patch
 Patch1:                %{name}-user.patch
 Patch2:                %{name}-bash.patch
 Patch3:                %{name}-crt0.patch
 Patch4:                %{name}-gcc4.patch
-URL:           http://penguinppc.org/projects/yaboot/
+URL:           http://yaboot.ozlabs.org/
+%if %{with doc}
+BuildRequires: debiandoc-sgml
+BuildRequires: opensp
+%endif
+BuildRequires: sed >= 4.0
 Requires:      bash >= 2.0
 Requires:      hfsutils >= 3.2.0
 Requires:      pmac-utils
@@ -35,15 +44,21 @@
 Open Firmware, dzięki czemu nie trzeba stosować Mac OS.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_rc}
 %patch0 -p0
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
+sed -i '/VERSION=/s/=.*/=%{version}%{_rc}/' ybin/ybin
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       VERSION="%{version}%{_rc}"
+
+%if %{with doc}
+%{__make} -C doc
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -51,7 +66,8 @@
 %{__make} install \
        ROOT=$RPM_BUILD_ROOT \
        PREFIX=/ \
-       MANDIR=%{_mandir}
+       MANDIR=%{_mandir} \
+       VERSION="%{version}%{_rc}"
 
 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-boot
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-boot
@@ -61,7 +77,10 @@
 
 %files
 %defattr(644,root,root,755)
-%doc BUGS README THANKS TODO changelog doc/README.* doc/yaboot-howto.html
+%doc BUGS README THANKS TODO changelog doc/README.* doc/examples
+%if %{with doc}
+%doc doc/yaboot-howto.html
+%endif
 %attr(644,root,root) /etc/sysconfig/rc-boot/%{name}_functions.sh
 %attr(755,root,root) /sbin/*
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/%{name}.conf
@@ -76,6 +95,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2006/02/24 19:15:53  sparky
+- updated to 1.3.14rc1
+- updated URL
+
 Revision 1.24  2005/12/09 16:21:29  sparky
 - gcc 4 patch, not stolen this time; made in piwnica (:
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/yaboot.spec?r1=1.24&r2=1.25&f=u

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

Reply via email to