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