osloup / rpms / openjade

Forked from rpms/openjade a year ago
Clone

Blame SPECS/openjade.spec

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