Summary: SGML document type definition for DocBook 3.0
+Summary(pl): DTD dla dokumentów DocBook 3.0
Name: docbook-dtd30-sgml
Version: 1.0
-Release: 12
-License: Distributable
+Release: 13
+License: distributable
Group: Applications/Text
-Group(de): Applikationen/Text
-Group(pl): Aplikacje/Tekst
Source0: http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
Source1: %{name}-Makefile
Patch0: %{name}-catalog.patch
URL: http://www.oasis-open.org/docbook/
BuildRequires: unzip
Requires: sgml-common >= 0.5
-Requires(post): sgml-common >= 0.5
+Requires(post): sgml-common >= 0.5
Requires(postun): sgml-common >= 0.5
Requires: fileutils
BuildArch: noarch
syntax is SGML-compliant and is developed by the OASIS consortium.
This is the version 3.0 of this DTD.
+%description -l pl
+DocBook DTD jest zestawem definicji dokumentów przeznaczonych do
+tworzenia dokumentacji programistycznej. Ten pakiet zawiera wersjê 3.0
+DTD.
%prep
%setup -q -c -T
gzip -9nf *.txt
%clean
-rm -rf $DESTDIR
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc *.gz
%{_datadir}/sgml/docbook/sgml-dtd-3.0
-
%post
# Update the centralized catalog corresponding to this version of the DTD
/usr/bin/install-catalog --add /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/sgml-iso-entities-8879.1986/catalog > /dev/null
STYLESHEETS=$(echo /usr/share/sgml/docbook/dsssl-stylesheets-*)
STYLESHEETS=${STYLESHEETS##*/dsssl-stylesheets-}
if [ "$STYLESHEETS" != "*" ]; then
- /usr/bin/install-catalog --add /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/openjade-1.3/catalog > /dev/null
+ /usr/bin/install-catalog --add /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/openjade-1.4/catalog > /dev/null
/usr/bin/install-catalog --add /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog > /dev/null
fi
STYLESHEETS=$(echo /usr/share/sgml/docbook/dsssl-stylesheets-*)
STYLESHEETS=${STYLESHEETS##*/dsssl-stylesheets-}
if [ "$STYLESHEETS" != "*" ]; then
- /usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/openjade-1.3/catalog > /dev/null
+ /usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/openjade-1.4/catalog > /dev/null
/usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/docbook/dsssl-stylesheets-$STYLESHEETS/catalog > /dev/null
fi