From d9c44ea9b98223cca9753801102eb47658ef2273 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 2 Nov 2021 06:19:36 -0400 Subject: [PATCH] import xhtml2fo-style-xsl-20051222-24.el9 --- .gitignore | 1 + .xhtml2fo-style-xsl.metadata | 1 + SOURCES/AntennaHouse-COPYRIGHT | 16 ++++ SPECS/xhtml2fo-style-xsl.spec | 139 +++++++++++++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 .gitignore create mode 100644 .xhtml2fo-style-xsl.metadata create mode 100644 SOURCES/AntennaHouse-COPYRIGHT create mode 100644 SPECS/xhtml2fo-style-xsl.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..713ef5f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sample-xsl-xhtml2fo.zip diff --git a/.xhtml2fo-style-xsl.metadata b/.xhtml2fo-style-xsl.metadata new file mode 100644 index 0000000..6c0d694 --- /dev/null +++ b/.xhtml2fo-style-xsl.metadata @@ -0,0 +1 @@ +b3d33becbd046d0672a2a91c1137eca6f5004f35 SOURCES/sample-xsl-xhtml2fo.zip diff --git a/SOURCES/AntennaHouse-COPYRIGHT b/SOURCES/AntennaHouse-COPYRIGHT new file mode 100644 index 0000000..db4cf6b --- /dev/null +++ b/SOURCES/AntennaHouse-COPYRIGHT @@ -0,0 +1,16 @@ + +From: Kobayashi +To: ismael@olea.org +Cc: hiraide@antenna.co.jp, mike@antennahouse.net +Subject: Re: FW: About licensing your xhtml2fo samples +Date: Wed, 15 Dec 2004 10:25:48 +0900 (02:25 CET) + +Hello, + +I have attached the updated sample-xsl-xhtml2fo-200201.zip. +The new Stylesheets contains copyright notice, you may distribute +it with the copyright notice portion. + +Best regards, + +Tokushige Kobayashi \ No newline at end of file diff --git a/SPECS/xhtml2fo-style-xsl.spec b/SPECS/xhtml2fo-style-xsl.spec new file mode 100644 index 0000000..db22531 --- /dev/null +++ b/SPECS/xhtml2fo-style-xsl.spec @@ -0,0 +1,139 @@ +Name: xhtml2fo-style-xsl +Version: 20051222 +Release: 24%{?dist} + +Summary: Antenna House, Inc. XHTML to XSL:FO stylesheets +License: Copyright only +URL: http://www.antennahouse.com/XSLsample/XSLsample.htm + +Requires: xhtml1-dtds +Requires: xml-common >= 0.6.3-8 +#Requires(post): libxml2 +#Requires(postun): libxml2 + +BuildArch: noarch +Source0: http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo.zip +Source1: AntennaHouse-COPYRIGHT + +%description +These XSL stylesheets allow you to transform any XHTML document to FO. +With a XSL:FO processor you could create PDF versions of XHTML documents. + + +%prep +%setup -c -q -n %{name}-%{version} +%__cp %{SOURCE1} . +%build + + +%install +%__rm -Rf $RPM_BUILD_ROOT +%__mkdir -p $RPM_BUILD_ROOT +DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/xhtml1/xhtml2fo-stylesheets +%__mkdir -p $DESTDIR +%__cp *xsl $DESTDIR/ + +%files +%doc AntennaHouse-COPYRIGHT +/usr/share/sgml/xhtml1/xhtml2fo-stylesheets + + +%post +CATALOG=%{_sysconfdir}/xml/catalog +%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \ + "http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl" \ + "file:///usr/share/sgml/xhtml1/xhtml2fo-stylesheets/xhtml2fo.xsl" $CATALOG +%{_bindir}/xmlcatalog --noout --add "rewriteURI" \ + "http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl" \ + "file:///usr/share/sgml/xhtml1/xhtml2fo-stylesheets/xhtml2fo.xsl" $CATALOG + +%postun +# remove entries only on removal of package +if [ "$1" = 0 ]; then + CATALOG=%{_sysconfdir}/xml/catalog + %{_bindir}/xmlcatalog --noout --del \ + "file://%{_datadir}/sgml/xhtml1/xhtml2fo-stylesheets/xhtml2fo.xsl" $CATALOG +fi + + +%changelog +* Tue Aug 10 2021 Mohan Boddu - 20051222-24 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 20051222-23 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Thu Jan 28 2021 Fedora Release Engineering - 20051222-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 20051222-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 20051222-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 20051222-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 20051222-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 20051222-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Igor Gnatenko - 20051222-16 +- Escape macros in %%changelog + +* Thu Jul 27 2017 Fedora Release Engineering - 20051222-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 20051222-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 04 2017 Ondrej Vasik - 20051222-13 +- do not use Requires(pre) (#1319170) +- fix the setup macro (#1285744) +- drop unnecessary parts in the spec + +* Fri Feb 05 2016 Fedora Release Engineering - 20051222-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 20051222-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 20051222-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 20051222-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Feb 15 2013 Fedora Release Engineering - 20051222-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jul 22 2012 Fedora Release Engineering - 20051222-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 20051222-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 20051222-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jul 27 2009 Fedora Release Engineering - 20051222-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 20051222-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + + +* Sun Oct 12 2008 Ismael Olea 20051222-2 +- adding the %%{?dist} macro to the spec + +* Thu Jan 17 2008 Ismael Olea 20051222-1 +- updating to last version of sample-xsl-xhtml2fo.zip +- fixing spec for contributing to Fedora and rpmlinting with 0.82 + +* Mon Jan 10 2005 Ismael Olea 20050106-1 +- First version (based on docbook-xsl-stylesheets.spec by Tim Waugh. +