html40-dtd.spec

Ziemek Borowski ziembor w FAQ-bot.ZiemBor.Waw.PL
Wto, 8 Wrz 1998, 21:29:55 CEST


Summary: HTML 4.0
Summary(pl): HTML 4.0
name: html40-dtd
version: 19980424
release: 1
Copyright: W3C 
Vendor: W3C
Requires: sgml-common
provides: html-dtd
Source: html40.tgz
Group: Utilities/Text/SGML
BuildRoot: /tmp/%{name}-%{version}-%{release}

%description
HTML 4.0 specification (with DTD, nedet do parsing HTML code).  

%description -l pl
Specyfikacja HTML 4.0 (wraz z DTD, potrzebnym do sprawdzania 
poprawności kodu HTML). 


%prep
%setup -c html40-dtd

%install
mkdir -p $RPM_BUILD_ROOT/usr/share/sgml/REC-html40-19980424
cp *.ent *.dtd *.cat *.decl $RPM_BUILD_ROOT/usr/share/sgml/REC-html40-19980424
rm *.ent *.dtd *.decl  
perl -pe 's#^PUBLIC "(.+?)" (.+)#PUBLIC "$1" REC-html40-19980424/$2#g' HTML4.cat > $RPM_BUILD_ROOT/usr/share/sgml/html40.cat 

%post
# since old-postun is run *after* new-post, we must always cycle.
V=%{version}-%{release}
install-catalog --install html40 --version %V

%postun
# since old-postun is run *after* new-post, we must always cycle.
V=%{version}-%{release}
install-catalog --remove html40 --version %V

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(644, root, root, 755)
%doc * 
/usr/share/sgml/REC-html40-19980424/*
/usr/share/sgml/html40.cat

%changelog
* Mon Sep 07 1998 Ziemek Borowski <ziembor w faq-bot.ziembor.waw.pl>
- first HTML 4.0 RPM. Based on W3C Recomendation. 



Więcej informacji o liście dyskusyjnej pld-devel-pl