Author: pfrields
Update of /cvs/docs/release-notes/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2244
Modified Files: fedora-release-notes.spec about-gnome.desktop about-kde.desktop about-fedora.omf Log Message: More packaging, hopefully ready for f13 review
Index: fedora-release-notes.spec =================================================================== RCS file: /cvs/docs/release-notes/devel/fedora-release-notes.spec,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- fedora-release-notes.spec 27 Jun 2006 21:54:34 -0000 1.1 +++ fedora-release-notes.spec 16 Jul 2006 21:10:09 -0000 1.2 @@ -1,42 +1,78 @@ Name: fedora-release-notes -Version: -Release: 1%{?dist} -Summary: - -Group: -License: -URL: -Source0: +Version: 5.91 +Release: 1 +Summary: Release Notes for Fedora Core %{version} + +Group: System Environment/Base +License: Distributable +Source0: fedora-release-notes-%{version}.tar.gz +Source1: indexhtml-head +Source2: indexhtml-foot BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: -Requires: - -%description - +BuildArchitectures: noarch +BuildRequires: desktop-file-utils +Requires: fedora-release = %{version} +Provides: indexhtml +Obsoletes: indexhtml + +%description +These are the official Release Notes for Fedora Core %{version}, +written and edited by the Fedora community. For more +information on the Release Notes process or how you can +contribute, refer to the Release Notes HOWTO located at +http://fedoraproject.org/wiki/Docs/Beats/HowTo.
%prep %setup -q
%build -%configure -make %{?_smp_mflags} +cat %{SOURCE1} > index.html +sed 's/.*<div class="article"/<div class="article"/g' \ + RELEASE-NOTES-en_US.html >> index.html +cat %{SOURCE2} >> index.html +sed 's/@RELEASE@/%{version}/g' about-gnome.desktop +sed 's/@DATE@/%(date +"%%Y-%%m-%%d")/g;s/@RELEASE@/%{version}/g' about-fedora.omf
%install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +install -m 644 -D index.html $RPM_BUILD_ROOT%{_defaultdocdir}/HTML/index.html +install -m 644 -D fedora.css $RPM_BUILD_ROOT%{_defaultdocdir}/HTML/fedora.css +for DIR in css img stylesheet-images ; do + install -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/HTML/$DIR + find $DIR -type f -exec install -m 644 {} $RPM_BUILD_ROOT%{_defaultdocdir}/HTML/$DIR ; +done +find about/ -type f -exec install -m 644 -D {} $RPM_BUILD_ROOT%{_defaultdocdir}/fedora-release-%{version}/{} ; +install -m 644 -D about-fedora.omf $RPM_BUILD_ROOT%{_datadir}/omf/fedora-release-notes/about-fedora.omf +install -m 644 -D about-gnome.desktop $RPM_BUILD_ROOT%{_datadir}/applications/about-fedora.desktop
%clean rm -rf $RPM_BUILD_ROOT
+%post +[ -x /usr/bin/scrollkeeper-update ] && /usr/bin/scrollkeeper-update +[ -x /usr/bin/update-desktop-database ] && /usr/bin/update-desktop-database +exit 0 + +%postun +[ -x /usr/bin/scrollkeeper-update ] && /usr/bin/scrollkeeper-update +[ -x /usr/bin/update-desktop-database ] && /usr/bin/update-desktop-database +exit 0 + + %files %defattr(-,root,root,-) -%doc - +%{_defaultdocdir}/HTML +%{_defaultdocdir}/fedora-release-%{version}/about +%{_datadir}/applications/about-fedora.desktop +%{_datadir}/omf/fedora-release-notes/about-fedora.omf
%changelog +* Sun Jul 16 2006 Paul W. Frields stickster@gmail.com - 5.91-1 +- Initial release for Fedora Core 6 test2. +
Index: about-gnome.desktop =================================================================== RCS file: /cvs/docs/release-notes/devel/about-gnome.desktop,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- about-gnome.desktop 27 Jun 2006 21:54:34 -0000 1.1 +++ about-gnome.desktop 16 Jul 2006 21:10:09 -0000 1.2 @@ -2,7 +2,7 @@ Encoding=UTF-8 Name=About Fedora Comment=Learn more about Fedora -Exec=yelp file:///usr/share/doc/fedora-release-5/about/C/about-fedora.xml +Exec=yelp file:///usr/share/doc/fedora-release-@RELEASE@/about/C/about-fedora.xml Icon=fedora-logo-icon Terminal=false Type=Application
Index: about-kde.desktop =================================================================== RCS file: /cvs/docs/release-notes/devel/about-kde.desktop,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- about-kde.desktop 27 Jun 2006 21:54:34 -0000 1.1 +++ about-kde.desktop 16 Jul 2006 21:10:09 -0000 1.2 @@ -1,7 +1,8 @@ [Desktop Entry] +Version=1.0 Encoding=UTF-8 -GenericName=About Fedora Name=About Fedora +GenericName=About Fedora Comment=Learn more about Fedora Exec=khelpcenter Icon= @@ -12,3 +13,4 @@ Categories=Qt;KDE;Application;Core; X-KDE-StartupNotify=true OnlyShowIn=KDE; +GenericName[en_US]=About Fedora
Index: about-fedora.omf =================================================================== RCS file: /cvs/docs/release-notes/devel/about-fedora.omf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- about-fedora.omf 27 Jun 2006 21:54:34 -0000 1.1 +++ about-fedora.omf 16 Jul 2006 21:10:09 -0000 1.2 @@ -16,7 +16,7 @@ <date> 2006-02-14 </date> - <version identifier="5.89" date="2006-02-14" description="Fedora Core 5.89"/> + <version identifier="5.91" date="@DATE@" description="Fedora Core @RELEASE@"/> <subject category="General|Linux|Distributions|Other"/> <description> Describes Fedora Core, the Fedora Project, and how you can help. @@ -25,7 +25,7 @@ About </type> <format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.4//EN"/> - <identifier url="file:///usr/share/doc/fedora-release-5.89/about/C/about-fedora.xml"/> + <identifier url="file:///usr/share/doc/fedora-release-@RELEASE@/about/C/about-fedora.xml"/> <language code="C"/> <relation seriesid="7a5d3ea2-2a1e-11da-86a3-8ea47a4bb227"/> <rights type="OPL" license="http://opencontent.org/openpub/" license.version="1.0"/>
docs-commits@lists.fedoraproject.org