docbook-dsssl.spec
Ziemek Borowski
ziembor w FAQ-bot.ZiemBor.Waw.PL
Wto, 8 Wrz 1998, 21:29:53 CEST
Summary: Modular DocBook Stylesheets
Summary(pl): Arkusze stylistyczne DSSSL dla DocBook DTD
name: docbook-dsssl
version: 1.13
release: 1
vendor: Norman Walsh http://nwalsh.com/
requires: sgml-common, docbook30-dtd
obsoletes: stylesheets
source: db113.tar.gz
source1: docbook-online.dsl
patch: db113.pl-lang.patch
URL: http://nwalsh.com/docbook/dsssl/index.html
Copyright: (C) 1997, 1998 Norman Walsh (generally free)
Group: Utilities/Text/SGML
BuildRoot: /var/tmp/%{name}-%{version}-%{release}
BuildArchitectures: noarch
%define sgmlbase /usr
%description
DSSSL is a stylesheet language for both print and online rendering.
There is DSSSL stylesheets for DocBook DTD.
%description -l pl
docbook-dsssl jest zbiorem arkuszy stylistycznych pozwalających
przekształcić dokument napisany w DocBook DTD 3.0. na prezentację on-line
(wykorzystując HTML) lub na drukowany dokument (wykorzystując jadetex
lub RTF).
%prep
%setup -q -c
%patch
%build
echo "nothing to build"
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook
mkdir -p $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/common
mkdir -p $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/lib
mkdir -p $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/print
mkdir -p $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/html
cp -ap docbook/common $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/
cp -ap docbook/print $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/
cp -ap docbook/html $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/
cp -ap docbook/lib $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/
cp -ap docbook/catalog $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/
cp -ap docbook/docbook.dcl $RPM_BUILD_ROOT/usr/share/sgml/dsssl/docbook/
cp -ap $RPM_SOURCE_DIR/docbook-online.dsl $RPM_BUILD_ROOT/usr/share/sgml/dsssl
perl -pe 's#(\w+?)/(d\w+?.dsl)#dsssl/docbook/$1/$2#g' docbook/catalog | \
perl -pe 's#docbook.dcl#dsssl/docbook/docbook.dcl#g' > $RPM_BUILD_ROOT/usr/share/sgml/docbook-dsssl.cat
%clean
rm -rf $RPM_BUILD_ROOT
%post
# since old-postun is run *after* new-post, we must always cycle.
V=%{version}-%{release}
install-catalog --install %{name} --version $V
%postun
# since old-postun is run *after* new-post, we must always cycle.
V=%{version}-%{release}
install-catalog --remove %{name} --version $V
%files
%defattr(644, root, root, 755)
%doc docbook/doc docbook/test/ docbook/BUGS docbook/TODO docbook/README
%doc /usr/share/sgml/dsssl/docbook-online.dsl
%attr (644, root, root) /usr/share/sgml/dsssl/docbook
%attr (644, root, root) /usr/share/sgml/%{name}.cat
%changelog
* Mon Sep 07 1998 Ziemek Borowski <ziembor w faq-bot.ziembor.waw.pl>
[1.1.1-2]
- added Polish .spec tranlation
Więcej informacji o liście dyskusyjnej pld-devel-pl