2 Summary: OpenJade -- DSSSL parser
3 Summary(pl): OpenJade -- parser DSSSL
7 License: Free (Copyright (C) 1999 The OpenJade group)
8 Group: Applications/Publishing/SGML
9 Source0: OpenJade-%{version}devel.%{snap}.tar.gz
10 URL: http://openjade.sourceforge.net/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRequires: gettext-devel
15 BuildRequires: opensp-devel >= 1.5
20 Requires: opensp >= 1.5
22 Prereq: /sbin/ldconfig
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Jade (James' DSSSL Engine) is an implementation of the DSSSL style
28 language. OpenJade is successor of Jade.
31 Jade (James' DSSSL Engine) jest implementacj± parsera DSSSL. OpenJade
35 Summary: OpenJade header files
36 Summary(pl): Pliki nag³ówkowe do bibliotek OpenJade
37 Group: Development/Libraries
38 Prereq: /sbin/ldconfig
39 Requires: %{name} = %{version}
42 Openjade header files.
44 %description devel -l pl
45 Pliki nag³ówkowe do bibliotek OpenJade.
48 Summary: OpenJade static libraries
49 Summary(pl): Biblioteki statyczne OpenJade
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}
54 OpenJade static libraries.
56 %description static -l pl
57 Biblioteki statyczne OpenJade.
60 %setup -q -n OpenJade-%{version}devel
64 find . -type d -name CVS -exec rm -rf {} \;
65 #missing files required by Makefile.am
66 LDFLAGS=""; export LDFLAGS
68 --enable-default-catalog=/etc/sgml/catalog \
69 --enable-default-search-path=/usr/share/sgml \
74 # it has /usr/share/Openjade hardcoded somewhere so it does not work
75 # --datadir=%{_datadir}/sgml
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT%{_datadir}/sgml
83 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
84 pkgdocdir=%{_defaultdocdir}/%{name}-%{version}
86 ln -sf "../OpenJade" $RPM_BUILD_ROOT%{_datadir}/sgml/%{name}-%{version}
89 ln -sf openjade $RPM_BUILD_ROOT%{_bindir}/jade
94 rm -rf $RPM_BUILD_ROOT
98 if ! grep -q /etc/sgml/openjade.cat /etc/sgml/catalog ; then
99 /usr/bin/install-catalog --add /etc/sgml/openjade.cat \
100 %{_datadir}/OpenJade/catalog
105 if [ "$1" = "0" ] ; then
106 /usr/bin/install-catalog --remove /etc/sgml/openjade.cat \
107 %{_datadir}/OpenJade/catalog
111 %defattr(644,root,root,755)
112 %doc %{_defaultdocdir}/%{name}-%{version}
113 %attr(755,root,root) %{_bindir}/*
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
119 %defattr(644,root,root,755)
120 %{_includedir}/OpenJade
121 %attr(755,root,root) %{_libdir}/lib*.so
125 %defattr(644,root,root,755)
126 %attr(644,root,root) %{_libdir}/lib*.a