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