OBS User unknown 2008-10-23 02:51:05 +00:00 committed by Git OBS Bridge
parent 406b967fb5
commit b9afd9e8ed

View File

@ -1,33 +1,41 @@
# #
# spec file for package xmlcharent (Version 0.3) # spec file for package xmlcharent (Version 0.3)
# #
# 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: xmlcharent Name: xmlcharent
BuildRequires: sgml-skel unzip BuildRequires: sgml-skel unzip
License: BSD License and BSD-like License: BSD 3-Clause
Group: Productivity/Publishing/XML Group: Productivity/Publishing/XML
BuildArchitectures: noarch BuildArch: noarch
Autoreqprov: on AutoReqProv: on
Requires: sgml-skel libxml2 Requires: sgml-skel libxml2
%define regcat /usr/bin/sgml-register-catalog %define regcat /usr/bin/sgml-register-catalog
PreReq: %{regcat} /usr/bin/xmlcatalog /usr/bin/edit-xml-catalog PreReq: %{regcat} /usr/bin/xmlcatalog /usr/bin/edit-xml-catalog
PreReq: sed grep awk PreReq: sed grep awk
Version: 0.3 Version: 0.3
Release: 301 Release: 403
Summary: XML Character Entities Summary: XML Character Entities
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.oasis-open.org/committees/docbook/%{name}/%{version}/%{name}-%{version}.zip Source0: http://www.oasis-open.org/committees/docbook/%{name}/%{version}/%{name}-%{version}.zip
Source1: catalog.xml Source1: catalog.xml
Source2: CATALOG.xmlcharent Source2: CATALOG.xmlcharent
URL: http://www.oasis-open.org/committees/docbook/xmlcharent/ Url: http://www.oasis-open.org/committees/docbook/xmlcharent/
%description %description
XML encodings for the 19 standard character entity sets defined in XML encodings for the 19 standard character entity sets defined in
@ -48,6 +56,7 @@ non-normative Annex D of [ISO 8879:1986].
%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
unzip -aq %{S:0} unzip -aq %{S:0}
@ -155,38 +164,38 @@ rm -fr $RPM_BUILD_ROOT
%dir %{xml_dir}/entities/xmlcharent %dir %{xml_dir}/entities/xmlcharent
%changelog %changelog
* Thu Mar 29 2007 - ke@suse.de * Thu Mar 29 2007 ke@suse.de
- Add BuildRequires: unzip - Add BuildRequires: unzip
* 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.
* Thu Aug 17 2006 - ke@suse.de * Thu Aug 17 2006 ke@suse.de
- Remove SuSEconfig call and a %%post warning for SL < 8.1. - Remove SuSEconfig call and a %%post warning for SL < 8.1.
* 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 Nov 03 2004 - ke@suse.de * Wed Nov 03 2004 ke@suse.de
- catalog.xml: Add namespace attribute as reported by Thomas Schraitle. - catalog.xml: Add namespace attribute as reported by Thomas Schraitle.
* Mon May 24 2004 - ke@suse.de * Mon May 24 2004 ke@suse.de
- Fix syntax of catalog.xml. - Fix syntax of catalog.xml.
* Mon Feb 09 2004 - ke@suse.de * Mon Feb 09 2004 ke@suse.de
- Adjust directories according to FHS 2.3: - Adjust directories according to FHS 2.3:
* Move entity files to /usr/share/xml/entities/xmlcharent * Move entity files to /usr/share/xml/entities/xmlcharent
* 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).
* Thu Feb 05 2004 - hmacht@suse.de * Thu Feb 05 2004 hmacht@suse.de
- added option # norootforbuild in specfile - added option # norootforbuild in specfile
* Fri Jul 11 2003 - ke@suse.de * Fri Jul 11 2003 ke@suse.de
- Fix typo in suse-catalog.xml entry: s/MathML/ISO 8879:1986/ . - Fix typo in suse-catalog.xml entry: s/MathML/ISO 8879:1986/ .
* Fri Jun 06 2003 - ke@suse.de * Fri Jun 06 2003 ke@suse.de
- Unregister sgml catalog at deinstallation only. - Unregister sgml catalog at deinstallation only.
* Wed Apr 30 2003 - ke@suse.de * Wed Apr 30 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.
* Fri Dec 13 2002 - ke@suse.de * Fri Dec 13 2002 ke@suse.de
- Now use the original .zip file. - Now use the original .zip file.
- Remove spurious entry from CATALOG.xmlcharent; reported by Thomas - Remove spurious entry from CATALOG.xmlcharent; reported by Thomas
Schraitle. Schraitle.
- Register catalog file using sgml-register-catalog. - Register catalog file using sgml-register-catalog.
* Mon Jun 24 2002 - ke@suse.de * Mon Jun 24 2002 ke@suse.de
- Initial package: version 0.3cvs (released zip file isn't - Initial package: version 0.3cvs (released zip file isn't
accessible since several days...). accessible since several days...).