Blame SPECS/docbook-style-dsssl.spec

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