From fedora-docs-commits at redhat.com Wed Jun 10 15:29:08 2015 Content-Type: multipart/mixed; boundary="===============8880610698877968920==" MIME-Version: 1.0 From: fedora-docs-commits at redhat.com To: docs-commits at lists.fedoraproject.org Subject: docs-common/packaging bookinfo.xsl, NONE, 1.1 desktop.xsl, NONE, 1.1 omf.xsl, NONE, 1.1 rpm-info.dtd, NONE, 1.1 spec.xsl, NONE, 1.1 Date: Fri, 25 Nov 2005 15:53:00 -0500 Message-ID: <200511252053.jAPKr0oe029679@cvs-int.fedora.redhat.com> --===============8880610698877968920== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: jtr Update of /cvs/docs/docs-common/packaging In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29637/docs-common/packa= ging Added Files: bookinfo.xsl desktop.xsl omf.xsl rpm-info.dtd spec.xsl = Log Message: Candidate solution to keeping all the various RPM packaging files (the RPM spec file, the OMF file, the ".desktop" and the package's (or ) consistent by using a DTD-controlled metafile from which everything else is derived. --- NEW FILE bookinfo.xsl --- <xsl:call-template name=3D"get-title"/> Translator &LEGALNOTICE; --- NEW FILE desktop.xsl --- [Desktop Entry] Encoding=3DUTF-8 Categories=3DX-Fedora-Documentation GenericName=3D Name=3D Exec=3Dgnome-help file://usr/share/doc/fedora-doc-/en/-en.xml Name[]=3D Comment[]=3D Exec[]=3Dgnome-help file://usr/share/doc/fe= dora-doc-//-.xml --- NEW FILE omf.xsl --- fedora-docs-list(a)redhat.com (Fedora Documentation Project) fedora-docs-list(a)redhat.com (Fedora Documentation Project) <xsl:call-template name=3D"get-title"/> --- NEW FILE rpm-info.dtd --- --- NEW FILE spec.xsl --- # Fedora Documentation Specfile %define docbase %define release # Summary: Fedora Documentation: %{docbase} Name: fedora-doc-%{docbase} Version: Release: License: Url: http://fedora.redhat.com/projects/docs Source0: %{docbase}-%{version}.src.tar.gz Source1: %{name}.desktop Source: %{name}-.omf Group: Documentation BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: scrollkeeper >=3D 0.3.11 Requires: fedora-doc-common BuildRequires: xmlto %description %description %prep %setup -q -n %{docbase}-${version} for in in $RPM_BUILD_DIR/%{docbase}-%{version}/%{docbase}*.xml do %{__sed} -i 's;../docs-common;../../docs-common;' "$i" done %build # /bin/rm -r $RPM_BUILD_ROOT # /usr/bin/install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}/omf/%{name} %clean /bin/rm -rf $RPM_BUILD_ROOT %post /usr/bin/scrollkeeper-update || true %postun /usr/bin/scrollkeeper-update || true %files %defattr(-, root, root, -) --===============8880610698877968920==--