commit 2d4aa2fada526b91403723539acb94e23704f6f9 Author: CentOS Sources Date: Tue May 17 06:50:27 2022 -0400 import docbook-style-dsssl-1.79-33.el9 diff --git a/.docbook-style-dsssl.metadata b/.docbook-style-dsssl.metadata new file mode 100644 index 0000000..d6df490 --- /dev/null +++ b/.docbook-style-dsssl.metadata @@ -0,0 +1 @@ +e09866f684d3649b8020c0125e514ec3004243df SOURCES/docbook-dsssl-1.79.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..182b6be --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/docbook-dsssl-1.79.tar.gz diff --git a/SOURCES/docbook-style-dsssl.Makefile b/SOURCES/docbook-style-dsssl.Makefile new file mode 100644 index 0000000..af1a1fb --- /dev/null +++ b/SOURCES/docbook-style-dsssl.Makefile @@ -0,0 +1,51 @@ +BINDIR = /usr/bin +DESTDIR = /usr/share/sgml/docbook/dsssl-stylesheets-1.74b +MANDIR= /usr/share/man + +all: install + +install: install-bin install-dtd install-dsl install-img install-misc install-man + +install-bin: + mkdir -p $(BINDIR) + install -p bin/collateindex.pl $(BINDIR) + +install-man: + mkdir -p $(MANDIR)/man1 + install -m 644 -p bin/collateindex.pl.1 $(MANDIR)/man1 + +install-dtd: + mkdir -p $(DESTDIR)/dtds/{decls,dbdsssl,html,imagelib,olink} + cp -p dtds/decls/docbook.dcl $(DESTDIR)/dtds/decls + cp -p dtds/decls/xml.dcl $(DESTDIR)/dtds/decls + cp -p dtds/dbdsssl/dbdsssl.dtd $(DESTDIR)/dtds/dbdsssl + cp -p dtds/html/dbhtml.dtd $(DESTDIR)/dtds/html + cp -p dtds/html/ISOlat1.gml $(DESTDIR)/dtds/html + cp -p dtds/imagelib/imagelib.dtd $(DESTDIR)/dtds/imagelib + cp -p dtds/olink/olinksum.dtd $(DESTDIR)/dtds/olink + +install-dsl: + mkdir -p $(DESTDIR)/{lib,common,html,print,olink} + cp -p lib/dblib.dsl $(DESTDIR)/lib + cp -p common/*.dsl $(DESTDIR)/common + cp -p common/*.ent $(DESTDIR)/common + cp -p html/*.dsl $(DESTDIR)/html + cp -p lib/dblib.dsl $(DESTDIR)/lib + cp -p print/*.dsl $(DESTDIR)/print + cp -p olink/*.dsl $(DESTDIR)/olink + +install-img: + mkdir -p $(DESTDIR)/images/callouts + cp -p images/*.gif $(DESTDIR)/images + cp -p images/callouts/*.gif $(DESTDIR)/images/callouts + +#install-test: +# mkdir -p $(DESTDIR)/test/{cases,imagelib,xml} +# cp test/*.* $(DESTDIR)/test +# cp test/cases/*.* $(DESTDIR)/test/cases +# cp test/imagelib/*.* $(DESTDIR)/test/imagelib +# cp test/xml/*.* $(DESTDIR)/test/xml + +install-misc: + cp -p catalog $(DESTDIR) + cp -p VERSION $(DESTDIR) diff --git a/SPECS/docbook-style-dsssl.spec b/SPECS/docbook-style-dsssl.spec new file mode 100644 index 0000000..998caf2 --- /dev/null +++ b/SPECS/docbook-style-dsssl.spec @@ -0,0 +1,291 @@ +Name: docbook-style-dsssl +Version: 1.79 +Release: 33%{?dist} + +Summary: Norman Walsh's modular stylesheets for DocBook + +License: DMIT +URL: http://docbook.sourceforge.net/ +BuildRequires: perl-generators +BuildRequires: make + +Requires: docbook-dtds +Requires: openjade +Requires: sgml-common +Requires(post): sgml-common +Requires(preun): sgml-common + +BuildArch: noarch +Source0: http://prdownloads.sourceforge.net/docbook/docbook-dsssl-%{version}.tar.gz +Source1: %{name}.Makefile + + +%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 +%setup -q -n docbook-dsssl-%{version} +cp %{SOURCE1} Makefile + + +%build + +%install +DESTDIR=$RPM_BUILD_ROOT +make install BINDIR=$DESTDIR/usr/bin DESTDIR=$DESTDIR/usr/share/sgml/docbook/dsssl-stylesheets-%{version} MANDIR=$DESTDIR%{_mandir} +cd .. +ln -s dsssl-stylesheets-%{version} $DESTDIR/usr/share/sgml/docbook/dsssl-stylesheets + +%files +%doc BUGS README ChangeLog WhatsNew +/usr/bin/collateindex.pl +%{_mandir}/man1/collateindex.pl.1* +/usr/share/sgml/docbook/dsssl-stylesheets-%{version} +/usr/share/sgml/docbook/dsssl-stylesheets + + +%post +for centralized in /etc/sgml/*-docbook-*.cat +do + /usr/bin/install-catalog --add $centralized \ + /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \ + > /dev/null 2>/dev/null +done + + +%preun +if [ "$1" = "0" ]; then + for centralized in /etc/sgml/*-docbook-*.cat + do + /usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null + done +fi +exit 0 + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 1.79-33 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Thu Apr 15 2021 Mohan Boddu - 1.79-32 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.79-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 1.79-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 1.79-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1.79-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 1.79-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 1.79-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.79-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.79-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.79-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 1.79-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.79-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.79-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Feb 05 2014 Ondrej Vasik - 1.79-19 +- manpage should not have 755 permissions (#1061759) + +* Sat Aug 03 2013 Petr Pisar - 1.79-18 +- Perl 5.18 rebuild + +* Mon Jul 29 2013 Ondrej Vasik - 1.79-17 +- use DMIT (modified MIT) as a license for the + stylesheets (#988715) + +* Wed Jul 17 2013 Petr Pisar - 1.79-16 +- Perl 5.18 rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 1.79-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 1.79-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.79-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.79-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jun 07 2010 Ondrej Vasik - 1.79-11 +- do not touch openjade catalogs by this package - it's + done in docbook-dtds (#600878) + +* Tue Feb 02 2010 Ondrej Vasik - 1.79-10 +- fix merge review issues(#225703) + +* Fri Dec 18 2009 Ondrej Vasik - 1.79-9 +- License Copyright only + +* Fri Aug 28 2009 Ondrej Vasik - 1.79-8 +- ship manpage for collateindex.pl +- preserve attributes and timestamps in Makefile + +* Fri Jul 24 2009 Fedora Release Engineering - 1.79-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 1.79-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Nov 05 2007 Ondrej Vasik - 1.79-5 +- rpmlint cleanup +- fixed summary, dist tag, license tag, cosmetic spec cleanup + +* Wed Jul 12 2006 Jesse Keating - 1.79-4.1 +- rebuild + +* Tue Dec 20 2005 Tim Waugh 1.79-4 +- Rebuilt again. + +* Mon Dec 19 2005 Tim Waugh 1.79-3 +- Rebuilt. + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Thu Nov 10 2005 Tim Waugh 1.79-2 +- Ship olink.dsl (bug #172523). + +* Mon Nov 8 2004 Tim Waugh 1.79-1 +- 1.79. +- No longer need articleinfo patch. + +* Wed Sep 22 2004 Than Ngo 1.78-4 +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Fri Mar 28 2003 Tim Waugh 1.78-2 +- Require new docbook-dtds. +- Fix %%post scriptlet. + +* Fri Mar 14 2003 Tim Waugh 1.78-1 +- Require openjade 1.3.2. +- 1.78, incorporating seealso, aname patches. + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Wed Nov 20 2002 Tim Powers +- rebuild in current collinst + +* Fri Jul 26 2002 Tim Waugh 1.76-6 +- In HTML output always close anchor tags (bug #69737). + +* Fri Jun 21 2002 Tim Powers 1.76-5 +- automated rebuild + +* Thu May 23 2002 Tim Powers 1.76-4 +- automated rebuild + +* Fri May 3 2002 Tim Waugh 1.76-3 +- Another go at fixing seealso handling (bug #64111). + +* Thu May 2 2002 Tim Waugh 1.76-2 +- Fix collateindex.pl's seealso handling (bug #64111). + +* Fri Feb 22 2002 Tim Waugh 1.76-1 +- 1.76 (fixes bug #58883). +- Fix HTML generation for articleinfo elements (bug #58837). + +* Thu Feb 21 2002 Tim Waugh 1.75-1 +- 1.75. +- Rebuild in new environment. + +* Mon Jan 28 2002 Tim Waugh 1.74b-3 +- Prepare for openjade 1.3.1. + +* Wed Jan 09 2002 Tim Powers 1.74b-2 +- automated rebuild + +* Mon Dec 3 2001 Tim Waugh 1.74b-1 +- 1.74b. + +* Fri Nov 2 2001 Tim Waugh 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 1.73-2 +- Shut the scripts up. + +* Mon Oct 1 2001 Tim Waugh 1.73-1 +- 1.73. + +* Fri Sep 28 2001 Tim Waugh 1.72-1 +- 1.72. + +* Wed Jul 25 2001 Bill Nottingham 1.64-3 +- bump release + +* Thu May 9 2001 Tim Waugh 1.64-2 +- Make an unversioned dsssl-stylesheets symbolic link. + +* Wed May 2 2001 Tim Waugh 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 1.59-10 +- 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 +- PreReq docbook-dtd-sgml (it was a requirement before), so that the + scripts work right. + +* Tue Feb 20 2001 Tim Waugh +- 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 +- Make scripts quieter. + +* Tue Jan 23 2001 Tim Waugh +- Last fix was wrong; corrected (require openjade 1.3). + +* Fri Jan 19 2001 Tim Waugh +- Require jade not openjade (bug #24306). + +* Mon Jan 15 2001 Tim Waugh +- 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 +- Change group. +- openjade not jade. +- %%{_tmppath}. +- rm before install. +- Change Copyright: to License:. +- Remove Packager: line. + +* Mon Jan 08 2001 Tim Waugh +- Based on Eric Bischoff's new-trials packages.