2005-12-13 19:14:36 +00:00
|
|
|
Summary: SGML and XML parser
|
|
|
|
Name: opensp
|
2006-01-05 13:29:04 +00:00
|
|
|
Version: 1.5.2
|
2013-02-14 09:29:10 +00:00
|
|
|
Release: 16%{?dist}
|
2005-12-13 19:14:36 +00:00
|
|
|
Requires: sgml-common >= 0.5
|
|
|
|
URL: http://openjade.sourceforge.net/
|
|
|
|
Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
|
2006-05-26 17:20:31 +00:00
|
|
|
Patch0: opensp-multilib.patch
|
2006-10-13 13:00:41 +00:00
|
|
|
Patch1: opensp-nodeids.patch
|
2007-06-21 12:43:36 +00:00
|
|
|
Patch2: opensp-sigsegv.patch
|
2008-10-22 19:06:50 +00:00
|
|
|
License: MIT
|
2005-12-13 19:14:36 +00:00
|
|
|
Group: Applications/Text
|
2007-02-12 18:37:26 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-12-13 19:14:36 +00:00
|
|
|
|
|
|
|
BuildRequires: xmlto, jadetex
|
|
|
|
|
|
|
|
%description
|
|
|
|
OpenSP is an implementation of the ISO/IEC 8879:1986 standard SGML
|
|
|
|
(Standard Generalized Markup Language). OpenSP is based on James
|
|
|
|
Clark's SP implementation of SGML. OpenSP is a command-line
|
|
|
|
application and a set of components, including a generic API.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Files for developing applications that use OpenSP
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Header files and libtool library for developing applications that use OpenSP.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n OpenSP-%{version}
|
2006-05-26 17:20:31 +00:00
|
|
|
%patch0 -p1 -b .multilib
|
2006-10-13 13:00:41 +00:00
|
|
|
%patch1 -p1 -b .nodeids
|
2007-06-21 12:43:36 +00:00
|
|
|
%patch2 -p1 -b .sigsegv
|
2008-10-24 10:09:06 +00:00
|
|
|
# convert files to UTF-8
|
|
|
|
iconv -f latin1 -t utf8 ChangeLog -o ChangeLog.tmp
|
|
|
|
mv -f ChangeLog.tmp ChangeLog
|
2005-12-13 19:14:36 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-dependency-tracking --disable-static --enable-http \
|
|
|
|
--enable-default-catalog=%{_sysconfdir}/sgml/catalog \
|
|
|
|
--enable-default-search-path=%{_datadir}/sgml:%{_datadir}/xml
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
2008-10-22 19:06:50 +00:00
|
|
|
# Get rid of libtool libraries
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
2005-12-13 19:14:36 +00:00
|
|
|
|
|
|
|
# oMy, othis ois osilly.
|
|
|
|
for file in nsgmls sgmlnorm spam spent sx ; do
|
|
|
|
ln -s o$file $RPM_BUILD_ROOT%{_bindir}/$file
|
|
|
|
echo ".so man1/o${file}.1" > $RPM_BUILD_ROOT%{_mandir}/man1/${file}.1
|
|
|
|
done
|
|
|
|
|
|
|
|
#
|
|
|
|
# Rename sx to sgml2xml.
|
|
|
|
mv $RPM_BUILD_ROOT%{_bindir}/sx $RPM_BUILD_ROOT%{_bindir}/sgml2xml
|
|
|
|
mv $RPM_BUILD_ROOT%{_mandir}/man1/{sx,sgml2xml}.1
|
|
|
|
|
|
|
|
#
|
|
|
|
# Clean out (installed) redundant copies of the docs and DTDs.
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/OpenSP
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/OpenSP
|
|
|
|
|
2006-01-05 13:29:04 +00:00
|
|
|
%find_lang sp5
|
2005-12-13 19:14:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
2008-10-22 19:06:50 +00:00
|
|
|
make check || : # TODO: failures as of 1.5.2 :(
|
2005-12-13 19:14:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
2006-01-05 13:29:04 +00:00
|
|
|
%files -f sp5.lang
|
2005-12-13 19:14:36 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/*.htm
|
2006-01-05 13:29:04 +00:00
|
|
|
%doc docsrc/releasenotes.html
|
2005-12-13 19:14:36 +00:00
|
|
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README
|
|
|
|
%doc pubtext/opensp-implied.dcl
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/libosp.so.*
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/OpenSP/
|
|
|
|
%{_libdir}/libosp.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-02-14 09:29:10 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 07:05:37 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 11:44:09 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 03:29:52 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-25 20:53:20 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 08:47:36 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-10-24 10:09:06 +00:00
|
|
|
* Fri Oct 24 2008 Ondrej Vasik <ovasik@redhat.com> 1.5.2-10
|
|
|
|
- move conversion to prep, do not convert html doc(#226217)
|
|
|
|
|
2008-10-23 08:51:08 +00:00
|
|
|
* Thu Oct 23 2008 Ondrej Vasik <ovasik@redhat.com> 1.5.2-9
|
|
|
|
- convert doc files to UTF-8 (#226217)
|
|
|
|
|
2008-10-22 19:06:50 +00:00
|
|
|
* Wed Oct 22 2008 Ondrej Vasik <ovasik@redhat.com> 1.5.2-8
|
|
|
|
- merge review by V.Skyttä (#226217), changed license to
|
|
|
|
MIT, dropped .la, adjusted comments
|
|
|
|
|
2008-02-11 09:51:18 +00:00
|
|
|
* Mon Feb 11 2008 Ondrej Vasik <ovasik@redhat.com> 1.5.2-7
|
|
|
|
- gcc43 rebuild
|
|
|
|
|
2007-08-27 12:58:18 +00:00
|
|
|
* Mon Aug 27 2007 Ondrej Vasik <ovasik@redhat.com> 1.5.2-6
|
|
|
|
- License tag change to BSD
|
|
|
|
- Rebuilt for F8
|
|
|
|
|
2007-06-21 12:43:36 +00:00
|
|
|
* Thu Jun 21 2007 Ondrej Vasik <ovasik@redhat.com> 1.5.2-5
|
|
|
|
- fixed SIGSEGV (bug #245104)
|
|
|
|
|
2007-02-12 18:37:26 +00:00
|
|
|
* Mon Feb 12 2007 Tim Waugh <twaugh@redhat.com> 1.5.2-4
|
|
|
|
- Fixed build root.
|
2006-10-13 13:00:41 +00:00
|
|
|
- Give IDs to nodes in the release notes source to prevent releasenotes.html
|
2007-02-12 18:35:28 +00:00
|
|
|
having multilib conflicts (bug #228320).
|
2006-10-13 13:00:41 +00:00
|
|
|
|
2006-07-12 07:35:36 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.5.2-3.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-13 12:44:33 +00:00
|
|
|
* Tue Jun 13 2006 Tim Waugh <twaugh@redhat.com> 1.5.2-3
|
|
|
|
- Fixed multilib fix (bug #194702).
|
|
|
|
|
2006-05-26 17:20:49 +00:00
|
|
|
* Fri May 26 2006 Tim Waugh <twaugh@redhat.com> 1.5.2-2
|
2006-05-26 17:20:31 +00:00
|
|
|
- Fixed multilib devel conflicts (bug #192741).
|
|
|
|
|
2006-02-11 04:53:37 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.5.2-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 13:22:07 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5.2-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-05 13:29:04 +00:00
|
|
|
* Thu Jan 5 2006 Tim Waugh <twaugh@redhat.com> 1.5.2-1
|
|
|
|
- 1.5.2.
|
|
|
|
|
2005-12-14 13:10:10 +00:00
|
|
|
* Tue Dec 14 2005 Tim Waugh <twaugh@redhat.com> 1.5.1-2
|
|
|
|
- Backported patch from 1.5.2pre1 to fix ArcEngine crash.
|
|
|
|
|
2005-12-13 19:28:56 +00:00
|
|
|
* Tue Dec 13 2005 Tim Waugh <twaugh@redhat.com> 1.5.1-1
|
|
|
|
- Back down to 1.5.1 for now.
|
|
|
|
- Fixes for GCC4.1.
|
|
|
|
|
2005-12-13 19:14:36 +00:00
|
|
|
* Sun Dec 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.5.2-0.1.pre1
|
|
|
|
- Fix build dependencies.
|
|
|
|
- Require exact version of main package in -devel.
|
|
|
|
- Build with dependency tracking disabled.
|
|
|
|
- Add %%{_datadir}/xml to default search path.
|
|
|
|
- Run test suite during build.
|
|
|
|
- Add URL tag.
|
|
|
|
- Use %%find_lang.
|
|
|
|
- Cosmetic improvements.
|
|
|
|
|
|
|
|
* Tue Nov 29 2005 Terje Bless <link@pobox.com> 1.5.2-0.pre1
|
|
|
|
- New package OpenSP.
|
|
|
|
|