Compare commits

...
Sign in to create a new pull request.

24 commits

Author SHA1 Message Date
Fedora Release Engineering
67ee877606 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 06:27:16 +00:00
Fedora Release Engineering
7d819d376d Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 17:57:11 +00:00
Fedora Release Engineering
ffc93d3395 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:12:19 +00:00
Fedora Release Engineering
dfc26a866e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 10:31:05 +00:00
Fedora Release Engineering
7f1ff4eb38 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 05:21:46 +00:00
Miroslav Suchý
fa14ef1978 convert GPL+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-06-17 16:14:27 +02:00
Software Management Team
833a9bfc2b Eliminate use of obsolete %patchN syntax (#2283636) 2024-05-30 12:46:49 +02:00
Fedora Release Engineering
b4ac264a29 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 02:46:47 +00:00
Ondřej Sloup
ba83d2461e Update license tag to the SPDX format (GPL-1.0-or-later) 2023-10-23 22:57:33 +02:00
Fedora Release Engineering
33161d1371 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 01:30:40 +00:00
Fedora Release Engineering
e23d4c02fb Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 03:06:03 +00:00
Fedora Release Engineering
81578231b0 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 08:28:07 +00:00
Fedora Release Engineering
26e4ba90c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 00:45:55 +00:00
Fedora Release Engineering
f1f540ced8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 17:26:53 +00:00
Fedora Release Engineering
11c238dace - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 20:16:58 +00:00
Ondrej Vasik
70a7947e59 Merge #3 Minor spec file cleanup 2021-01-14 17:48:17 +00:00
Tom Stellard
bd100d5815 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 21:25:22 +00:00
11a2a62524 Minor spec file cleanup 2020-12-24 21:45:06 +00:00
Fedora Release Engineering
8fae6a9221 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 10:36:52 +00:00
Fedora Release Engineering
e066068e19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 23:19:30 +00:00
Fedora Release Engineering
b979f9f7ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 23:09:47 +00:00
Fedora Release Engineering
97f73336ad - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 15:16:35 +00:00
13b68f854e Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:49 +01:00
Ondřej Vašík
14e52bb4b2 add basic manpages for sgml.conf(5) and sgmlwhich(1) (#1612272) 2018-10-05 14:14:30 +02:00
3 changed files with 136 additions and 12 deletions

View file

@ -2,21 +2,20 @@
Name: sgml-common
Version: 0.6.3
Release: 50%{?dist}
Group: Applications/Text
Release: 69%{?dist}
Summary: Common SGML catalog and DTD files
License: GPL+
License: GPL-1.0-or-later
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: http://www.w3.org/2003/entities/
URL: https://www.w3.org/2003/entities/
Source0: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz
Source0: https://www.sourceware.org/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
@ -26,11 +25,14 @@ 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
@ -42,9 +44,8 @@ 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+
License: GPL-1.0-or-later
Requires(pre): %{_bindir}/xmlcatalog
%description -n xml-common
@ -54,9 +55,9 @@ but that don't need to be included in main package.
%prep
%setup -q
%patch0 -p1 -b .umask
%patch1 -p1 -b .xmldir
%patch2 -p1 -b .quotes
%patch -P0 -p1 -b .umask
%patch -P1 -p1 -b .xmldir
%patch -P2 -p1 -b .quotes
# replace bogus links with files
automakedir=`ls -1d /usr/share/automake* | head -n +1`
@ -69,8 +70,7 @@ done
%configure
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR="$RPM_BUILD_ROOT" htmldir='%{_datadir}/doc' INSTALL='install -p'
%make_install htmldir='%{_datadir}/doc'
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/xml
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sgml/docbook
mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgml/docbook
@ -128,6 +128,10 @@ 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
@ -171,6 +175,8 @@ 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
@ -189,6 +195,63 @@ 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

40
sgml.conf.5 Normal file
View file

@ -0,0 +1,40 @@
.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)

21
sgmlwhich.1 Normal file
View file

@ -0,0 +1,21 @@
.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>