openjade-vl.spec 12 KB

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