2008-09-28 12:03:25 +00:00
|
|
|
Name: xhtml2fo-style-xsl
|
|
|
|
Version: 20051222
|
2017-01-04 14:15:47 +00:00
|
|
|
Release: 13%{?dist}
|
2008-09-28 12:03:25 +00:00
|
|
|
Group: Applications/Text
|
|
|
|
|
|
|
|
Summary: Antenna House, Inc. XHTML to XSL:FO stylesheets
|
|
|
|
License: Copyright only
|
|
|
|
URL: http://www.antennahouse.com/XSLsample/XSLsample.htm
|
|
|
|
|
2017-01-04 14:15:47 +00:00
|
|
|
Requires: xhtml1-dtds
|
|
|
|
Requires: xml-common >= 0.6.3-8
|
2008-09-28 12:03:25 +00:00
|
|
|
#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
|
2017-01-04 14:15:47 +00:00
|
|
|
%setup -c -q -n %{name}-%{version}
|
2008-09-28 12:03:25 +00:00
|
|
|
%__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
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%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
|
2017-01-04 14:15:47 +00:00
|
|
|
* Wed Jan 04 2017 Ondrej Vasik <ovasik@redhat.com> - 20051222-13
|
|
|
|
- do not use Requires(pre) (#1319170)
|
|
|
|
- fix the setup macro (#1285744)
|
|
|
|
- drop unnecessary parts in the spec
|
|
|
|
|
2016-02-05 03:32:27 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20051222-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 04:04:16 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-08 05:56:30 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 08:18:22 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-15 03:45:04 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-22 05:34:50 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 08:57:55 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 05:14:21 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-27 08:05:11 +00:00
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 09:38:18 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-28 12:03:25 +00:00
|
|
|
|
2008-10-12 21:14:48 +00:00
|
|
|
* Sun Oct 12 2008 Ismael Olea <ismael@olea.org> 20051222-2
|
|
|
|
- adding the %{?dist} macro to the spec
|
|
|
|
|
2008-09-28 12:03:25 +00:00
|
|
|
* Thu Jan 17 2008 Ismael Olea <ismael@olea.org> 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 <ismael@olea.org> 20050106-1
|
|
|
|
- First version (based on docbook-xsl-stylesheets.spec by Tim Waugh.
|
|
|
|
|