commit e5173b7809878feb2229382b50a8c39cf1b019f3ba7cfdd76026a9d03a008222 Author: Adrian Schröter Date: Fri May 3 13:50:18 2024 +0200 Sync from SUSE:SLFO:Main iso_ent revision 01e37b86f7a7ed498254d86bf05e2af9 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/ISOEnts.zip b/ISOEnts.zip new file mode 100644 index 0000000..863fea1 --- /dev/null +++ b/ISOEnts.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dce4359a3996ed2fd33ad5eaa11a9bcfc24b5b06992e24295132b06db19a99b2 +size 20510 diff --git a/ISOgrk5.gz b/ISOgrk5.gz new file mode 100644 index 0000000..8465278 --- /dev/null +++ b/ISOgrk5.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e99d0e3564994b17ab959dcb8be16b3e17460e9d093790d756bb0d7ea46a1b0c +size 2570 diff --git a/iso_ent.changes b/iso_ent.changes new file mode 100644 index 0000000..eeea5f9 --- /dev/null +++ b/iso_ent.changes @@ -0,0 +1,104 @@ +------------------------------------------------------------------- +Mon Jun 11 14:11:47 UTC 2012 - coolo@suse.com + +- change license to some spdx.org form - this a standard from w3.org, + so it can be distributed pretty much freely + +------------------------------------------------------------------- +Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de + +- make patch0 usage consistent + +------------------------------------------------------------------- +Thu Mar 29 11:07:42 CEST 2007 - ke@suse.de + +- Add BuildRequires: unzip + +------------------------------------------------------------------- +Mon May 15 18:24:45 CEST 2006 - ke@suse.de + +- Fix %postun script; reported by Andreas Hanke [# 175611]. + +------------------------------------------------------------------- +Sun Feb 19 20:39:55 CET 2006 - ro@suse.de + +- modify setup line in spec file + +------------------------------------------------------------------- +Wed Jan 25 21:46:34 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Feb 5 11:58:07 CET 2004 - hmacht@suse.de + +- added option # norootforbuild in specfile + +------------------------------------------------------------------- +Mon Jun 23 12:43:29 CEST 2003 - ke@suse.de + +- Use %postun for catalog removal. + +------------------------------------------------------------------- +Mon Nov 25 14:12:51 CET 2002 - ke@suse.de + +- Use sgml-register-catalog to add catalog to /etc/sgml/catalog. + +------------------------------------------------------------------- +Fri Nov 3 10:47:35 CET 2000 - ke@suse.de + +- Add lost ISOgrk5 (bug #4212). +- Mor spec file macros. + +------------------------------------------------------------------- +Thu Aug 17 12:23:18 CEST 2000 - ke@suse.de + +- Added_Latin_1 has to point to ISOlat1 (not ISOLat1) and Added_Latin_2 + to ISOlat2 (not ISOLat2). + +------------------------------------------------------------------- +Fri Jun 23 13:38:51 CEST 2000 - ke@suse.de + +- General cleanup. +- Use date string as version number. +- Now, it's noarch. + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Thu Sep 9 12:15:28 CEST 1999 - bs@suse.de + +- fixed call of Check at the end of %install section + +------------------------------------------------------------------- +Tue Jun 16 13:21:26 MEST 1998 - ke@suse.de + +- Provide a maybe useful link /usr/share/sgml/CATALOG.iso_ent. + +------------------------------------------------------------------- +Mon Jun 15 19:43:51 MEST 1998 - ke@suse.de + +- Install CATALOG as /var/lib/sgml/CATALOG.iso_ent. + +------------------------------------------------------------------- +Sun Mar 15 10:45:53 MET 1998 - ke@suse.de + +- Add CATALOG file. +- Provide a link for ISOgrk5. + +------------------------------------------------------------------- +Sat Oct 25 14:28:17 MEST 1997 - ke@suse.de + +- Make Makefile.Linux and friends obsolete. +- Don't escape `:' in file names of the %files list. + +Wed Oct 8 15:24:40 1997 - Karl Eichwalder + + * correct %install section. + +Mon Jun 30 11:03:32 1997 - Karl Eichwalder + + * initial package. diff --git a/iso_ent.dif b/iso_ent.dif new file mode 100644 index 0000000..3eb377b --- /dev/null +++ b/iso_ent.dif @@ -0,0 +1,43 @@ +--- iso_ent/CATALOG Fri Jun 23 07:35:30 2000 ++++ iso_ent/CATALOG Fri Jun 23 07:35:30 2000 +@@ -0,0 +1,39 @@ ++ -- ISO 8879 official entity sets -- ++ ++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" /usr/share/sgml/ISO_8879:1986/entities/Added_Math_Symbols:_Arrow_Relations ++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" /usr/share/sgml/ISO_8879:1986/entities/Added_Math_Symbols:_Binary_Operators ++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" /usr/share/sgml/ISO_8879:1986/entities/Added_Math_Symbols:_Delimiters ++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" /usr/share/sgml/ISO_8879:1986/entities/Added_Math_Symbols:_Negated_Relations ++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" /usr/share/sgml/ISO_8879:1986/entities/Added_Math_Symbols:_Ordinary ++PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" /usr/share/sgml/ISO_8879:1986/entities/Added_Math_Symbols:_Relations ++ ++PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" /usr/share/sgml/ISO_8879:1986/entities/Added_Latin_1 ++PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" /usr/share/sgml/ISO_8879:1986/entities/Added_Latin_2 ++PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" /usr/share/sgml/ISO_8879:1986/entities/Alternative_Greek_Symbols ++PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" /usr/share/sgml/ISO_8879:1986/entities/Box_and_Line_Drawing ++PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" /usr/share/sgml/ISO_8879:1986/entities/Diacritical_Marks ++PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" /usr/share/sgml/ISO_8879:1986/entities/General_Technical ++PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" /usr/share/sgml/ISO_8879:1986/entities/Greek_Letters ++PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" /usr/share/sgml/ISO_8879:1986/entities/Greek_Symbols ++PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" /usr/share/sgml/ISO_8879:1986/entities/Monotoniko_Greek ++PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" /usr/share/sgml/ISO_8879:1986/entities/Non-Russian_Cyrillic ++PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" /usr/share/sgml/ISO_8879:1986/entities/Numeric_and_Special_Graphic ++PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" /usr/share/sgml/ISO_8879:1986/entities/Publishing ++PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" /usr/share/sgml/ISO_8879:1986/entities/Russian_Cyrillic ++ ++ -- 9573-13:1991 : revised sets -- ++PUBLIC "ISO 9573-13:1991//ENTITIES Added Math Symbols: Arrow Relations//EN" /usr/share/sgml/ISO_9573-13:1991/entities/Added_Math_Symbols:_Arrow_Relations ++PUBLIC "ISO 9573-13:1991//ENTITIES Added Math Symbols: Binary Operators//EN" /usr/share/sgml/ISO_9573-13:1991/entities/Added_Math_Symbols:_Binary_Operators ++PUBLIC "ISO 9573-13:1991//ENTITIES Added Math Symbols: Delimiters//EN" /usr/share/sgml/ISO_9573-13:1991/entities/Added_Math_Symbols:_Delimiters ++PUBLIC "ISO 9573-13:1991//ENTITIES Added Math Symbols: Negated Relations//EN" /usr/share/sgml/ISO_9573-13:1991/entities/Added_Math_Symbols:_Negated_Relations ++PUBLIC "ISO 9573-13:1991//ENTITIES Added Math Symbols: Ordinary//EN" /usr/share/sgml/ISO_9573-13:1991/entities/Added_Math_Symbols:_Ordinary ++PUBLIC "ISO 9573-13:1991//ENTITIES Added Math Symbols: Relations//EN" /usr/share/sgml/ISO_9573-13:1991/entities/Added_Math_Symbols:_Relations ++ ++ -- 9573-13:1991 : revised extra set -- ++PUBLIC "ISO 9573-15:1993//ENTITIES Extra Classical Greek Letters//EN" /usr/share/sgml/ISO_9573-15:1991/entities/Extra_Classical_Greek_Letters ++ ++ ++-- CATALOG ends here. -- ++ ++ ++ + diff --git a/iso_ent.spec b/iso_ent.spec new file mode 100644 index 0000000..b6fd899 --- /dev/null +++ b/iso_ent.spec @@ -0,0 +1,134 @@ +# +# spec file for package iso_ent +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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/ +# + + +Name: iso_ent +BuildRequires: sgml-skel +BuildRequires: unzip +BuildArch: noarch +Provides: iso-ent +Provides: iso-entities +%define regcat /usr/bin/sgml-register-catalog +PreReq: %{regcat} +Version: 2000.11.03 +Release: 0 +Summary: Character Entity Sets for ISO 8879:1986 +License: SUSE-Permissive +Group: Productivity/Publishing/SGML +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define ke_pkg ISOEnts.zip +Source0: http://www.oasis-open.org/cover/ISOEnts.zip +Source1: ISOgrk5.gz +Patch: iso_ent.dif + +%description +Character entity sets for ISO 8879:1986. + + +%define INSTALL install -m755 -s +%define INSTALL_DIR install -d -m755 +%define INSTALL_DATA install -m644 +%define sgml_dir %{_datadir}/sgml +%define sgml_config_dir /var/lib/sgml + +%prep +%setup -n %{name} -c -T +unzip -aq $RPM_SOURCE_DIR/%{ke_pkg} +cp -p $RPM_SOURCE_DIR/ISOgrk5.gz . +gunzip ISOgrk5.gz +%patch -p1 + +%build + +%install +root=$RPM_BUILD_ROOT +# sgml_dir=${root}%{_datadir}/sgml +# sgml_dir_config=${root}/var/lib/sgml +sgml_dir_iso=$RPM_BUILD_ROOT%{sgml_dir}/iso-ent +sgml_dir_ISO=$RPM_BUILD_ROOT%{sgml_dir}/ISO_8879:1986/entities +%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_config_dir} +%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/iso-ent +%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/{ISO_8879:1986,ISO_9573-15:1993}/entities +%{INSTALL_DATA} ISO* $RPM_BUILD_ROOT%{sgml_dir}/iso-ent +%{INSTALL_DATA} CATALOG $RPM_BUILD_ROOT%{sgml_config_dir}/CATALOG.iso_ent +pushd $RPM_BUILD_ROOT%{sgml_dir} +ln -sf ../../../var/lib/sgml/CATALOG.iso_ent CATALOG.iso_ent +rm -f ISO_8879-1986 +ln -s ISO_8879:1986 ISO_8879-1986 +popd +pushd ${sgml_dir_ISO} +rm -f * 2>/dev/null +ln -s ../../iso-ent/ISOamsa Added_Math_Symbols:_Arrow_Relations +ln -s ../../iso-ent/ISOamsb Added_Math_Symbols:_Binary_Operators +ln -s ../../iso-ent/ISOamsc Added_Math_Symbols:_Delimiters +ln -s ../../iso-ent/ISOamsn Added_Math_Symbols:_Negated_Relations +ln -s ../../iso-ent/ISOamso Added_Math_Symbols:_Ordinary +ln -s ../../iso-ent/ISOamsr Added_Math_Symbols:_Relations +ln -s ../../iso-ent/ISObox Box_and_Line_Drawing +ln -s ../../iso-ent/ISOcyr1 Russian_Cyrillic +ln -s ../../iso-ent/ISOcyr2 Non-Russian_Cyrillic +ln -s ../../iso-ent/ISOdia Diacritical_Marks +ln -s ../../iso-ent/ISOgrk1 Greek_Letters +ln -s ../../iso-ent/ISOgrk2 Monotoniko_Greek +ln -s ../../iso-ent/ISOgrk3 Greek_Symbols +ln -s ../../iso-ent/ISOgrk4 Alternative_Greek_Symbols +ln -s ../../iso-ent/ISOlat1 Added_Latin_1 +ln -s ../../iso-ent/ISOlat2 Added_Latin_2 +ln -s ../../iso-ent/ISOnum Numeric_and_Special_Graphic +ln -s ../../iso-ent/ISOpub Publishing +ln -s ../../iso-ent/ISOtech General_Technical +popd +pushd $RPM_BUILD_ROOT%{sgml_dir} +rm -f ISO_9573-15-1993 +ln -s ISO_9573-15:1993 ISO_9573-15-1993 +popd +pushd $RPM_BUILD_ROOT%{sgml_dir}/ISO_9573-15:1993/entities +rm -f * 2>/dev/null +ln -s ../../iso-ent/ISOgrk5 Extra_Classical_Greek_Letters +popd + +%post +if [ -x %{regcat} ]; then + for c in iso_ent; do + %{regcat} -a %{sgml_dir}/CATALOG.$c \ + >/dev/null 2>&1 || true + done +fi +exit 0 + +%postun +if [ "$1" = "0" -a -x %{regcat} ]; then + for c in CATALOG.iso_ent; do + %{regcat} -r %{sgml_dir}/CATALOG.$c >/dev/null 2>&1 || : + done +fi + +%clean +rm -fr $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +# %doc README.SuSE +%config /var/lib/sgml/CATALOG.iso_ent +%{sgml_dir}/CATALOG.iso_ent +%{sgml_dir}/iso-ent +%{sgml_dir}/ISO_8879-1986 +%{sgml_dir}/ISO_8879:1986 +%{sgml_dir}/ISO_9573-15:1993 +%{sgml_dir}/ISO_9573-15-1993 + +%changelog