From d872fd17afbeb1b729f6ec8b417d40cad044f34b Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Jul 24 2006 00:06:33 +0000 Subject: auto-import fedora-release-notes-5.91-3 on branch devel from fedora-release-notes-5.91-3.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..9de5d15 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +fedora-release-notes-5.91.tar.gz diff --git a/fedora-release-notes.spec b/fedora-release-notes.spec new file mode 100644 index 0000000..d6fa319 --- /dev/null +++ b/fedora-release-notes.spec @@ -0,0 +1,83 @@ +Name: fedora-release-notes +Version: 5.91 +Release: 3 +Summary: Release Notes for Fedora Core %{version} +URL: http://fedoraproject.org/wiki/Docs/Beats + +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) + +BuildArch: noarch +BuildRequires: desktop-file-utils +Provides: indexhtml = %{version}-%{release} +Obsoletes: indexhtml < 9-3 + +%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 +cat %{SOURCE1} > index.html +sed 's/.*
> 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 +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 +if [ -x /usr/bin/scrollkeeper-update ]; then scrollkeeper-update -q -o %{_datadir}/omf/%{name}; fi +if [ -x /usr/bin/update-desktop-database ]; then update-desktop-database &> /dev/null; fi + +%postun +if [ -x /usr/bin/scrollkeeper-update ]; then scrollkeeper-update -q; fi +if [ -x /usr/bin/update-desktop-database ]; then update-desktop-database &> /dev/null; fi + + +%files +%defattr(-,root,root,-) +%{_defaultdocdir}/HTML +%{_defaultdocdir}/fedora-release-%{version}/about +%{_datadir}/applications/about-fedora.desktop +%{_datadir}/omf/fedora-release-notes/about-fedora.omf + + +%changelog +* Sun Jul 23 2006 Jesse Keating - 5.91-3 +- Only use tabs +- Version the indexhtml provides/obsoletes +- Cleanup post and postun scriptlets +- Don't require fedora-release, fedora-release requires us. +- Add a URL tag + +* Sun Jul 16 2006 Paul W. Frields - 5.91-1%{?dist} +- Initial release for Fedora Core 6 test2. + diff --git a/sources b/sources index e69de29..5e50687 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3f2238bbd51dc3d6d552ab77b59be376 fedora-release-notes-5.91.tar.gz