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(post,postun): sgml-common >= 0.5
14 Requires: sgml-common >= 0.5
15 Provides: docbook-dtd-sgml
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The DocBook Document Type Definition (DTD) describes the syntax of
21 technical documentation texts (articles, books and manual pages). This
22 syntax is SGML-compliant and is developed by the OASIS consortium.
23 This is the version 3.0 of this DTD.
26 DocBook DTD jest zestawem definicji dokumentów przeznaczonych do
27 tworzenia dokumentacji programistycznej. Ten pakiet zawiera wersjê 3.0
32 chmod -R a+rX,g-w,o-w .
33 cp %{SOURCE1} Makefile
37 rm -rf $RPM_BUILD_ROOT
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
44 %triggerpostun -- docbook-dtd30-sgml < 1.0-15
45 if ! grep -q /etc/sgml/sgml-docbook-3.0.cat /etc/sgml/catalog ; then
46 /usr/bin/install-catalog --add /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/docbook/sgml-dtd-3.0/catalog > /dev/null
50 if ! grep -q /etc/sgml/sgml-docbook-3.0.cat /etc/sgml/catalog ; then
51 /usr/bin/install-catalog --add /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/docbook/sgml-dtd-3.0/catalog > /dev/null
55 if [ "$1" = "0" ] ; then
56 /usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-3.0.cat /usr/share/sgml/docbook/sgml-dtd-3.0/catalog > /dev/null
60 %defattr(644,root,root,755)
62 %{_datadir}/sgml/docbook/sgml-dtd-3.0