10139N/A#
10139N/A# spec file for package docbook-style-dsssl
10139N/A#
10139N/A# copied from fedora core 6
10139N/A#
17185N/A%define owner laca
10139N/A#
17180N/A
18644N/A%define OSR delivered in s10:n/a
17180N/A
10139N/AName: docbook-style-dsssl
18615N/AVendor: Sourceforge
10139N/AVersion: 1.79
10139N/ARelease: 1
10139N/AGroup: Applications/Text
10139N/A
10139N/ASummary: Norman Walsh's modular stylesheets for DocBook.
10139N/A
10139N/ALicense: Distributable
10139N/AURL: http://docbook.sourceforge.net/
10139N/A
10139N/A%define openjadever 1.3.2
10139N/ARequires: openjade = %{openjadever}
10139N/APreReq: docbook-dtds >= 1.0-19
10139N/APreReq: sgml-common >= 0.5
10139N/APreReq: openjade = %{openjadever}
10139N/AConflicts: docbook-utils < 0.6.9-4
10139N/A
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}
10139N/A
10139N/ABuildArch: noarch
10139N/ASource0: http://prdownloads.sourceforge.net/docbook/docbook-dsssl-%{version}.tar.gz
10139N/ASource1: %{name}.Makefile
10139N/A
10139N/A
10139N/A%description
10139N/AThese DSSSL stylesheets allow to convert any DocBook document to another
10139N/Aprinted (for example, RTF or PostScript) or online (for example, HTML) format.
10139N/AThey are highly customizable.
10139N/A
10139N/A%prep
10139N/A%setup -q -n docbook-dsssl-%{version}
10139N/Acp %{SOURCE1} Makefile
10537N/Aperl -pi -e 's|^#!/usr/bin/perl|#!/usr/perl5/bin/perl|' bin/collateindex.pl
10139N/A
10139N/A%build
10139N/A
10139N/A
10139N/A%install
10139N/ADESTDIR=$RPM_BUILD_ROOT
10139N/Amake install BINDIR=$DESTDIR/usr/bin DESTDIR=$DESTDIR/usr/share/sgml/docbook/dsssl-stylesheets-%{version}
10139N/Acd ..
10139N/Aln -s dsssl-stylesheets-%{version} $DESTDIR/usr/share/sgml/docbook/dsssl-stylesheets
10139N/A
10139N/A
10139N/A%clean
10139N/ADESTDIR=$RPM_BUILD_ROOT
10139N/Arm -rf $DESTDIR
10139N/A
10139N/A
10139N/A%files
10139N/A%defattr (-,root,root)
10139N/A%doc BUGS README ChangeLog WhatsNew
10139N/A/usr/bin/collateindex.pl
10139N/A/usr/share/sgml/docbook/dsssl-stylesheets-%{version}
10139N/A/usr/share/sgml/docbook/dsssl-stylesheets
10139N/A
10139N/A
10139N/A%post
10139N/Arel=$(echo /etc/sgml/sgml-docbook-3.0-*.cat)
10139N/Arel=${rel##*-}
10139N/Arel=${rel%.cat}
10139N/Afor centralized in /etc/sgml/*-docbook-*.cat
10139N/Ado
10139N/A /usr/bin/install-catalog --remove $centralized \
10139N/A /usr/share/sgml/docbook/dsssl-stylesheets-*/catalog \
10139N/A >/dev/null 2>/dev/null
10139N/Adone
10139N/A
10139N/Afor centralized in /etc/sgml/*-docbook-*$rel.cat
10139N/Ado
10139N/A /usr/bin/install-catalog --add $centralized \
10139N/A /usr/share/sgml/openjade-%{openjadever}/catalog \
10139N/A > /dev/null 2>/dev/null
10139N/A /usr/bin/install-catalog --add $centralized \
10139N/A /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \
10139N/A > /dev/null 2>/dev/null
10139N/Adone
10139N/A
10139N/A
10139N/A%preun
10139N/Aif [ "$1" = "0" ]; then
10139N/A for centralized in /etc/sgml/*-docbook-*.cat
10139N/A do /usr/bin/install-catalog --remove $centralized /usr/share/sgml/openjade-%{openjadever}/catalog > /dev/null 2>/dev/null
10139N/A /usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null
10139N/A done
10139N/Afi
10139N/Aexit 0
10139N/A
10139N/A%changelog
10537N/A* Thu Apr 26 2007 - laca@sun.com
10537N/A- set the path to perl in collateindex.pl, part of 6454456
10537N/A
10139N/A* Mon Nov 8 2004 Tim Waugh <twaugh@redhat.com> 1.79-1
10139N/A- 1.79.
10139N/A- No longer need articleinfo patch.
10139N/A
10139N/A* Wed Sep 22 2004 Than Ngo <than@redhat.com> 1.78-4
10139N/A- rebuilt
10139N/A
10139N/A* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
10139N/A- rebuilt
10139N/A
10139N/A* Fri Mar 28 2003 Tim Waugh <twaugh@redhat.com> 1.78-2
10139N/A- Require new docbook-dtds.
10139N/A- Fix %%post scriptlet.
10139N/A
10139N/A* Fri Mar 14 2003 Tim Waugh <twaugh@redhat.com> 1.78-1
10139N/A- Require openjade 1.3.2.
10139N/A- 1.78, incorporating seealso, aname patches.
10139N/A
10139N/A* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
10139N/A- rebuilt
10139N/A
10139N/A* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
10139N/A- rebuild in current collinst
10139N/A
10139N/A* Fri Jul 26 2002 Tim Waugh <twaugh@redhat.com> 1.76-6
10139N/A- In HTML output always close anchor tags (bug #69737).
10139N/A
10139N/A* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.76-5
10139N/A- automated rebuild
10139N/A
10139N/A* Thu May 23 2002 Tim Powers <timp@redhat.com> 1.76-4
10139N/A- automated rebuild
10139N/A
10139N/A* Fri May 3 2002 Tim Waugh <twaugh@redhat.com> 1.76-3
10139N/A- Another go at fixing seealso handling (bug #64111).
10139N/A
10139N/A* Thu May 2 2002 Tim Waugh <twaugh@redhat.com> 1.76-2
10139N/A- Fix collateindex.pl's seealso handling (bug #64111).
10139N/A
10139N/A* Fri Feb 22 2002 Tim Waugh <twaugh@redhat.com> 1.76-1
10139N/A- 1.76 (fixes bug #58883).
10139N/A- Fix HTML generation for articleinfo elements (bug #58837).
10139N/A
10139N/A* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.75-1
10139N/A- 1.75.
10139N/A- Rebuild in new environment.
10139N/A
10139N/A* Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.74b-3
10139N/A- Prepare for openjade 1.3.1.
10139N/A
10139N/A* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.74b-2
10139N/A- automated rebuild
10139N/A
10139N/A* Mon Dec 3 2001 Tim Waugh <twaugh@redhat.com> 1.74b-1
10139N/A- 1.74b.
10139N/A
10139N/A* Fri Nov 2 2001 Tim Waugh <twaugh@redhat.com> 1.73-3
10139N/A- Conflict with docbook-utils if its custom stylesheet hasn't been
10139N/A updated to work with version 1.72 or later of this package.
10139N/A
10139N/A* Fri Oct 19 2001 Tim Waugh <twaugh@redhat.com> 1.73-2
10139N/A- Shut the scripts up.
10139N/A
10139N/A* Mon Oct 1 2001 Tim Waugh <twaugh@redhat.com> 1.73-1
10139N/A- 1.73.
10139N/A
10139N/A* Fri Sep 28 2001 Tim Waugh <twaugh@redhat.com> 1.72-1
10139N/A- 1.72.
10139N/A
10139N/A* Wed Jul 25 2001 Bill Nottingham <notting@redhat.com> 1.64-3
10139N/A- bump release
10139N/A
10139N/A* Thu May 9 2001 Tim Waugh <twaugh@redhat.com> 1.64-2
10139N/A- Make an unversioned dsssl-stylesheets symbolic link.
10139N/A
10139N/A* Wed May 2 2001 Tim Waugh <twaugh@redhat.com> 1.64-1
10139N/A- 1.64 (fixes #38095).
10139N/A- Fix up post/preun scripts so that we don't get duplicate entries with
10139N/A different versions on upgrade.
10139N/A
10139N/A* Sun Mar 25 2001 Tim Waugh <twaugh@redhat.com> 1.59-10
10139N/A- Fix up Makefile (patch from SATO Satoru).
10139N/A- Change postun to preun.
10139N/A- Make preun conditional on remove rather than upgrade.
10139N/A
10139N/A* Tue Mar 6 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- PreReq docbook-dtd-sgml (it was a requirement before), so that the
10139N/A scripts work right.
10139N/A
10139N/A* Tue Feb 20 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Change Requires(...) to PreReq at Preston's request.
10139N/A- PreReq at least openjade-1.3-12, so that its catalogs get installed.
10139N/A
10139N/A* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Make scripts quieter.
10139N/A
10139N/A* Tue Jan 23 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Last fix was wrong; corrected (require openjade 1.3).
10139N/A
10139N/A* Fri Jan 19 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Require jade not openjade (bug #24306).
10139N/A
10139N/A* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Don't play so many macro games.
10139N/A- Change requirement on /usr/bin/install-catalog to sgml-common.
10139N/A- Be sure to own dsssl-stylesheets-1.59 directory.
10139N/A
10139N/A* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Change group.
10139N/A- openjade not jade.
10139N/A- %%{_tmppath}.
10139N/A- rm before install.
10139N/A- Change Copyright: to License:.
10139N/A- Remove Packager: line.
10139N/A
10139N/A* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
10139N/A- Based on Eric Bischoff's new-trials packages.