Compare commits

..

No commits in common. "rawhide" and "f29" have entirely different histories.

3 changed files with 12 additions and 136 deletions

View file

@ -2,20 +2,21 @@
Name: sgml-common
Version: 0.6.3
Release: 69%{?dist}
Release: 50%{?dist}
Group: Applications/Text
Summary: Common SGML catalog and DTD files
License: GPL-1.0-or-later
License: GPL+
BuildArch: noarch
#Actually - there is no homepage of this project, on that URL
#page you could get complete ISO 8879 listing as was on the
#old page - only part of it is included in sgml-common package.
URL: https://www.w3.org/2003/entities/
URL: http://www.w3.org/2003/entities/
Source0: https://www.sourceware.org/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz
Source0: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz
# Following 4 from openjade/pubtext - same maintainer as in SGML-common, so up2date:
Source1: xml.dcl
Source2: xml.soc
@ -25,14 +26,11 @@ Source5: http://www.w3.org/%{xmlxsdver}/xml.xsd
Source6: http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd
Source7: http://www.w3.org/2001/XMLSchema.dtd
Source8: http://www.w3.org/2001/datatypes.dtd
Source9: sgmlwhich.1
Source10: sgml.conf.5
Patch0: sgml-common-umask.patch
Patch1: sgml-common-xmldir.patch
Patch2: sgml-common-quotes.patch
BuildRequires: make
BuildRequires: libxml2
BuildRequires: automake
Requires: %{_bindir}/basename
@ -44,8 +42,9 @@ included in multiple packages. Sgml-common also includes an
up-to-date Open Catalog file.
%package -n xml-common
Group: Applications/Text
Summary: Common XML catalog and DTD files
License: GPL-1.0-or-later
License: GPL+
Requires(pre): %{_bindir}/xmlcatalog
%description -n xml-common
@ -55,9 +54,9 @@ but that don't need to be included in main package.
%prep
%setup -q
%patch -P0 -p1 -b .umask
%patch -P1 -p1 -b .xmldir
%patch -P2 -p1 -b .quotes
%patch0 -p1 -b .umask
%patch1 -p1 -b .xmldir
%patch2 -p1 -b .quotes
# replace bogus links with files
automakedir=`ls -1d /usr/share/automake* | head -n +1`
@ -70,7 +69,8 @@ done
%configure
%install
%make_install htmldir='%{_datadir}/doc'
rm -rf $RPM_BUILD_ROOT
make install DESTDIR="$RPM_BUILD_ROOT" htmldir='%{_datadir}/doc' INSTALL='install -p'
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/xml
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sgml/docbook
mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgml/docbook
@ -128,10 +128,6 @@ install -p -m0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
rm -rf $RPM_BUILD_ROOT%{_datadir}/xml/*
install -p -m0644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} \
$RPM_BUILD_ROOT%{_datadir}/xml
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
install -p -m0644 %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/man1
install -p -m0644 %{SOURCE10} $RPM_BUILD_ROOT%{_mandir}/man5
# remove installed doc file and prepare installation with %%doc
rm $RPM_BUILD_ROOT%{_datadir}/doc/*.html
@ -175,8 +171,6 @@ fi
%{_bindir}/sgmlwhich
%{_bindir}/install-catalog
%{_mandir}/man8/install-catalog.8*
%{_mandir}/man1/sgmlwhich.1*
%{_mandir}/man5/sgml.conf.5*
%files -n xml-common
%doc AUTHORS NEWS ChangeLog COPYING README
@ -195,63 +189,6 @@ fi
%{_datadir}/xml/datatypes.dtd
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jun 17 2024 Miroslav Suchý <msuchy@redhat.com> - 0.6.3-64
- convert license to SPDX
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Oct 23 2023 Ondrej Sloup <osloup@redhat.com> - 0.6.3-62
- Update license tag to the SPDX format
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Oct 05 2018 Ondrej Vasik <ovasik@redhat.com> - 0.6.3-51
- add basic manpages for sgml.conf(5) and sgmlwhich(1) (#1612272)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View file

@ -1,40 +0,0 @@
.TH SGML.CONF 5
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
sgml.conf \- basic configuration file for SGML environment variables
.SH "DESCRIPTION"
This file contains basic variables for SGML environment.
.HP
Format of this file is straightforward:
- Lines are either empty lines, comment lines (starting with hash mark) or variable assignments.
- Assigments take form of "variable=value" where whitespace is not allowed. This makes the format Bourne-shell includable.
.SH "VARIABLES"
.TP
.B SGML_BASE_DIR
This variable contains root of the location of sgml components. Suggested value for this variable is /usr/share/sgml.
.TP
.B SGML_CATALOGS_DIRS
This variable contains location of sgml catalog files. Suggested value is /etc/sgml.
.TP
.B SGML_EXTRA_BASE_DIRS
This variable contains the directory name(s) of the root of the location(s) of optional sgml components that the system administrator doesn't want to install to primary SGML_BASE_DIR directory. If multiple directory names are mentioned, they are separated by colons.
.TP
.B SGML_BIN_DIR
This variable contains the directory where executables should be placed. By default /usr/bin.
.TP
.B SGML_EXTRA_BIN_DIRS
This variable contains the directory name(s) where optional executables can be placed. Suggested and default value is /usr/local/bin. If multiple directory names are mentioned, they are separated by colons.
.TP
.B SGML_TMP_DIR
A hint to components where to put temporary files. The suggested and default value is /tmp.
.TP
.B SGML_POSTINSTALL_CMD
A command that is to be executed when new components have been installed. This mechanism is not used by default, sgml components are usually registered by %post scriptlets.
.SH "SEE ALSO"
.\" Always quote multiple words for .SH
.BR xsltproc (1)

View file

@ -1,21 +0,0 @@
.TH SGMLWHICH 1
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
sgmlwhich \- prints location of main sgml configuration file
.SH SYNOPSIS
.B sgmlwhich
.SH "DESCRIPTION"
Simple script which prints location of main sgml configuration file.
It is provided for consistency with non-LSB platforms.
.SH OPTIONS
Script doesn't accept any options.
.SH "SEE ALSO"
.\" Always quote multiple words for .SH
.BR sgml.conf (5)
.SH AUTHOR
Eric Bischoff <eric@caldera.de>