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