2 Summary: OpenJade -- DSSSL parser
3 Summary(pl): OpenJade -- parser DSSSL
8 License: Free (Copyright (C) 1999 The OpenJade group)
9 Group: Applications/Publishing/SGML
10 # Source0-md5: cbf3d8be3e3516dcb12b751de822b48c
11 Source0: http://download.sourceforge.net/openjade/%{name}-%{version}-pre%{pre}.tar.gz
12 URL: http://openjade.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: gettext-devel
17 BuildRequires: opensp-devel >= 1.5
19 Requires(post,postun): /sbin/ldconfig
20 Requires(post,postun): sgml-common
21 Requires: opensp >= 1.5-2
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Jade (James' DSSSL Engine) is an implementation of the DSSSL style
31 language. OpenJade is successor of Jade.
34 Jade (James' DSSSL Engine) jest implementacj± parsera DSSSL. OpenJade
38 Summary: OpenJade header files
39 Summary(pl): Pliki nag³ówkowe do bibliotek OpenJade
40 Group: Development/Libraries
41 Prereq: /sbin/ldconfig
42 Requires: %{name} = %{version}
45 Openjade header files.
47 %description devel -l pl
48 Pliki nag³ówkowe do bibliotek OpenJade.
51 Summary: OpenJade static libraries
52 Summary(pl): Biblioteki statyczne OpenJade
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}
57 OpenJade static libraries.
59 %description static -l pl
60 Biblioteki statyczne OpenJade.
63 %setup -q -n openjade-%{version}-pre%{pre}
67 find . -type d -name CVS -exec rm -rf {} \;
68 #missing files required by Makefile.am
69 LDFLAGS=""; export LDFLAGS
71 --enable-default-catalog=/etc/sgml/catalog \
72 --enable-default-search-path=/usr/share/sgml \
77 # it has /usr/share/Openjade hardcoded somewhere so it does not work
78 # --datadir=%{_datadir}/sgml
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_datadir}/sgml
86 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
87 pkgdocdir=%{_defaultdocdir}/%{name}-%{version}
89 ln -sf "../OpenJade" $RPM_BUILD_ROOT%{_datadir}/sgml/%{name}-%{version}
92 ln -sf openjade $RPM_BUILD_ROOT%{_bindir}/jade
97 rm -rf $RPM_BUILD_ROOT
101 if ! grep -q /etc/sgml/openjade.cat /etc/sgml/catalog ; then
102 /usr/bin/install-catalog --add /etc/sgml/openjade.cat \
103 %{_datadir}/OpenJade/catalog
108 if [ "$1" = "0" ] ; then
109 /usr/bin/install-catalog --remove /etc/sgml/openjade.cat \
110 %{_datadir}/OpenJade/catalog
114 %defattr(644,root,root,755)
115 %doc %{_defaultdocdir}/%{name}-%{version}
116 %attr(755,root,root) %{_bindir}/*
117 %attr(755,root,root) %{_libdir}/lib*.so.*.*
122 %defattr(644,root,root,755)
123 %{_includedir}/OpenJade
124 %attr(755,root,root) %{_libdir}/lib*.so
128 %defattr(644,root,root,755)
129 %attr(644,root,root) %{_libdir}/lib*.a