1 Summary: SGML document type definition for DocBook 3.0
2 Summary(pl): DTD dla dokumentów DocBook 3.0
3 Name: docbook-dtd30-sgml
7 Group: Applications/Text
8 Source0: http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
9 Source1: %{name}-Makefile
10 Patch0: %{name}-catalog.patch
11 URL: http://www.oasis-open.org/docbook/
13 Requires: sgml-common >= 0.5
14 Requires(post): sgml-common >= 0.5
15 Requires(postun): sgml-common >= 0.5
17 Provides: docbook-dtd-sgml
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The DocBook Document Type Definition (DTD) describes the syntax of
22 technical documentation texts (articles, books and manual pages). This
23 syntax is SGML-compliant and is developed by the OASIS consortium.
24 This is the version 3.0 of this DTD.
27 DocBook DTD jest zestawem definicji dokumentów przeznaczonych do
28 tworzenia dokumentacji programistycznej. Ten pakiet zawiera wersjê 3.0
33 chmod -R a+rX,g-w,o-w .
34 cp %{SOURCE1} Makefile
38 rm -rf $RPM_BUILD_ROOT
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %{_datadir}/sgml/docbook/sgml-dtd-3.0
50 %triggerpostun -- docbook-dtd30-sgml < 1.0-15
51 if ! grep -q /etc/sgml/sgml-docbook-3.0.cat /etc/sgml/catalog ; then
52 /usr/bin/install-catalog --add /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/docbook/sgml-dtd-3.0/catalog > /dev/null
56 if ! grep -q /etc/sgml/sgml-docbook-3.0.cat /etc/sgml/catalog ; then
57 /usr/bin/install-catalog --add /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/docbook/sgml-dtd-3.0/catalog > /dev/null
61 if [ "$1" = "0" ] ; then
62 /usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/docbook/sgml-dtd-3.0/catalog > /dev/null