OBS User unknown 2008-10-23 02:29:40 +00:00 committed by Git OBS Bridge
parent 364892b346
commit efd78ce536

View File

@ -1,18 +1,26 @@
# #
# spec file for package docbook_4 (Version 4.5) # spec file for package docbook_4 (Version 4.5)
# #
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# #
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Name: docbook_4 Name: docbook_4
BuildRequires: sgml-skel unzip BuildRequires: sgml-skel unzip
License: BSD License and BSD-like, X11/MIT License: BSD 3-Clause; X11/MIT
Group: Productivity/Publishing/DocBook Group: Productivity/Publishing/DocBook
Provides: docbk_4 docbook docbook-dtd Provides: docbk_4 docbook docbook-dtd
Obsoletes: docbk_4 Obsoletes: docbk_4
@ -21,10 +29,10 @@ Requires: sgml-skel libxml2
%define regcat /usr/bin/sgml-register-catalog %define regcat /usr/bin/sgml-register-catalog
PreReq: %{regcat} /usr/bin/xmlcatalog sgml-skel PreReq: %{regcat} /usr/bin/xmlcatalog sgml-skel
PreReq: sed grep awk PreReq: sed grep awk
Autoreqprov: on AutoReqProv: on
Summary: DocBook DTD Version 4.x Summary: DocBook DTD Version 4.x
Version: 4.5 Version: 4.5
Release: 8 Release: 111
Source2: docbook_4-README.SuSE Source2: docbook_4-README.SuSE
Source7: CATALOG.docbook_4 Source7: CATALOG.docbook_4
# DocBook 4.1 # DocBook 4.1
@ -61,12 +69,15 @@ Patch1: docbook-4-3.diff
Patch2: docbook-4-3-xml-cat.diff Patch2: docbook-4-3-xml-cat.diff
Patch3: docbook.4.4.dcl.diff Patch3: docbook.4.4.dcl.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch BuildArch: noarch
URL: http://www.oasis-open.org/docbook/ Url: http://www.oasis-open.org/docbook/
%description %description
DocBook is used to produce technical documentation. This package has DocBook is a schema. It is particularly well-suited to books and papers
SGML and XML versions included. about computer hardware and software (though it is not limited to these
applications at all). This package has SGML- and XML-DTD versions
included. Some versions of DocBook contain also a RELAX NG and W3C
Schema.
@ -96,6 +107,7 @@ Authors:
%define sgml_sysconf_dir %{_sysconfdir}/sgml %define sgml_sysconf_dir %{_sysconfdir}/sgml
%define xml_config_dir /var/lib/xml %define xml_config_dir /var/lib/xml
%define xml_sysconf_dir %{_sysconfdir}/xml %define xml_sysconf_dir %{_sysconfdir}/xml
%prep %prep
%setup -n %{name} -c -T %setup -n %{name} -c -T
cp -p $RPM_SOURCE_DIR/%{name}-README.SuSE README.SuSE cp -p $RPM_SOURCE_DIR/%{name}-README.SuSE README.SuSE
@ -414,140 +426,140 @@ rm -fr $RPM_BUILD_ROOT
%dir %{xml_docbook_xsd_dir} %dir %{xml_docbook_xsd_dir}
%changelog %changelog
* Thu Mar 29 2007 - aj@suse.de * Thu Mar 29 2007 aj@suse.de
- Really add unzip as build requirement. - Really add unzip as build requirement.
* Thu Mar 29 2007 - toms@suse.de * Thu Mar 29 2007 toms@suse.de
- Added unzip as build requirements - Added unzip as build requirements
* Fri Feb 16 2007 - toms@suse.de * Fri Feb 16 2007 toms@suse.de
- Added RELAX NG and W3C schema for 4.5 - Added RELAX NG and W3C schema for 4.5
- Completed DocBook 4.2 with RELAX NG and W3C - Completed DocBook 4.2 with RELAX NG and W3C
* Thu Feb 15 2007 - toms@suse.de * Thu Feb 15 2007 toms@suse.de
- Added DocBook v4.5 XML and SGML DTD - Added DocBook v4.5 XML and SGML DTD
- Added RELAX NG and W3C schema for 4.3 and 4.4 - Added RELAX NG and W3C schema for 4.3 and 4.4
* Mon Jan 15 2007 - ke@suse.de * Mon Jan 15 2007 ke@suse.de
- PreReq sgml-skel instead of file name. - PreReq sgml-skel instead of file name.
* Fri Jan 12 2007 - dmueller@suse.de * Fri Jan 12 2007 dmueller@suse.de
- fix build of depending packages once again - fix build of depending packages once again
* Fri Jan 12 2007 - ke@suse.de * Fri Jan 12 2007 ke@suse.de
- Remove 'exit 0' from %%post and %%postun; reported by Klaus Kaempf - Remove 'exit 0' from %%post and %%postun; reported by Klaus Kaempf
[# 216944]. [# 216944].
* Thu Jan 11 2007 - ke@suse.de * Thu Jan 11 2007 ke@suse.de
- Remove /usr/share/xml from the files list. - Remove /usr/share/xml from the files list.
* Mon Aug 14 2006 - ke@suse.de * Mon Aug 14 2006 ke@suse.de
- Remove obsolete compatibility link for <= SL 9.0. - Remove obsolete compatibility link for <= SL 9.0.
* Sun Feb 19 2006 - ro@suse.de * Sun Feb 19 2006 ro@suse.de
- modify setup line in spec file - modify setup line in spec file
* Wed Jan 25 2006 - mls@suse.de * Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires - converted neededforbuild to BuildRequires
* Wed Dec 21 2005 - aj@suse.de * Wed Dec 21 2005 aj@suse.de
- Package symlink. - Package symlink.
* Fri Sep 16 2005 - ke@suse.de * Fri Sep 16 2005 ke@suse.de
- Add catalog entries for version 4.3 and 4.4 (SGML flavor); reported by - Add catalog entries for version 4.3 and 4.4 (SGML flavor); reported by
Ulrich Windl [# 104872]. Ulrich Windl [# 104872].
- Allow ":" in attribute names for version 4.4, too (SGML flavor). - Allow ":" in attribute names for version 4.4, too (SGML flavor).
- Cleanup CATALOG.docbook_4: Remove commented entries, comment obsolete - Cleanup CATALOG.docbook_4: Remove commented entries, comment obsolete
4.4 references (SGML flavor). 4.4 references (SGML flavor).
* Wed May 18 2005 - ke@suse.de * Wed May 18 2005 ke@suse.de
- docbook-4-3-xml-cat.diff: add catalog entries for HTML tables; - docbook-4-3-xml-cat.diff: add catalog entries for HTML tables;
reported by Thomas Schraitle [# 84023]. reported by Thomas Schraitle [# 84023].
* Wed Feb 02 2005 - ke@suse.de * Wed Feb 02 2005 ke@suse.de
- Add docbook version 4.4 (SGML and XML). - Add docbook version 4.4 (SGML and XML).
* Fri Jul 02 2004 - ke@suse.de * Fri Jul 02 2004 ke@suse.de
- Disable support for catalog support for 4.3 (SGML) for the moment; - Disable support for catalog support for 4.3 (SGML) for the moment;
reported by Takashi Iwai. reported by Takashi Iwai.
* Mon Jun 07 2004 - ke@suse.de * Mon Jun 07 2004 ke@suse.de
- Add docbook version 4.3 (SGML, XML, and experimental RNG flavor). - Add docbook version 4.3 (SGML, XML, and experimental RNG flavor).
- Cleanup .spec file. - Cleanup .spec file.
* Mon Mar 01 2004 - ke@suse.de * Mon Mar 01 2004 ke@suse.de
- In %%postun check for the update case. - In %%postun check for the update case.
* Tue Feb 24 2004 - hmacht@suse.de * Tue Feb 24 2004 hmacht@suse.de
- building as non-root - building as non-root
* Tue Feb 10 2004 - ke@suse.de * Tue Feb 10 2004 ke@suse.de
- Move XML DTDs to /usr/share/xml/docbook/schema/dtd. - Move XML DTDs to /usr/share/xml/docbook/schema/dtd.
* Fri Jan 30 2004 - ke@suse.de * Fri Jan 30 2004 ke@suse.de
- Add links pointing from the SGML hierarchy to the XML files. - Add links pointing from the SGML hierarchy to the XML files.
* Thu Jan 22 2004 - ke@suse.de * Thu Jan 22 2004 ke@suse.de
- Adjust directories according to FHS 2.3: - Adjust directories according to FHS 2.3:
* Move XML DTDs to /usr/share/xml/docbook. * Move XML DTDs to /usr/share/xml/docbook.
* Move SGML DTDs to /usr/share/sgml/docbook. * Move SGML DTDs to /usr/share/sgml/docbook.
* Keep CATALOG.* files in /usr/share/sgml for the time being. * Keep CATALOG.* files in /usr/share/sgml for the time being.
* Provide compatibility links for SL =< 9.0 (log this info in * Provide compatibility links for SL =< 9.0 (log this info in
/var/adm/SuSEconfig/run-sgmldir-links for later processing). /var/adm/SuSEconfig/run-sgmldir-links for later processing).
* Fri Jul 11 2003 - ke@suse.de * Fri Jul 11 2003 ke@suse.de
- Remove disturbing link %%{_datadir}/sgml/db42xml via %%pre. - Remove disturbing link %%{_datadir}/sgml/db42xml via %%pre.
* Wed Apr 30 2003 - ke@suse.de * Wed Apr 30 2003 ke@suse.de
- Use the "//XML" suffix for Formal Public Identifiers of XML ISO - Use the "//XML" suffix for Formal Public Identifiers of XML ISO
entity sets. entity sets.
* Tue Apr 29 2003 - ke@suse.de * Tue Apr 29 2003 ke@suse.de
- Use /etc/xml/suse-catalog.xml instead of /etc/xml/catalog. - Use /etc/xml/suse-catalog.xml instead of /etc/xml/catalog.
* Tue Apr 29 2003 - ke@suse.de * Tue Apr 29 2003 ke@suse.de
- Use <group> sectioning in /etc/xml/catalog. - Use <group> sectioning in /etc/xml/catalog.
* Mon Apr 28 2003 - ke@suse.de * Mon Apr 28 2003 ke@suse.de
- Use edit-xml-catalog in %%post/%%postun for managing /etc/xml/catalog. - Use edit-xml-catalog in %%post/%%postun for managing /etc/xml/catalog.
* Tue Apr 15 2003 - ke@suse.de * Tue Apr 15 2003 ke@suse.de
- Fix %%preun/%%postun scripts: Use %%postun only to avoid nuking catalog - Fix %%preun/%%postun scripts: Use %%postun only to avoid nuking catalog
entries during update; add rewriteSystem statement. entries during update; add rewriteSystem statement.
Reported by Gernot Hillier [# 26270]. Reported by Gernot Hillier [# 26270].
* Mon Nov 25 2002 - ke@suse.de * Mon Nov 25 2002 ke@suse.de
- Use sgml-register-catalog to populate /etc/sgml/catalog. - Use sgml-register-catalog to populate /etc/sgml/catalog.
* Fri Nov 15 2002 - ke@suse.de * Fri Nov 15 2002 ke@suse.de
- Also for the 4.2 DTD provide convenience links for psgml. - Also for the 4.2 DTD provide convenience links for psgml.
* Wed Nov 06 2002 - ke@suse.de * Wed Nov 06 2002 ke@suse.de
- Map DocBook 4.0 system identifiers to 4.1. - Map DocBook 4.0 system identifiers to 4.1.
* Wed Aug 14 2002 - ke@suse.de * Wed Aug 14 2002 ke@suse.de
- Add delegatePublic and delegateSystem for DocBook DTD 4.1 to the XML - Add delegatePublic and delegateSystem for DocBook DTD 4.1 to the XML
catalog. Thus scrollkeeper-update can make use of local resources. catalog. Thus scrollkeeper-update can make use of local resources.
Reported by Thorsten Kukuk and Olaf Hering [# 17646]. Reported by Thorsten Kukuk and Olaf Hering [# 17646].
- Add more files to the uninstall cleanup scripts. - Add more files to the uninstall cleanup scripts.
* Mon Aug 12 2002 - ke@suse.de * Mon Aug 12 2002 ke@suse.de
- Don't use hardcoded version number ("41") when building the the 42 - Don't use hardcoded version number ("41") when building the the 42
SGML Open Catalog for the XML DTD. SGML Open Catalog for the XML DTD.
Reported by Norbert Eicker. Reported by Norbert Eicker.
* Thu Aug 08 2002 - ke@suse.de * Thu Aug 08 2002 ke@suse.de
- Add the third slash for "file:///' again (necessary because I removed - Add the third slash for "file:///' again (necessary because I removed
one from the variable assignemnt). one from the variable assignemnt).
* Wed Aug 07 2002 - mls@suse.de * Wed Aug 07 2002 mls@suse.de
- Fixed exit status of postinstall script. - Fixed exit status of postinstall script.
* Wed Aug 07 2002 - ke@suse.de * Wed Aug 07 2002 ke@suse.de
- Drop the SuSEconfig script; reported by Thorsten Kukuk [# 17448]. - Drop the SuSEconfig script; reported by Thorsten Kukuk [# 17448].
* Tue Aug 06 2002 - ke@suse.de * Tue Aug 06 2002 ke@suse.de
- Add missing PreReq (libxml2, zlib); reported by Thorsten Kukuk [# - Add missing PreReq (libxml2, zlib); reported by Thorsten Kukuk [#
17435]. 17435].
* Fri Jul 26 2002 - ke@suse.de * Fri Jul 26 2002 ke@suse.de
- SuSEconfig.docbook_4: Remove CATALOG file with length of zero. - SuSEconfig.docbook_4: Remove CATALOG file with length of zero.
- Add "DTD DocBook XML V4.1" to /etc/xml/docbook_41.xml. - Add "DTD DocBook XML V4.1" to /etc/xml/docbook_41.xml.
- Drop superfluous slashes ("file:///", not "file:////"). - Drop superfluous slashes ("file:///", not "file:////").
- Fix FPI names in /etc/xml/docbook_41.xml. - Fix FPI names in /etc/xml/docbook_41.xml.
* Fri Jul 26 2002 - ke@suse.de * Fri Jul 26 2002 ke@suse.de
- Actually install the catalogs and make sure applications will find - Actually install the catalogs and make sure applications will find
more DTD. more DTD.
* Wed Jul 24 2002 - ke@suse.de * Wed Jul 24 2002 ke@suse.de
- Add SGML and XML DTD version 4.2. - Add SGML and XML DTD version 4.2.
- Simplify catalog creation and management. - Simplify catalog creation and management.
* Mon Jun 24 2002 - ke@suse.de * Mon Jun 24 2002 ke@suse.de
- Don't install XML ISO entity links; instead require xmlcharent. - Don't install XML ISO entity links; instead require xmlcharent.
- Start to prepare for release 4.2. - Start to prepare for release 4.2.
Mon May 6 10:40:29 CEST 2002 - ke@suse.de Mon May 6 10:40:29 CEST 2002 - ke@suse.de
- Don't try to call the SuSEconfig script as long as the system isn't - Don't try to call the SuSEconfig script as long as the system isn't
mounted on "/". mounted on "/".
* Fri May 03 2002 - ke@suse.de * Fri May 03 2002 ke@suse.de
- Provide /sbin/conf.d/SuSEconfig.%%{name} to initialize catalogs - Provide /sbin/conf.d/SuSEconfig.%%{name} to initialize catalogs
later if xmlcatalog isn't available at installation time. later if xmlcatalog isn't available at installation time.
* Thu May 02 2002 - ke@suse.de * Thu May 02 2002 ke@suse.de
- Require libxml2 to install proper /etc/xml catalog files. - Require libxml2 to install proper /etc/xml catalog files.
- Maintain /etc/xml catalog files via %%post/%%postun. - Maintain /etc/xml catalog files via %%post/%%postun.
* Mon Aug 27 2001 - ke@suse.de * Mon Aug 27 2001 ke@suse.de
- Rename README.SuSE to docbook_4-README.SuSE. - Rename README.SuSE to docbook_4-README.SuSE.
- Install DTD and ENTITY links using install-dtd.sh to support - Install DTD and ENTITY links using install-dtd.sh to support
Emacs/PSGML. Emacs/PSGML.
- Cleanup spec file. - Cleanup spec file.
- Add sgml-skel to 'neededforbuild'. - Add sgml-skel to 'neededforbuild'.
* Tue Mar 13 2001 - ke@suse.de * Tue Mar 13 2001 ke@suse.de
- Rename package: docbk_4 -> docbook_4 (cf. docbook_3). - Rename package: docbk_4 -> docbook_4 (cf. docbook_3).
- Update XML DTD (version 4.1.2). - Update XML DTD (version 4.1.2).
- Add 'OVERRIDE YES' to XML catalog. - Add 'OVERRIDE YES' to XML catalog.
- Add README.SuSE. - Add README.SuSE.
* Tue Jun 27 2000 - ke@suse.de * Tue Jun 27 2000 ke@suse.de
- Correct CATALOG entries for entities. - Correct CATALOG entries for entities.
* Tue Jun 20 2000 - ke@suse.de * Tue Jun 20 2000 ke@suse.de
- Initial package: version 4.1. - Initial package: version 4.1.