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