Blame SPECS/xhtml2fo-style-xsl.spec

f982d9
Name: xhtml2fo-style-xsl
f982d9
Version: 20051222
f982d9
Release: 9%{?dist}
f982d9
Group: Applications/Text
f982d9
f982d9
Summary: Antenna House, Inc. XHTML to XSL:FO stylesheets
f982d9
License: Copyright only
f982d9
URL: http://www.antennahouse.com/XSLsample/XSLsample.htm
f982d9
f982d9
Requires(pre): xhtml1-dtds
f982d9
Requires(pre): xml-common >= 0.6.3-8
f982d9
#Requires(post): libxml2
f982d9
#Requires(postun): libxml2
f982d9
f982d9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f982d9
f982d9
BuildArch: noarch
f982d9
Source0: http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo.zip
f982d9
Source1: AntennaHouse-COPYRIGHT
f982d9
f982d9
%description
f982d9
These XSL stylesheets allow you to transform any XHTML document to FO.
f982d9
With a XSL:FO processor you could create PDF versions of XHTML documents.
f982d9
f982d9
f982d9
%prep
f982d9
%setup -q -c -n %{name}-%{version} -T -b 0
f982d9
%__cp %{SOURCE1} .
f982d9
%build
f982d9
f982d9
f982d9
%install
f982d9
%__rm -Rf $RPM_BUILD_ROOT
f982d9
%__mkdir -p $RPM_BUILD_ROOT
f982d9
DESTDIR=$RPM_BUILD_ROOT/usr/share/sgml/xhtml1/xhtml2fo-stylesheets
f982d9
%__mkdir -p $DESTDIR
f982d9
%__cp *xsl $DESTDIR/
f982d9
f982d9
%clean
f982d9
%__rm -Rf $RPM_BUILD_ROOT
f982d9
f982d9
f982d9
%files
f982d9
%defattr (-,root,root)
f982d9
%doc AntennaHouse-COPYRIGHT
f982d9
/usr/share/sgml/xhtml1/xhtml2fo-stylesheets
f982d9
f982d9
f982d9
%post
f982d9
CATALOG=%{_sysconfdir}/xml/catalog
f982d9
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
f982d9
 "http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl" \
f982d9
 "file:///usr/share/sgml/xhtml1/xhtml2fo-stylesheets/xhtml2fo.xsl" $CATALOG
f982d9
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
f982d9
 "http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl" \
f982d9
 "file:///usr/share/sgml/xhtml1/xhtml2fo-stylesheets/xhtml2fo.xsl" $CATALOG
f982d9
f982d9
%postun
f982d9
# remove entries only on removal of package
f982d9
if [ "$1" = 0 ]; then
f982d9
  CATALOG=%{_sysconfdir}/xml/catalog
f982d9
  %{_bindir}/xmlcatalog --noout --del \
f982d9
  "file://%{_datadir}/sgml/xhtml1/xhtml2fo-stylesheets/xhtml2fo.xsl" $CATALOG
f982d9
fi
f982d9
f982d9
f982d9
%changelog
f982d9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 20051222-9
f982d9
- Mass rebuild 2013-12-27
f982d9
f982d9
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-8
f982d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f982d9
f982d9
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-7
f982d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f982d9
f982d9
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-6
f982d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f982d9
f982d9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-5
f982d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f982d9
f982d9
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-4
f982d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f982d9
f982d9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20051222-3
f982d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f982d9
f982d9
f982d9
* Sun Oct 12 2008 Ismael Olea <ismael@olea.org> 20051222-2
f982d9
- adding the %{?dist} macro to the spec
f982d9
f982d9
* Thu Jan 17 2008 Ismael Olea <ismael@olea.org> 20051222-1
f982d9
- updating to last version of sample-xsl-xhtml2fo.zip
f982d9
- fixing spec for contributing to Fedora and rpmlinting with 0.82																																		
f982d9
f982d9
* Mon Jan 10 2005 Ismael Olea <ismael@olea.org> 20050106-1
f982d9
- First version (based on docbook-xsl-stylesheets.spec by Tim Waugh.
f982d9