6fed4a
Summary: A DSSSL implementation
6fed4a
Name: openjade
6fed4a
Version: 1.3.2
6fed4a
Release: 45%{?dist}
6fed4a
Requires: sgml-common
6fed4a
URL: http://openjade.sourceforge.net/
6fed4a
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
6fed4a
#config.sub and config.guess from upstream sources (Mar 25th 2013).
6fed4a
#http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
6fed4a
#http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
6fed4a
#I can't get them from autoreconf, because of the very strange openjade structure of config files
6fed4a
Source2:config.guess
6fed4a
Source3:config.sub
6fed4a
#fix build on ppc64
6fed4a
Patch0: openjade-ppc64.patch
6fed4a
#do not link against -lnsl
6fed4a
Patch1: openjade-1.3.1-nsl.patch
6fed4a
#Fix dependent libs for libogrove (bug #198232).
6fed4a
Patch2: openjade-deplibs.patch
6fed4a
#do not require OpenSP libosp.la file for build(#485114)
6fed4a
Patch3: openjade-nola.patch
6fed4a
#upstream bug tracker fix for build with gcc46
6fed4a
Patch4: openjade-1.3.2-gcc46.patch
6fed4a
#use Getopt:Std to prevent build failure
6fed4a
Patch5: openjade-getoptperl.patch
6fed4a
License: BSD
6fed4a
Group: Applications/Text
6fed4a
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6fed4a
6fed4a
#Last jade version is from Red Hat 6.2
6fed4a
Provides: jade = %{version}-%{release}
6fed4a
6fed4a
BuildRequires: opensp-devel
6fed4a
6fed4a
6fed4a
%description
6fed4a
OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
6fed4a
(Document Style Semantics and Specification Language). OpenJade is
6fed4a
based on James Clark's Jade implementation of DSSSL. OpenJade is a
6fed4a
command-line application and a set of components. The DSSSL engine
6fed4a
inputs an SGML or XML document and can output a variety of formats:
6fed4a
XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
6fed4a
6fed4a
6fed4a
%prep
6fed4a
%setup -q
6fed4a
%patch0 -p1
6fed4a
%patch1 -p1
6fed4a
%patch2 -p1 -b .deplibs
6fed4a
%patch3 -p1 -b .nola
6fed4a
%patch4 -p1 -b .gcc46
6fed4a
%patch5 -p1 -b .getopt
6fed4a
6fed4a
6fed4a
%build
6fed4a
cp -p %{SOURCE2} %{SOURCE3} config/
6fed4a
%configure --disable-static --datadir=%{_datadir}/sgml/%{name}-%{version} \
6fed4a
	--enable-splibdir=%{_libdir}
