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