Blame SPECS/xhtml2fo-style-xsl.spec

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