openjade-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. Summary: A DSSSL implementation.
  2. Name: openjade
  3. Version: 1.3.2
  4. Release: 29%{?_dist_release}
  5. Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
  6. Patch0: openjade-ppc64.patch
  7. Patch1: openjade-1.3.1-nsl.patch
  8. Patch2: openjade-deplibs.patch
  9. Patch3: openjade-nola.patch
  10. License: BSD
  11. Group: Applications/Text
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. Obsoletes: openjade-devel < 1.3.2-17
  14. Obsoletes: jade
  15. Provides: jade
  16. Requires(post): sgml-common >= 0.5
  17. Requires(preun): sgml-common >= 0.5
  18. BuildRequires: opensp-devel
  19. %description
  20. OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
  21. (Document Style Semantics and Specification Language). OpenJade is
  22. based on James Clark's Jade implementation of DSSSL. OpenJade is a
  23. command-line application and a set of components. The DSSSL engine
  24. inputs an SGML or XML document and can output a variety of formats:
  25. XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
  26. %prep
  27. %setup -q
  28. %patch0 -p1
  29. %patch1 -p1
  30. %patch2 -p1 -b .deplibs
  31. %patch3 -p1 -b .nola
  32. %build
  33. %configure --disable-static --datadir=%{_datadir}/sgml/%{name}-%{version} \
  34. --enable-splibdir=%{_libdir}
  35. make
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install install-man DESTDIR=$RPM_BUILD_ROOT
  39. # Fix up libtool libraries
  40. find $RPM_BUILD_ROOT -name '*.la' | \
  41. xargs perl -p -i -e "s|-L$RPM_BUILD_DIR[\w/.-]*||g"
  42. # oMy, othis ois osilly.
  43. ln -s openjade $RPM_BUILD_ROOT/%{_prefix}/bin/jade
  44. echo ".so man1/openjade.1" > $RPM_BUILD_ROOT/%{_mandir}/man1/jade.1
  45. # install jade/jade $RPM_BUILD_ROOT/%{_prefix}/bin/jade
  46. cp dsssl/catalog $RPM_BUILD_ROOT/%{_datadir}/sgml/%{name}-%{version}/
  47. cp dsssl/{dsssl,style-sheet,fot}.dtd $RPM_BUILD_ROOT/%{_datadir}/sgml/%{name}-%{version}/
  48. # add unversioned/versioned catalog and symlink
  49. mkdir -p $RPM_BUILD_ROOT/etc/sgml
  50. cd $RPM_BUILD_ROOT/etc/sgml
  51. touch %{name}-%{version}-%{release}.soc
  52. ln -s %{name}-%{version}-%{release}.soc %{name}.soc
  53. cd -
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %post
  57. /sbin/ldconfig
  58. /usr/bin/install-catalog --add /etc/sgml/%{name}-%{version}-%{release}.soc \
  59. %{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
  60. %preun
  61. /usr/bin/install-catalog --remove /etc/sgml/%{name}-%{version}-%{release}.soc \
  62. %{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
  63. %postun -p /sbin/ldconfig
  64. %files
  65. %defattr(-,root,root)
  66. %doc jadedoc/* dsssl/README.jadetex
  67. %doc README COPYING VERSION
  68. %ghost /etc/sgml/%{name}-%{version}-%{release}.soc
  69. /etc/sgml/%{name}.soc
  70. %{_bindir}/*
  71. %{_libdir}/*.so
  72. %{_libdir}/*.so.*
  73. %{_mandir}/*/*
  74. %{_datadir}/sgml/%{name}-%{version}
  75. %exclude %{_libdir}/*.la
  76. %changelog
  77. * Fri Feb 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.2-29
  78. - updated Patch3 based on FC
  79. - added Patch4 from FC
  80. * Thu Sep 25 2008 Ondrej Vasik <ovasik@redhat.com> 1.3.2-32
  81. - do not require OpenSP libosp.la file for build(#485114)
  82. * Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.2-28
  83. - applied new versioning policy
  84. - used Requires(post,preun)
  85. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.2-27vl1
  86. - based on FC6 1.3.2-27 (opensp into separate package, no openjade-devel)
  87. - built with new toolchain
  88. - previous Vine changelogs were as follows:
  89. - Sat Aug 19 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.2-9vl2
  90. - skip libtoolize (cannot build if not so)
  91. - use %%{_sysconfdir}, %%{_datadir} instead of /etc, /usr/share
  92. - rename README, COPYING to *.{openjade,opensp}
  93. - Sat Feb 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-9vl1
  94. - add Patch12 to build with gcc33
  95. - add Patch13 to not link with libnsl
  96. - Mon May 05 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.2-2vl2
  97. - sorry, rebuilt without openjade-1.3.1-10vl2
  98. - Wed Apr 30 2003 IWAI Masaharu <iwai@alib.jp> 1.3.2-2vl1
  99. - sync rawhide-1.3.2-2
  100. * Mon Jul 17 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-27
  101. - Rebuilt.
  102. * Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-26
  103. - Fix dependent libs for libogrove (bug #198232).
  104. * Mon Jun 26 2006 Florian La Roche <laroche@redhat.com> 1.3.2-25
  105. - add redirection to /dev/null for preun
  106. * Tue Jun 13 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-24
  107. - Rebuild against opensp.
  108. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3.2-23.2
  109. - bump again for double-long bug on ppc(64)
  110. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3.2-23.1
  111. - rebuilt for new gcc4.1 snapshot and glibc changes
  112. * Fri Jan 6 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-23
  113. - Rebuild against new opensp.
  114. * Mon Dec 19 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-22
  115. - Fix SOC files.
  116. - Quieten scriptlets.
  117. * Mon Dec 19 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-21
  118. - Fix location of catalog.
  119. * Tue Dec 13 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-20
  120. - Use --enable-splibdir to prevent ambiguity.
  121. - Move 'install-catalog --remove' to %%preun section (bug #60409).
  122. * Thu Dec 8 2005 Terje Bless <link@pobox.com> - 1.3.2-19
  123. - Drop -devel subpackage.
  124. * Sun Dec 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.3.2-18
  125. - Really BuildRequire opensp-devel.
  126. - Clean up unneeded build dependencies and configure options.
  127. - Drop dependency on docbook-dtds.
  128. - Fix %%post(un) syntax and catalog installation.
  129. * Wed Nov 30 2005 Terje Bless <link@pobox.com> 1.3.2-17
  130. - Split opensp out into its own package.
  131. - BuildRequire OpenSP-devel, Require OpenSP.
  132. - Drop openjade-1.3.1-manpage.patch (it patches opensp, not openjade, and is
  133. obsolete with external opensp).
  134. * Tue Mar 1 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-16
  135. - Rebuilt for new GCC.
  136. * Wed Feb 9 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-15
  137. - Rebuilt.
  138. * Tue Oct 5 2004 Tim Waugh <twaugh@redhat.com> 1.3.2-14
  139. - Build requires gettext-devel (bug #134672).
  140. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  141. - rebuilt
  142. * Fri Mar 19 2004 Tim Waugh <twaugh@redhat.com> 1.3.2-11.2
  143. - Rebuilt.
  144. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  145. - rebuilt
  146. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  147. - rebuilt
  148. * Sat Jan 31 2004 Tim Waugh <twaugh@redhat.com> 1.3.2-10
  149. - More C++ fixes (for GCC 3.4).
  150. * Thu Dec 4 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-9
  151. - No longer need httphost patch.
  152. * Mon Oct 20 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-8
  153. - Rebuilt.
  154. * Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de> 1.3.2-7
  155. - do not link against -lnsl
  156. * Thu Aug 7 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-6
  157. - Rebootstrap to create a libtool that actually works.
  158. * Wed Aug 6 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-5
  159. - Rebuilt.
  160. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 1.3.2-4
  161. - rebuilt
  162. * Thu May 22 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-3
  163. - Fixes for GCC 3.3.
  164. - Use --parents for %doc.
  165. * Tue Mar 18 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-2
  166. - Provide sgml2xml man page (bug #83759).
  167. - Add devel subpackage.
  168. * Fri Mar 14 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-1
  169. - OpenSP 1.5, openjade 1.3.2.
  170. - Renumber patches.
  171. * Thu Feb 13 2003 Elliot Lee <sopwith@redhat.com> 1.3.1-13
  172. - Add openjade-ppc64.patch
  173. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  174. - rebuilt
  175. * Tue Jan 7 2003 Jeff Johnson <jbj@redhat.com> 1.3.1-11
  176. - don't include -debuginfo files in package.
  177. * Thu Dec 12 2002 Tim Waugh <twaugh@redhat.com>
  178. - Fix typo in description (bug #79395).
  179. * Mon Nov 4 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-10
  180. - Fix DTD retrieval from virtual hosts (bug #77137).
  181. * Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
  182. - rebuilt with gcc-3.2 (we hope)
  183. * Mon Jul 22 2002 Tim Powers <timp@redhat.com> 1.3.1-8
  184. - rebuild using gcc-3.2-0.1
  185. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.3.1-7
  186. - automated rebuild
  187. * Thu Jun 13 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-6
  188. - Fix sgmlnorm(1) man page (bug #64136).
  189. - Fix %%files list (bug #64323).
  190. * Thu May 23 2002 Tim Powers <timp@redhat.com> 1.3.1-5
  191. - automated rebuild
  192. * Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-4
  193. - Avoid bad triggers.
  194. * Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-3
  195. - Rebuild in new environment.
  196. * Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-2
  197. - Ship man pages.
  198. * Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-1
  199. - 1.3.1.
  200. - Patches no longer needed: decl, strdup, foo, size_t, 31525, indev,
  201. ligature, twosidestartonright.
  202. - Updated lt patch.
  203. * Mon Jan 14 2002 Tim Waugh <twaugh@redhat.com> 1.3-22
  204. - Enable build on GCC 3.0 onwards.
  205. - Run libtoolize.
  206. * Fri Nov 2 2001 Tim Waugh <twaugh@redhat.com> 1.3-21
  207. - Enable HTTP support. Now a DocBook XML document can be processed by
  208. either xsltproc or openjade.
  209. * Tue Oct 30 2001 Tim Waugh <twaugh@redhat.com> 1.3-20
  210. - Apply twosidestartonright patch from Ian Castle.
  211. * Thu Oct 11 2001 Tim Waugh <twaugh@redhat.com> 1.3-19
  212. - s/Copyright:/License:/
  213. - Use %%{_tmppath}.
  214. - Fix up libtool libraries (bug #46212).
  215. * Wed Sep 12 2001 Tim Powers <timp@redhat.com> 1.3-18
  216. - rebuild with new gcc and binutils
  217. * Fri Jun 15 2001 Tim Waugh <twaugh@redhat.com> 1.3-17
  218. - Apply patch from CVS to break up unintentional ligatures (bugs #11497,
  219. #11779)
  220. * Mon Jun 4 2001 Tim Waugh <twaugh@redhat.com> 1.3-16
  221. - Apply the iNdev openjade-1.3.patch patch.
  222. * Tue May 29 2001 Tim Waugh <twaugh@redhat.com> 1.3-15
  223. - ldconfig (bug #32824).
  224. - Fix up some libtool problems.
  225. * Fri Apr 27 2001 Bill Nottingham <notting@redhat.com> 1.3-14
  226. - rebuild for C++ exception handling on ia64
  227. - build with optimization on ia64
  228. * Tue Mar 13 2001 Tim Waugh <twaugh@redhat.com>
  229. - Avoid creating bogus TeX output for section headings containing
  230. special characters (#bug 31525).
  231. * Mon Jan 22 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  232. - Apply original autoconf patch to s390 s390x only. This patch can
  233. be deleted once s390* uses a current compiler.
  234. * Thu Jan 19 2001 Tim Waugh <twaugh@redhat.com>
  235. - Don't conflict with stylesheets; require sgml-common >= 0.5 instead.
  236. - Revert autoconf change, as it's still broken.
  237. * Wed Jan 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  238. - fix this autoconf macro to work on all archs :-)
  239. * Wed Jan 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  240. - apply patch from Fritz Elfert <felfert@to.com>
  241. - removed explicit stripping
  242. - Added autoconf macro for correctly recognizing if size_t
  243. is unsigned int
  244. * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
  245. - Default catalog file is /etc/sgml/catalog.
  246. * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
  247. - Conflict with stylesheets (new-trials location changes).
  248. - /usr/lib/sgml -> /usr/share/sgml/%%{name}-%%{version}.
  249. - Remove %%post and %%postun.
  250. * Wed Oct 18 2000 Matt Wilson <msw@redhat.com>
  251. - rebuilt against g++-2.96-60, fixes jade on alpha
  252. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  253. - automatic rebuild
  254. * Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
  255. - Rebuild with new C++
  256. * Wed May 31 2000 Matt Wilson <msw@redhat.com>
  257. - fix several C++ build problems (declarations)
  258. - build against new libstdc++
  259. * Wed May 17 2000 Matt Wilson <msw@redhat.com>
  260. - build with -O0 on alpha
  261. - fix -j testing
  262. * Thu May 5 2000 Bill Nottingham <notting@redhat.com>
  263. - openjade is maintained, and actually builds. Let's try that.
  264. * Thu Mar 9 2000 Bill Nottingham <notting@redhat.com>
  265. - this package is way too huge. strip *everything*
  266. * Mon Feb 21 2000 Matt Wilson <msw@redhat.com>
  267. - build with CXXFLAGS="-O2 -ggdb" to work around segfault on alpha
  268. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  269. - strip binaries
  270. * Wed Jan 5 2000 Bill Nottingham <notting@redhat.com>
  271. - sanitize spec file some
  272. * Tue Aug 17 1999 Tim Powers <timp@redhat.com>
  273. - fixed conflict problem with sgml-tools
  274. * Sat Jul 17 1999 Tim Powers <timp@redhat.com>
  275. - changed buildroot path to /var/tmp
  276. - rebuilt for 6.1
  277. * Fri Apr 23 1999 Michael K. Johnson <johnsonm@redhat.com>
  278. - quiet scripts
  279. * Thu Apr 23 1999 Owen Taylor <otaylor@redhat.com>
  280. - Made requires for sgml-common into prereq