Sync from SUSE:SLFO:Main sgml-skel revision 86c432c5fb918af6d75ac49913dfb91e
This commit is contained in:
commit
b820cc9dc8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
BIN
sgml-skel-0.7.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
sgml-skel-0.7.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
243
sgml-skel.changes
Normal file
243
sgml-skel.changes
Normal file
@ -0,0 +1,243 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 25 16:07:19 UTC 2022 - Thomas Schraitle <thomas.schraitle@suse.com> - 0.7.2
|
||||
|
||||
- Create version 0.7.2
|
||||
- Ensure resulting file has proper SELinux context (#6)
|
||||
- Apply spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 27 11:41:23 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- %post uses sed, so add `Requires(post): sed`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 17:47:56 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Use pretty url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 16:12:56 UTC 2017 - sven-mario.seeberg-elverfeldt@suse.com
|
||||
|
||||
- removed _service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 15:31:16 UTC 2017 - sven-mario.seeberg-elverfeldt@suse.com
|
||||
|
||||
- Version 0.7.1 (bsc#1022632)
|
||||
- Fixed handling of empty /etc/xml/catalog.d
|
||||
- Fixed handling of hidden files in /etc/xml/catalog.d
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 4 11:37:09 UTC 2016 - toms@opensuse.org
|
||||
|
||||
- Fix for bsc#1002759: change order in /etc/xml/catalog
|
||||
Needed to make precedence of catalog-d.xml over older method
|
||||
(suse-catalog.xml)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 14:50:47 UTC 2016 - fvogt@suse.com
|
||||
|
||||
- Improve specfile
|
||||
- Version 0.7:
|
||||
- Move to GitHub
|
||||
- Integrate:
|
||||
- sgml-skel-edit-cat.diff
|
||||
- sgml-skel-regcat.diff
|
||||
- sgml-skel-regcat2.diff
|
||||
- edit-xml-catalog.sh
|
||||
- install-catalog.in
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 15 13:08:00 UTC 2015 - ke@suse.com
|
||||
|
||||
- only create suse-catalog.xml at installation time; not in the update case.
|
||||
- Add Requires(post): libxml2-tools for xmlcatalog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 14:37:24 UTC 2015 - ke@suse.de
|
||||
|
||||
- %post: create %{_sysconfdir}/xml/suse-catalog.xml to avoid validation
|
||||
errors if in case no other DTD is installed [bsc#936596].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 30 01:21:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- remove '-e' option of 'echo' command in install-catalog script.
|
||||
That option may be unsupported in some POSIX-complete shells
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 16:49:07 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add automake as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 14 13:58:15 CEST 2008 - ke@suse.de
|
||||
|
||||
- sgml-skel-edit-cat.diff: Edit catalog file in place; try to keep file
|
||||
permissions. Reported by Jörg Mayer [bnc#386791].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 14 10:30:40 CEST 2007 - ke@suse.de
|
||||
|
||||
- PreReq /bin/mv . Reported by Andreas Jaeger [#274128].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 29 10:59:15 CET 2007 - ke@suse.de
|
||||
|
||||
- Fix debug code in edit-xml-catalog. Reported by Andreas Hanke and
|
||||
Dirk Mueller [# 237652].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 14 16:40:32 CEST 2006 - ke@suse.de
|
||||
|
||||
- Provide /etc/xml/catalog.
|
||||
- SuSEconfig.sgml-skel: Remove it. It was required to solve on update
|
||||
issue while introducing the /usr/share/xml hierarchy. It is obsolete
|
||||
now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:47:50 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 4 09:14:21 CEST 2005 - ke@suse.de
|
||||
|
||||
- PreReq /bin/awk; reported by Marco Michna [# 94798].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 24 09:59:33 CEST 2005 - ke@suse.de
|
||||
|
||||
- Add %{_sysconfdir}/xml/suse-catalog.xml and mark it as %ghost.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 11:42:33 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Mark %{_sysconfdir}/sgml/catalog as %ghost and remove %pre.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 12 00:54:48 CET 2004 - mmj@suse.de
|
||||
|
||||
- cp used in %pre so add to PreReq:
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 25 08:44:41 CEST 2004 - ke@suse.de
|
||||
|
||||
- edit-xml-catalog.sh: Drop dependency on getopt to avoid adding more
|
||||
PreReqs in packages depending on sgml-skel. Reported by Thorsten
|
||||
Kukuk [# 44154].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 16:01:40 CET 2004 - hmacht@suse.de
|
||||
|
||||
- building as non-root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 12 15:34:41 CET 2004 - ke@suse.de
|
||||
|
||||
- Fix tei-xsl link.
|
||||
- Add svg-dtd links.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 11 17:35:18 CET 2004 - ke@suse.de
|
||||
|
||||
- Correct resp. change some links; add tei-xsl-stylesheets.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 5 17:01:32 CET 2004 - ke@suse.de
|
||||
|
||||
- Correct docbook-xsl-stylesheets related compat links.
|
||||
- Add links for mathml-dtd.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 30 18:11:05 CET 2004 - ke@suse.de
|
||||
|
||||
- Also create docbook-xsl-stylesheets related compat links (FHS 2.3
|
||||
related change).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 23 16:21:57 CET 2004 - ke@suse.de
|
||||
|
||||
- Add SuSEconfig.sgml-skel: In case of an update provide compatibility
|
||||
links.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 31 17:50:22 CEST 2003 - meissner@suse.de
|
||||
|
||||
- autoreconf -i -f, so the --build arch switch detects ppc64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 17:21:56 CEST 2003 - ke@suse.de
|
||||
|
||||
- Drop /usr/share/sgml from and add /etc/xml to %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 09:25:49 CEST 2003 - ke@suse.de
|
||||
|
||||
- Add option --group to build <group>...</group> sections with id
|
||||
attributes in catalog files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 16:40:46 CEST 2003 - ke@suse.de
|
||||
|
||||
- Add option --catalog to allow editing arbitrary catalog files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 11:23:26 CEST 2003 - ke@suse.de
|
||||
|
||||
- Add edit-xml-catalog.sh, a script for editing /etc/xml/catalog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 11 10:16:42 CET 2002 - ke@suse.de
|
||||
|
||||
- sgml-skel-regcat2.diff: Don't register catalogs twice.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 13:49:11 CET 2002 - ke@suse.de
|
||||
|
||||
- Update to version 0.6:
|
||||
* New script: sgml-register-catalog.
|
||||
- sgml-skel-regcat.diff: Remove subcatalog without checking unrelated
|
||||
stuff.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 11:29:30 CET 2002 - ke@suse.de
|
||||
|
||||
- /etc/sgml/catalog now belongs to this package; preserve backup in case
|
||||
sgmltools-lite owns it at the same time.
|
||||
- Install install-catalog without suffix.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 16:31:04 CET 2002 - ke@suse.de
|
||||
|
||||
- Add install-catalog.sh (from CVS:docbook-tools/sgml-common).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 27 09:51:20 CEST 2002 - ke@suse.de
|
||||
|
||||
- Update to version 0.5:
|
||||
- New scripts: sgml2xmlcat.sh (re-written, replacement for
|
||||
sgmlcat2x.sh) and parse-sgml-catalog.sh to normalized SGML Open
|
||||
catalogs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 11:39:53 CEST 2002 - ke@suse.de
|
||||
|
||||
- Add sgmlcat2x.sh to parse normalized traditional SGML catalog files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 08:27:12 CEST 2001 - ke@suse.de
|
||||
|
||||
- Update to version 0.2 (now it's a proper package):
|
||||
- Recognize ISO identifiers (additionally to '-//' and '+//' owner
|
||||
tags).
|
||||
- Handle language and version field.
|
||||
- More error checking.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 22 11:40:41 CET 2001 - ke@suse.de
|
||||
|
||||
- New package.
|
||||
|
||||
|
||||
|
93
sgml-skel.spec
Normal file
93
sgml-skel.spec
Normal file
@ -0,0 +1,93 @@
|
||||
#
|
||||
# spec file for package sgml-skel
|
||||
#
|
||||
# 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: sgml-skel
|
||||
Version: 0.7.2
|
||||
Release: 0
|
||||
Summary: Helper Scripts for the SGML System
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Publishing/SGML
|
||||
URL: https://github.com/openSUSE/sgml-skel
|
||||
Source0: https://github.com/openSUSE/sgml-skel/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: automake
|
||||
BuildRequires: libxml2
|
||||
Requires: /bin/awk
|
||||
Requires: bash
|
||||
Requires: coreutils
|
||||
Requires: findutils
|
||||
Requires: libxml2-tools
|
||||
Requires: libxslt-tools
|
||||
Requires(post): /bin/awk
|
||||
Requires(post): bash
|
||||
Requires(post): coreutils
|
||||
Requires(post): findutils
|
||||
Requires(post): libxml2-tools
|
||||
Requires(post): libxslt-tools
|
||||
Requires(post): sed
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
These scripts will help prepare and maintain parts of an SGML system.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure
|
||||
|
||||
%install
|
||||
%make_install
|
||||
ln -sf sgml2xmlcat.sh %{buildroot}%{_bindir}/sgmlcat2x.sh
|
||||
ln -sf install-catalog %{buildroot}%{_bindir}/install-catalog.sh
|
||||
ln -sf edit-xml-catalog %{buildroot}%{_bindir}/edit-xml-catalog.sh
|
||||
install -d -m755 %{buildroot}%{_datadir}/sgml
|
||||
install -d -m755 %{buildroot}%{_sysconfdir}/{sgml,xml}
|
||||
install -d -m755 %{buildroot}%{_localstatedir}/lib/sgml
|
||||
touch %{buildroot}%{_sysconfdir}/sgml/catalog
|
||||
xmlcatalog --noout --create %{buildroot}%{_sysconfdir}/xml/suse-catalog.xml
|
||||
xmlcatalog --noout --create %{buildroot}%{_sysconfdir}/xml/catalog
|
||||
# Use correct order: first new method, second old method
|
||||
xmlcatalog --noout --add "nextCatalog" "catalog-d.xml" "catalog-d.xml" %{buildroot}%{_sysconfdir}/xml/catalog
|
||||
xmlcatalog --noout --add "nextCatalog" "suse-catalog.xml" "suse-catalog.xml" %{buildroot}%{_sysconfdir}/xml/catalog
|
||||
install -d -m755 %{buildroot}%{_sysconfdir}/xml/catalog.d
|
||||
|
||||
%post
|
||||
# only create suse-catalog.xml at installation time; not in the update case
|
||||
if [ "$1" = 1 ]; then
|
||||
[ -r %{_sysconfdir}/xml/suse-catalog.xml ] \
|
||||
|| xmlcatalog --create | sed 's:/>:>\
|
||||
</catalog>:' >%{_sysconfdir}/xml/suse-catalog.xml
|
||||
fi
|
||||
update-xml-catalog
|
||||
|
||||
%files
|
||||
%dir %{_sysconfdir}/sgml
|
||||
%dir %{_sysconfdir}/xml
|
||||
%dir %{_sysconfdir}/xml/catalog.d
|
||||
%dir %{_localstatedir}/lib/sgml
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog README*
|
||||
%ghost %{_sysconfdir}/sgml/catalog
|
||||
%ghost %{_sysconfdir}/xml/suse-catalog.xml
|
||||
%ghost %{_sysconfdir}/xml/catalog-d.xml
|
||||
%config %verify(not md5 size mtime) %{_sysconfdir}/xml/catalog
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user