diff --git a/xmlcharent-0.3.tar.bz2 b/xmlcharent-0.3.tar.bz2 new file mode 100644 index 0000000..d6c9d3a Binary files /dev/null and b/xmlcharent-0.3.tar.bz2 differ diff --git a/xmlcharent.changes b/xmlcharent.changes new file mode 100644 index 0000000..3b2bc87 --- /dev/null +++ b/xmlcharent.changes @@ -0,0 +1,110 @@ +------------------------------------------------------------------- +Tue May 24 11:15:56 UTC 2022 - Dr. Werner Fink + +- Handle update case as well (boo#1199754) + +------------------------------------------------------------------- +Mon Jul 18 12:29:42 UTC 2016 - fvogt@suse.com + +- Use update-xml-catalog + +------------------------------------------------------------------- +Tue Aug 5 10:48:58 UTC 2014 - rsalevsky@suse.com + +- fix I/O error on installation + +------------------------------------------------------------------- +Wed May 28 11:26:49 UTC 2014 - rsalevsky@suse.com + +- using the xml-group-manager to manage the catalog entrys + +------------------------------------------------------------------- +Thu Dec 24 12:34:30 UTC 2009 - aj@suse.de + +- Only remove file from catalog if it disappeared. + +- Do not use release numbers, they're not needed anymore. + +------------------------------------------------------------------- +Tue Jan 27 00:29:12 CET 2009 - crrodriguez@suse.de + +- test if /usr/bin/edit-xml-catalog is executable before using it. + +------------------------------------------------------------------- +Thu Mar 29 11:09:59 CEST 2007 - ke@suse.de + +- Add BuildRequires: unzip + +------------------------------------------------------------------- +Thu Jan 11 14:51:37 CET 2007 - ke@suse.de + +- Remove /usr/share/xml from the files list. + +------------------------------------------------------------------- +Thu Aug 17 10:52:32 CEST 2006 - ke@suse.de + +- Remove SuSEconfig call and a %post warning for SL < 8.1. + +------------------------------------------------------------------- +Sun Feb 19 20:40:26 CET 2006 - ro@suse.de + +- modify setup line in spec file + +------------------------------------------------------------------- +Wed Jan 25 21:49:32 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Nov 3 11:25:34 CET 2004 - ke@suse.de + +- catalog.xml: Add namespace attribute as reported by Thomas Schraitle. + +------------------------------------------------------------------- +Mon May 24 15:23:19 CEST 2004 - ke@suse.de + +- Fix syntax of catalog.xml. + +------------------------------------------------------------------- +Mon Feb 9 17:24:38 CET 2004 - ke@suse.de + +- Adjust directories according to FHS 2.3: + * Move entity files to /usr/share/xml/entities/xmlcharent + * Provide compatibility links for SL =< 9.0 (log this info in + /var/adm/SuSEconfig/run-sgmldir-links for later processing). + +------------------------------------------------------------------- +Thu Feb 5 11:24:43 CET 2004 - hmacht@suse.de + +- added option # norootforbuild in specfile + +------------------------------------------------------------------- +Fri Jul 11 18:04:25 CEST 2003 - ke@suse.de + +- Fix typo in suse-catalog.xml entry: s/MathML/ISO 8879:1986/ . + +------------------------------------------------------------------- +Fri Jun 6 13:26:47 CEST 2003 - ke@suse.de + +- Unregister sgml catalog at deinstallation only. + +------------------------------------------------------------------- +Wed Apr 30 10:38:49 CEST 2003 - ke@suse.de + +- Use /etc/xml/suse-catalog.xml instead of /etc/xml/catalog. + +------------------------------------------------------------------- +Fri Dec 13 13:27:50 CET 2002 - ke@suse.de + +- Now use the original .zip file. +- Remove spurious entry from CATALOG.xmlcharent; reported by Thomas + Schraitle. +- Register catalog file using sgml-register-catalog. + +------------------------------------------------------------------- +Mon Jun 24 15:13:38 CEST 2002 - ke@suse.de + +- Initial package: version 0.3cvs (released zip file isn't + accessible since several days...). + + diff --git a/xmlcharent.sgml b/xmlcharent.sgml new file mode 100644 index 0000000..0fe007f --- /dev/null +++ b/xmlcharent.sgml @@ -0,0 +1,19 @@ +PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" "__DIR__/entities/iso-amsa.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" "__DIR__/entities/iso-amsb.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" "__DIR__/entities/iso-amsc.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" "__DIR__/entities/iso-amsn.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" "__DIR__/entities/iso-amso.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" "__DIR__/entities/iso-amsr.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" "__DIR__/entities/iso-box.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" "__DIR__/entities/iso-cyr1.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" "__DIR__/entities/iso-cyr2.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" "__DIR__/entities/iso-dia.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Greek Letters//EN//XML" "__DIR__/entities/iso-grk1.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" "__DIR__/entities/iso-grk2.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" "__DIR__/entities/iso-grk3.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" "__DIR__/entities/iso-grk4.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" "__DIR__/entities/iso-lat1.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" "__DIR__/entities/iso-lat2.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "__DIR__/entities/iso-num.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES Publishing//EN//XML" "__DIR__/entities/iso-pub.ent" +PUBLIC "-//ISO 8879:1986//ENTITIES General Technical//EN//XML" "__DIR__/entities/iso-tech.ent" diff --git a/xmlcharent.spec b/xmlcharent.spec new file mode 100644 index 0000000..427b737 --- /dev/null +++ b/xmlcharent.spec @@ -0,0 +1,68 @@ +# +# spec file for package xmlcharent +# +# Copyright (c) 2022 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: xmlcharent +Version: 0.3 +Release: 0 +Summary: XML Character Entities +License: BSD-3-Clause +Group: Productivity/Publishing/XML +URL: http://www.oasis-open.org/docbook/xmlcharent/ +Source0: xmlcharent-0.3.tar.bz2 +Source1: xmlcharent.xml +Source2: xmlcharent.sgml +Requires: sgml-skel >= 0.7 +Requires(post): sgml-skel >= 0.7 +Requires(postun):sgml-skel >= 0.7 +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +XML encodings for the 19 standard character entity sets defined in +non-normative Annex D of [ISO 8879:1986]. + +%prep +%setup -q -n %{name}-%{version} +sed 's|__DIR__|%{_datadir}/%{name}|' %{SOURCE1} > xmlcharent.xml +sed 's|__DIR__|%{_datadir}/%{name}|' %{SOURCE2} > xmlcharent.sgml + +%build + +%install +%{__mkdir} -p %{buildroot}%{_datadir}/%{name}/entities/ +%{__install} -m 0664 -D *.ent %{buildroot}%{_datadir}/%{name}/entities/ +%{__install} -m 0644 -D xmlcharent.xml %{buildroot}%{_sysconfdir}/xml/catalog.d/%{name}.xml +%{__install} -m 0644 -D xmlcharent.sgml %{buildroot}%{_datadir}/%{name}/%{name}.sgml + +%post +update-xml-catalog +sgml-register-catalog -a %{_datadir}/%{name}/%{name}.sgml + +%postun +update-xml-catalog +if ! test -e %{_datadir}/%{name}/%{name}.sgml +then + sgml-register-catalog -r %{_datadir}/%{name}/%{name}.sgml +fi + +%files +%defattr(-, root, root) +%{_datadir}/%{name} +%{_sysconfdir}/xml/catalog.d/%{name}.xml + +%changelog diff --git a/xmlcharent.xml b/xmlcharent.xml new file mode 100644 index 0000000..268d8cc --- /dev/null +++ b/xmlcharent.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + +