jade.spec

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


Summary: Jade and SP -- parser and tools for SGML + DSSSL
Summary(pl): Jade i SP -- parser i narzędzia dla SGML i DSSSL
Name:jade
Version: 1_1_1
Release: 4
Requires: sgml-common
#Vendor: Cygnus Solutions
Vendor: Cygnus Solutions -- UNSUPPORTED
URL: http://www.jclark.com/jade/ 
#Source: ftp://ftp.jclark.com/pub/jade/%{name}%{version}.zip
Source: jade.tgz
Copyright: (C) 1997 James Clark (free) 
Group: Utilities/Text/SGML
Provides: sp
#Patch: jade.patch
#Patch1: jade-sol.patch
#Patch2: jade-drepper-tilde.patch
BuildRoot: /var/tmp/%{name}-%{Version}-%{release}-root

%description
Jade (James' DSSSL Engine) is an implementation of the DSSSL style
language.  This includes the patch recently posted to DSSSList to
correct catalog files specified on the command line.

%description -l pl 
  Jade (James' DSSSL Engine) jest implementacją DSSSL. Zawiera w sobie 
także parser SGMLa o nazwie SP (będący następcą pisanego w C sgmls) oraz 
narzędzia do ,,normalizacji'' SGMLa (sgmlnorm), konwersji tegoż do XMLa (sx).  

%prep

%setup -c 
%build
#cd jade; make -f Makefile.jade SGMLPATH=/usr/share/sgml
cd jade; make -f Makefile.jade DEFS=-DSGML_CATALOG_FILES_DEFAULT=\\\"/usr/share/sgml/CATALOG\\\"

%install
mkdir -p $RPM_BUILD_ROOT/usr
cd jade; make -f Makefile.jade install prefix="$RPM_BUILD_ROOT/usr"
# install jade/jade $RPM_BUILD_ROOT/usr/bin/jade 
strip $RPM_BUILD_ROOT/usr/bin/jade 
strip $RPM_BUILD_ROOT/usr/bin/nsgmls   
strip $RPM_BUILD_ROOT/usr/bin/spam     
strip $RPM_BUILD_ROOT/usr/bin/sgmlnorm 
strip $RPM_BUILD_ROOT/usr/bin/spent    
strip $RPM_BUILD_ROOT/usr/bin/sx    
mkdir -p $RPM_BUILD_ROOT/usr/share/sgml
cp dsssl/catalog $RPM_BUILD_ROOT/usr/share/sgml/dsssl.cat
cp dsssl/dsssl.dtd dsssl/style-sheet.dtd dsssl/fot.dtd $RPM_BUILD_ROOT/usr/share/sgml/

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

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

%files
%defattr(644, root, root, 755)
%attr(644 root root) %doc jade/doc/ jade/jadedoc/ jade/dsssl/ jade/pubtext/ jade/unicode/ jade/README jade/COPYING jade/VERSION
%attr(711 root root) /usr/bin/nsgmls   
%attr(711 root root) /usr/bin/spam     
%attr(711 root root) /usr/bin/sgmlnorm 
%attr(711 root root) /usr/bin/spent    
%attr(711 root root) /usr/bin/sx
%attr(711 root root) /usr/bin/jade
%attr(711 root root) /usr/share/sgml/*

%changelog 
* Mon Sep 07 1998 Ziemek Borowski <ziembor w faq-bot.ziembor.waw.pl>
[1.1.1-2] 
- added Polish .spec tranlation 
- more detailed .spec



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