90a0c8
Name: docbook-style-dsssl
90a0c8
Version: 1.79
90a0c8
Release: 25%{?dist}
90a0c8
Group: Applications/Text
90a0c8
90a0c8
Summary: Norman Walsh's modular stylesheets for DocBook
90a0c8
90a0c8
License: DMIT
90a0c8
URL: http://docbook.sourceforge.net/
90a0c8
BuildRequires: perl-generators
90a0c8
90a0c8
Requires: docbook-dtds
90a0c8
Requires: openjade
90a0c8
Requires: sgml-common
90a0c8
Requires(post): sgml-common
90a0c8
Requires(preun): sgml-common
90a0c8
90a0c8
BuildArch: noarch
90a0c8
Source0: http://prdownloads.sourceforge.net/docbook/docbook-dsssl-%{version}.tar.gz
90a0c8
Source1: %{name}.Makefile
90a0c8
90a0c8
90a0c8
%description
90a0c8
These DSSSL stylesheets allow to convert any DocBook document to another
90a0c8
printed (for example, RTF or PostScript) or online (for example, HTML) format.
90a0c8
They are highly customizable.
90a0c8
90a0c8
%prep
90a0c8
%setup -q -n docbook-dsssl-%{version}
90a0c8
cp %{SOURCE1} Makefile
90a0c8
90a0c8
90a0c8
%build
90a0c8
90a0c8
%install
90a0c8
DESTDIR=$RPM_BUILD_ROOT
90a0c8
make install BINDIR=$DESTDIR/usr/bin DESTDIR=$DESTDIR/usr/share/sgml/docbook/dsssl-stylesheets-%{version} MANDIR=$DESTDIR%{_mandir}
90a0c8
cd ..
90a0c8
ln -s dsssl-stylesheets-%{version} $DESTDIR/usr/share/sgml/docbook/dsssl-stylesheets
90a0c8
90a0c8
%files
90a0c8
%defattr (-,root,root,-)
90a0c8
%doc BUGS README ChangeLog WhatsNew
90a0c8
/usr/bin/collateindex.pl
90a0c8
%{_mandir}/man1/collateindex.pl.1*
90a0c8
/usr/share/sgml/docbook/dsssl-stylesheets-%{version}
90a0c8
/usr/share/sgml/docbook/dsssl-stylesheets
90a0c8
90a0c8
90a0c8
%post
90a0c8
for centralized in /etc/sgml/*-docbook-*.cat
90a0c8
do
90a0c8
  /usr/bin/install-catalog --add $centralized \
90a0c8
    /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \
90a0c8
    > /dev/null 2>/dev/null
90a0c8
done
90a0c8
90a0c8
90a0c8
%preun
90a0c8
if [ "$1" = "0" ]; then
90a0c8
  for centralized in /etc/sgml/*-docbook-*.cat
90a0c8
  do
90a0c8
    /usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null
90a0c8
  done
90a0c8
fi
90a0c8
exit 0
90a0c8
90a0c8
%changelog
90a0c8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.79-25
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
90a0c8
90a0c8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.79-24
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
90a0c8
90a0c8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.79-23
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
90a0c8
90a0c8
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.79-22
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
90a0c8
90a0c8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-21
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
90a0c8
90a0c8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-20
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
90a0c8
90a0c8
* Wed Feb 05 2014 Ondrej Vasik <ovasik@redhat.com> - 1.79-19
90a0c8
- manpage should not have 755 permissions (#1061759)
90a0c8
90a0c8
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1.79-18
90a0c8
- Perl 5.18 rebuild
90a0c8
90a0c8
* Mon Jul 29 2013 Ondrej Vasik <ovasik@redhat.com>  - 1.79-17
90a0c8
- use DMIT (modified MIT) as a license for the
90a0c8
  stylesheets (#988715)
90a0c8
90a0c8
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.79-16
90a0c8
- Perl 5.18 rebuild
90a0c8
90a0c8
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-15
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
90a0c8
90a0c8
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-14
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
90a0c8
90a0c8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-13
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
90a0c8
90a0c8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-12
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
90a0c8
90a0c8
* Mon Jun 07 2010 Ondrej Vasik <ovasik@redhat.com> - 1.79-11
90a0c8
- do not touch openjade catalogs by this package - it's
90a0c8
  done in docbook-dtds (#600878)
90a0c8
90a0c8
* Tue Feb 02 2010 Ondrej Vasik <ovasik@redhat.com> - 1.79-10
90a0c8
- fix merge review issues(#225703)
90a0c8
90a0c8
* Fri Dec 18 2009 Ondrej Vasik <ovasik@redhat.com> - 1.79-9
90a0c8
- License Copyright only
90a0c8
90a0c8
* Fri Aug 28 2009 Ondrej Vasik <ovasik@redhat.com> - 1.79-8
90a0c8
- ship manpage for collateindex.pl
90a0c8
- preserve attributes and timestamps in Makefile
90a0c8
90a0c8
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-7
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
90a0c8
90a0c8
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.79-6
90a0c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
90a0c8
90a0c8
* Mon Nov 05 2007 Ondrej Vasik <ovasik@redhat.com> - 1.79-5
90a0c8
- rpmlint cleanup
90a0c8
- fixed summary, dist tag, license tag, cosmetic spec cleanup
90a0c8
90a0c8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.79-4.1
90a0c8
- rebuild
90a0c8
90a0c8
* Tue Dec 20 2005 Tim Waugh <twaugh@redhat.com> 1.79-4
90a0c8
- Rebuilt again.
90a0c8
90a0c8
* Mon Dec 19 2005 Tim Waugh <twaugh@redhat.com> 1.79-3
90a0c8
- Rebuilt.
90a0c8
90a0c8
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
90a0c8
- rebuilt
90a0c8
90a0c8
* Thu Nov 10 2005 Tim Waugh <twaugh@redhat.com> 1.79-2
90a0c8
- Ship olink.dsl (bug #172523).
90a0c8
90a0c8
* Mon Nov  8 2004 Tim Waugh <twaugh@redhat.com> 1.79-1
90a0c8
- 1.79.
90a0c8
- No longer need articleinfo patch.
90a0c8
90a0c8
* Wed Sep 22 2004 Than Ngo <than@redhat.com> 1.78-4
90a0c8
- rebuilt
90a0c8
90a0c8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
90a0c8
- rebuilt
90a0c8
90a0c8
* Fri Mar 28 2003 Tim Waugh <twaugh@redhat.com> 1.78-2
90a0c8
- Require new docbook-dtds.
90a0c8
- Fix %%post scriptlet.
90a0c8
90a0c8
* Fri Mar 14 2003 Tim Waugh <twaugh@redhat.com> 1.78-1
90a0c8
- Require openjade 1.3.2.
90a0c8
- 1.78, incorporating seealso, aname patches.
90a0c8
90a0c8
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
90a0c8
- rebuilt
90a0c8
90a0c8
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
90a0c8
- rebuild in current collinst
90a0c8
90a0c8
* Fri Jul 26 2002 Tim Waugh <twaugh@redhat.com> 1.76-6
90a0c8
- In HTML output always close anchor tags (bug #69737).
90a0c8
90a0c8
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.76-5
90a0c8
- automated rebuild
90a0c8
90a0c8
* Thu May 23 2002 Tim Powers <timp@redhat.com> 1.76-4
90a0c8
- automated rebuild
90a0c8
90a0c8
* Fri May  3 2002 Tim Waugh <twaugh@redhat.com> 1.76-3
90a0c8
- Another go at fixing seealso handling (bug #64111).
90a0c8
90a0c8
* Thu May  2 2002 Tim Waugh <twaugh@redhat.com> 1.76-2
90a0c8
- Fix collateindex.pl's seealso handling (bug #64111).
90a0c8
90a0c8
* Fri Feb 22 2002 Tim Waugh <twaugh@redhat.com> 1.76-1
90a0c8
- 1.76 (fixes bug #58883).
90a0c8
- Fix HTML generation for articleinfo elements (bug #58837).
90a0c8
90a0c8
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.75-1
90a0c8
- 1.75.
90a0c8
- Rebuild in new environment.
90a0c8
90a0c8
* Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.74b-3
90a0c8
- Prepare for openjade 1.3.1.
90a0c8
90a0c8
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.74b-2
90a0c8
- automated rebuild
90a0c8
90a0c8
* Mon Dec  3 2001 Tim Waugh <twaugh@redhat.com> 1.74b-1
90a0c8
- 1.74b.
90a0c8
90a0c8
* Fri Nov  2 2001 Tim Waugh <twaugh@redhat.com> 1.73-3
90a0c8
- Conflict with docbook-utils if its custom stylesheet hasn't been
90a0c8
  updated to work with version 1.72 or later of this package.
90a0c8
90a0c8
* Fri Oct 19 2001 Tim Waugh <twaugh@redhat.com> 1.73-2
90a0c8
- Shut the scripts up.
90a0c8
90a0c8
* Mon Oct  1 2001 Tim Waugh <twaugh@redhat.com> 1.73-1
90a0c8
- 1.73.
90a0c8
90a0c8
* Fri Sep 28 2001 Tim Waugh <twaugh@redhat.com> 1.72-1
90a0c8
- 1.72.
90a0c8
90a0c8
* Wed Jul 25 2001 Bill Nottingham <notting@redhat.com> 1.64-3
90a0c8
- bump release 
90a0c8
90a0c8
* Thu May  9 2001 Tim Waugh <twaugh@redhat.com> 1.64-2
90a0c8
- Make an unversioned dsssl-stylesheets symbolic link.
90a0c8
90a0c8
* Wed May  2 2001 Tim Waugh <twaugh@redhat.com> 1.64-1
90a0c8
- 1.64 (fixes #38095).
90a0c8
- Fix up post/preun scripts so that we don't get duplicate entries with
90a0c8
  different versions on upgrade.
90a0c8
90a0c8
* Sun Mar 25 2001 Tim Waugh <twaugh@redhat.com> 1.59-10
90a0c8
- Fix up Makefile (patch from SATO Satoru).
90a0c8
- Change postun to preun.
90a0c8
- Make preun conditional on remove rather than upgrade.
90a0c8
90a0c8
* Tue Mar  6 2001 Tim Waugh <twaugh@redhat.com>
90a0c8
- PreReq docbook-dtd-sgml (it was a requirement before), so that the
90a0c8
  scripts work right.
90a0c8
90a0c8
* Tue Feb 20 2001 Tim Waugh <twaugh@redhat.com>
90a0c8
- Change Requires(...) to PreReq at Preston's request.
90a0c8
- PreReq at least openjade-1.3-12, so that its catalogs get installed.
90a0c8
90a0c8
* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
90a0c8
- Make scripts quieter.
90a0c8
90a0c8
* Tue Jan 23 2001 Tim Waugh <twaugh@redhat.com>
90a0c8
- Last fix was wrong; corrected (require openjade 1.3).
90a0c8
90a0c8
* Fri Jan 19 2001 Tim Waugh <twaugh@redhat.com>
90a0c8
- Require jade not openjade (bug #24306).
90a0c8
90a0c8
* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
90a0c8
- Don't play so many macro games.
90a0c8
- Change requirement on /usr/bin/install-catalog to sgml-common.
90a0c8
- Be sure to own dsssl-stylesheets-1.59 directory.
90a0c8
90a0c8
* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
90a0c8
- Change group.
90a0c8
- openjade not jade.
90a0c8
- %%{_tmppath}.
90a0c8
- rm before install.
90a0c8
- Change Copyright: to License:.
90a0c8
- Remove Packager: line.
90a0c8
90a0c8
* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
90a0c8
- Based on Eric Bischoff's new-trials packages.