6fed4a
make
6fed4a
6fed4a
6fed4a
%install
6fed4a
rm -rf $RPM_BUILD_ROOT
6fed4a
6fed4a
make install install-man DESTDIR=$RPM_BUILD_ROOT
6fed4a
6fed4a
# oMy, othis ois osilly.
6fed4a
ln -s openjade $RPM_BUILD_ROOT/%{_bindir}/jade
6fed4a
echo ".so man1/openjade.1" > $RPM_BUILD_ROOT/%{_mandir}/man1/jade.1
6fed4a
6fed4a
# install jade/jade $RPM_BUILD_ROOT/%{prefix}/bin/jade
6fed4a
cp dsssl/catalog $RPM_BUILD_ROOT/%{_datadir}/sgml/%{name}-%{version}/
6fed4a
cp dsssl/{dsssl,style-sheet,fot}.dtd $RPM_BUILD_ROOT/%{_datadir}/sgml/%{name}-%{version}/
6fed4a
6fed4a
# add unversioned/versioned catalog and symlink
6fed4a
mkdir -p $RPM_BUILD_ROOT/etc/sgml
6fed4a
cd $RPM_BUILD_ROOT/etc/sgml
6fed4a
touch %{name}-%{version}-%{release}.soc
6fed4a
ln -s %{name}-%{version}-%{release}.soc %{name}.soc
6fed4a
cd -
6fed4a
6fed4a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.so $RPM_BUILD_ROOT%{_libdir}/*.la
6fed4a
6fed4a
%clean
6fed4a
rm -rf $RPM_BUILD_ROOT
6fed4a
6fed4a
%post
6fed4a
/sbin/ldconfig
6fed4a
/usr/bin/install-catalog --add /etc/sgml/%{name}-%{version}-%{release}.soc \
6fed4a
    %{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
6fed4a
6fed4a
%preun
6fed4a
/usr/bin/install-catalog --remove /etc/sgml/%{name}-%{version}-%{release}.soc \
6fed4a
    %{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
6fed4a
6fed4a
%postun -p /sbin/ldconfig
6fed4a
6fed4a
%files
6fed4a
%defattr(-,root,root,-)
6fed4a
%doc jadedoc/* dsssl/README.jadetex
6fed4a
%doc README COPYING VERSION
6fed4a
%ghost /etc/sgml/%{name}-%{version}-%{release}.soc
6fed4a
/etc/sgml/%{name}.soc
6fed4a
%{_bindir}/*
6fed4a
%{_libdir}/*.so.*
6fed4a
%{_mandir}/*/*
6fed4a
%{_datadir}/sgml/%{name}-%{version}
6fed4a
6fed4a
%changelog
6fed4a
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.3.2-45
6fed4a
- Mass rebuild 2014-01-24
6fed4a
6fed4a
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.3.2-44
6fed4a
- Mass rebuild 2013-12-27
6fed4a
6fed4a
* Mon Mar 25 2013 Ondrej Vasik <ovasik@redhat.com> 1.3.2-43
6fed4a
- Use upstream config.sub and config.guess to support aarch64(#926278)
6fed4a
6fed4a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-42
6fed4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6fed4a
6fed4a
* Fri Aug 10 2012 Ondrej Vasik <ovasik@redhat.com> 1.3.2-41
6fed4a
- avoid build failure with using Getopt::Std;
6fed4a
6fed4a
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-40
6fed4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6fed4a
6fed4a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-39
6fed4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6fed4a
6fed4a
* Wed Jun 08 2011 Ondrej Vasik <ovasik@redhat.com> 1.3.2-38
6fed4a
- fix build with gcc46 (upstream bug tracker)
6fed4a
6fed4a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-37
6fed4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6fed4a
6fed4a
* Thu Dec 10 2009 Ondrej Vasik <ovasik@redhat.com> 1.3.2-36
6fed4a
- Merge Review (#226213) - added url, fixed rpmlint warnings,
6fed4a
  no macros in changelog
6fed4a
6fed4a
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-35
6fed4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6fed4a
6fed4a
* Fri Feb 27 2009 Ondrej Vasik <ovasik@redhat.com> 1.3.2-34
6fed4a
- disable parallel build (culprit of build failure)
6fed4a
  - http://bugs.gentoo.org/181651
6fed4a
6fed4a
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-33
6fed4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6fed4a
6fed4a
* Thu Sep 25 2008 Ondrej Vasik <ovasik@redhat.com> 1.3.2-32
6fed4a
- do not require OpenSP libosp.la file for build(#485114)
6fed4a
6fed4a
* Mon Feb 11 2008 Ondrej Vasik <ovasik@redhat.com> 1.3.2-31
6fed4a
- gcc43 rebuild
6fed4a
6fed4a
* Mon Aug 27 2007 Ondrej Vasik <ovasik@redhat.com> 1.3.2-30
6fed4a
- changed license tag to BSD
6fed4a
- rebuilt for F8
6fed4a
6fed4a
* Mon Jul 23 2007 Ondrej Vasik <ovasik@redhat.com> 1.3.2-29
6fed4a
- improved dependent libs patch (bug #237500)
6fed4a
- same done for libospgrove.so
6fed4a
6fed4a
* Fri Feb  9 2007 Tim Waugh <twaugh@redhat.com> 1.3.2-28
6fed4a
- Don't ship .so or .la files (bug #203635).
6fed4a
- Added dist tag to release.
6fed4a
- Fixed summary.
6fed4a
- Fixed build root.
6fed4a
- Removed prefix tag.
6fed4a
6fed4a
* Mon Jul 17 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-27
6fed4a
- Rebuilt.
6fed4a
6fed4a
* Mon Jul 10 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-26
6fed4a
- Fix dependent libs for libogrove (bug #198232).
6fed4a
6fed4a
* Mon Jun 26 2006 Florian La Roche <laroche@redhat.com> 1.3.2-25
6fed4a
- add redirection to /dev/null for preun
6fed4a
6fed4a
* Tue Jun 13 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-24
6fed4a
- Rebuild against opensp.
6fed4a
6fed4a
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3.2-23.2
6fed4a
- bump again for double-long bug on ppc(64)
6fed4a
6fed4a
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3.2-23.1
6fed4a
- rebuilt for new gcc4.1 snapshot and glibc changes
6fed4a
6fed4a
* Fri Jan  6 2006 Tim Waugh <twaugh@redhat.com> 1.3.2-23
6fed4a
- Rebuild against new opensp.
6fed4a
6fed4a
* Mon Dec 19 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-22
6fed4a
- Fix SOC files.
6fed4a
- Quieten scriptlets.
6fed4a
6fed4a
* Mon Dec 19 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-21
6fed4a
- Fix location of catalog.
6fed4a
6fed4a
* Tue Dec 13 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-20
6fed4a
- Use --enable-splibdir to prevent ambiguity.
6fed4a
- Move 'install-catalog --remove' to %%preun section (bug #60409).
6fed4a
6fed4a
* Thu Dec  8 2005 Terje Bless <link@pobox.com> - 1.3.2-19
6fed4a
- Drop -devel subpackage.
6fed4a
6fed4a
* Sun Dec  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.3.2-18
6fed4a
- Really BuildRequire opensp-devel.
6fed4a
- Clean up unneeded build dependencies and configure options.
6fed4a
- Drop dependency on docbook-dtds.
6fed4a
- Fix %%post(un) syntax and catalog installation.
6fed4a
6fed4a
* Wed Nov 30 2005 Terje Bless <link@pobox.com> 1.3.2-17
6fed4a
- Split opensp out into its own package.
6fed4a
- BuildRequire OpenSP-devel, Require OpenSP.
6fed4a
- Drop openjade-1.3.1-manpage.patch (it patches opensp, not openjade, and is
6fed4a
  obsolete with external opensp).
6fed4a
6fed4a
* Tue Mar  1 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-16
6fed4a
- Rebuilt for new GCC.
6fed4a
6fed4a
* Wed Feb  9 2005 Tim Waugh <twaugh@redhat.com> 1.3.2-15
6fed4a
- Rebuilt.
6fed4a
6fed4a
* Tue Oct  5 2004 Tim Waugh <twaugh@redhat.com> 1.3.2-14
6fed4a
- Build requires gettext-devel (bug #134672).
6fed4a
6fed4a
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
6fed4a
- rebuilt
6fed4a
6fed4a
* Fri Mar 19 2004 Tim Waugh <twaugh@redhat.com> 1.3.2-11.2
6fed4a
- Rebuilt.
6fed4a
6fed4a
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
6fed4a
- rebuilt
6fed4a
6fed4a
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
6fed4a
- rebuilt
6fed4a
6fed4a
* Sat Jan 31 2004 Tim Waugh <twaugh@redhat.com> 1.3.2-10
6fed4a
- More C++ fixes (for GCC 3.4).
6fed4a
6fed4a
* Thu Dec  4 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-9
6fed4a
- No longer need httphost patch.
6fed4a
6fed4a
* Mon Oct 20 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-8
6fed4a
- Rebuilt.
6fed4a
6fed4a
* Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de> 1.3.2-7
6fed4a
- do not link against -lnsl
6fed4a
6fed4a
* Thu Aug  7 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-6
6fed4a
- Rebootstrap to create a libtool that actually works.
6fed4a
6fed4a
* Wed Aug  6 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-5
6fed4a
- Rebuilt.
6fed4a
6fed4a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 1.3.2-4
6fed4a
- rebuilt
6fed4a
6fed4a
* Thu May 22 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-3
6fed4a
- Fixes for GCC 3.3.
6fed4a
- Use --parents for %%doc.
6fed4a
6fed4a
* Tue Mar 18 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-2
6fed4a
- Provide sgml2xml man page (bug #83759).
6fed4a
- Add devel subpackage.
6fed4a
6fed4a
* Fri Mar 14 2003 Tim Waugh <twaugh@redhat.com> 1.3.2-1
6fed4a
- OpenSP 1.5, openjade 1.3.2.
6fed4a
- Renumber patches.
6fed4a
6fed4a
* Thu Feb 13 2003 Elliot Lee <sopwith@redhat.com> 1.3.1-13
6fed4a
- Add openjade-ppc64.patch
6fed4a
6fed4a
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
6fed4a
- rebuilt
6fed4a
6fed4a
* Tue Jan  7 2003 Jeff Johnson <jbj@redhat.com> 1.3.1-11
6fed4a
- don't include -debuginfo files in package.
6fed4a
6fed4a
* Thu Dec 12 2002 Tim Waugh <twaugh@redhat.com>
6fed4a
- Fix typo in description (bug #79395).
6fed4a
6fed4a
* Mon Nov  4 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-10
6fed4a
- Fix DTD retrieval from virtual hosts (bug #77137).
6fed4a
6fed4a
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
6fed4a
- rebuilt with gcc-3.2 (we hope)
6fed4a
6fed4a
* Mon Jul 22 2002 Tim Powers <timp@redhat.com> 1.3.1-8
6fed4a
- rebuild using gcc-3.2-0.1
6fed4a
6fed4a
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.3.1-7
6fed4a
- automated rebuild
6fed4a
6fed4a
* Thu Jun 13 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-6
6fed4a
- Fix sgmlnorm(1) man page (bug #64136).
6fed4a
- Fix %%files list (bug #64323).
6fed4a
6fed4a
* Thu May 23 2002 Tim Powers <timp@redhat.com> 1.3.1-5
6fed4a
- automated rebuild
6fed4a
6fed4a
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-4
6fed4a
- Avoid bad triggers.
6fed4a
6fed4a
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-3
6fed4a
- Rebuild in new environment.
6fed4a
6fed4a
* Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-2
6fed4a
- Ship man pages.
6fed4a
6fed4a
* Mon Jan 28 2002 Tim Waugh <twaugh@redhat.com> 1.3.1-1
6fed4a
- 1.3.1.
6fed4a
- Patches no longer needed: decl, strdup, foo, size_t, 31525, indev,
6fed4a
  ligature, twosidestartonright.
6fed4a
- Updated lt patch.
6fed4a
6fed4a
* Mon Jan 14 2002 Tim Waugh <twaugh@redhat.com> 1.3-22
6fed4a
- Enable build on GCC 3.0 onwards.
6fed4a
- Run libtoolize.
6fed4a
6fed4a
* Fri Nov  2 2001 Tim Waugh <twaugh@redhat.com> 1.3-21
6fed4a
- Enable HTTP support.  Now a DocBook XML document can be processed by
6fed4a
  either xsltproc or openjade.
6fed4a
6fed4a
* Tue Oct 30 2001 Tim Waugh <twaugh@redhat.com> 1.3-20
6fed4a
- Apply twosidestartonright patch from Ian Castle.
6fed4a
6fed4a
* Thu Oct 11 2001 Tim Waugh <twaugh@redhat.com> 1.3-19
6fed4a
- s/Copyright:/License:/
6fed4a
- Use %%{_tmppath}.
6fed4a
- Fix up libtool libraries (bug #46212).
6fed4a
6fed4a
* Wed Sep 12 2001 Tim Powers <timp@redhat.com> 1.3-18
6fed4a
- rebuild with new gcc and binutils
6fed4a
6fed4a
* Fri Jun 15 2001 Tim Waugh <twaugh@redhat.com> 1.3-17
6fed4a
- Apply patch from CVS to break up unintentional ligatures (bugs #11497,
6fed4a
  #11779)
6fed4a
6fed4a
* Mon Jun  4 2001 Tim Waugh <twaugh@redhat.com> 1.3-16
6fed4a
- Apply the iNdev openjade-1.3.patch patch.
6fed4a
6fed4a
* Tue May 29 2001 Tim Waugh <twaugh@redhat.com> 1.3-15
6fed4a
- ldconfig (bug #32824).
6fed4a
- Fix up some libtool problems.
6fed4a
6fed4a
* Fri Apr 27 2001 Bill Nottingham <notting@redhat.com> 1.3-14
6fed4a
- rebuild for C++ exception handling on ia64
6fed4a
- build with optimization on ia64
6fed4a
6fed4a
* Tue Mar 13 2001 Tim Waugh <twaugh@redhat.com>
6fed4a
- Avoid creating bogus TeX output for section headings containing
6fed4a
  special characters (#bug 31525).
6fed4a
6fed4a
* Mon Jan 22 2001 Florian La Roche <Florian.LaRoche@redhat.de>
6fed4a
- Apply original autoconf patch to s390 s390x only. This patch can
6fed4a
  be deleted once s390* uses a current compiler.
6fed4a
6fed4a
* Thu Jan 19 2001 Tim Waugh <twaugh@redhat.com>
6fed4a
- Don't conflict with stylesheets; require sgml-common >= 0.5 instead.
6fed4a
- Revert autoconf change, as it's still broken.
6fed4a
6fed4a
* Wed Jan 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
6fed4a
- fix this autoconf macro to work on all archs :-)
6fed4a
6fed4a
* Wed Jan 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
6fed4a
- apply patch from Fritz Elfert <felfert@to.com>
6fed4a
	- removed explicit stripping
6fed4a
	- Added autoconf macro for correctly recognizing if size_t
6fed4a
	  is unsigned int
6fed4a
6fed4a
* Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
6fed4a
- Default catalog file is /etc/sgml/catalog.
6fed4a
6fed4a
* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
6fed4a
- Conflict with stylesheets (new-trials location changes).
6fed4a
- /usr/lib/sgml -> /usr/share/sgml/%%{name}-%%{version}.
6fed4a
- Remove %%post and %%postun.
6fed4a
6fed4a
* Wed Oct 18 2000 Matt Wilson <msw@redhat.com>
6fed4a
- rebuilt against g++-2.96-60, fixes jade on alpha
6fed4a
6fed4a
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
6fed4a
- automatic rebuild
6fed4a
6fed4a
* Tue Jul  4 2000 Jakub Jelinek <jakub@redhat.com>
6fed4a
- Rebuild with new C++
6fed4a
6fed4a
* Wed May 31 2000 Matt Wilson <msw@redhat.com>
6fed4a
- fix several C++ build problems (declarations)
6fed4a
- build against new libstdc++
6fed4a
6fed4a
* Wed May 17 2000 Matt Wilson <msw@redhat.com>
6fed4a
- build with -O0 on alpha
6fed4a
- fix -j testing
6fed4a
6fed4a
* Thu May  5 2000 Bill Nottingham <notting@redhat.com>
6fed4a
- openjade is maintained, and actually builds. Let's try that.
6fed4a
6fed4a
* Thu Mar  9 2000 Bill Nottingham <notting@redhat.com>
6fed4a
- this package is way too huge. strip *everything*
6fed4a
6fed4a
* Mon Feb 21 2000 Matt Wilson <msw@redhat.com>
6fed4a
- build with CXXFLAGS="-O2 -ggdb" to work around segfault on alpha
6fed4a
6fed4a
* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
6fed4a
- strip binaries
6fed4a
6fed4a
* Wed Jan  5 2000 Bill Nottingham <notting@redhat.com>
6fed4a
- sanitize spec file some
6fed4a
6fed4a
* Tue Aug 17 1999 Tim Powers <timp@redhat.com>
6fed4a
- fixed conflict problem with sgml-tools
6fed4a
6fed4a
* Sat Jul 17 1999 Tim Powers <timp@redhat.com>
6fed4a
- changed buildroot path to /var/tmp
6fed4a
- rebuilt for 6.1
6fed4a
6fed4a
* Fri Apr 23 1999 Michael K. Johnson <johnsonm@redhat.com>
6fed4a
- quiet scripts
6fed4a
6fed4a
* Thu Apr 23 1999 Owen Taylor <otaylor@redhat.com>
6fed4a
- Made requires for sgml-common into prereq