Compare commits
24 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67ee877606 | ||
|
|
7d819d376d | ||
|
|
ffc93d3395 | ||
|
|
dfc26a866e | ||
|
|
7f1ff4eb38 | ||
|
|
fa14ef1978 | ||
|
|
833a9bfc2b | ||
|
|
b4ac264a29 | ||
|
|
ba83d2461e | ||
|
|
33161d1371 | ||
|
|
e23d4c02fb | ||
|
|
81578231b0 | ||
|
|
26e4ba90c7 | ||
|
|
f1f540ced8 | ||
|
|
11c238dace | ||
|
|
70a7947e59 | ||
|
|
bd100d5815 | ||
| 11a2a62524 | |||
|
|
8fae6a9221 | ||
|
|
e066068e19 | ||
|
|
b979f9f7ec | ||
|
|
97f73336ad | ||
| 13b68f854e | |||
|
|
14e52bb4b2 |
3 changed files with 136 additions and 12 deletions
|
|
@ -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
40
sgml.conf.5
Normal 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
21
sgmlwhich.1
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue