|
|
fada93 |
%global apiversion 0.10
|
|
|
fada93 |
|
|
|
fada93 |
Name: libwpd
|
|
|
fada93 |
Summary: A library for import of WordPerfect documents
|
|
|
fada93 |
Version: 0.10.0
|
|
|
fada93 |
Release: 2%{?dist}
|
|
|
fada93 |
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
|
fada93 |
URL: http://libwpd.sf.net/
|
|
|
fada93 |
License: LGPLv2+ or MPLv2.0
|
|
|
fada93 |
|
|
|
fada93 |
BuildRequires: doxygen
|
|
|
fada93 |
BuildRequires: help2man
|
|
|
fada93 |
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
fada93 |
BuildRequires: pkgconfig(zlib)
|
|
|
fada93 |
|
|
|
fada93 |
Patch0: 0001-Resolves-rhbz-1643752-bounds-check-m_currentTable-ac.patch
|
|
|
fada93 |
|
|
|
fada93 |
%description
|
|
|
fada93 |
%{name} is a library for import of WordPerfect documents.
|
|
|
fada93 |
|
|
|
fada93 |
%package tools
|
|
|
fada93 |
Summary: Tools to transform WordPerfect documents into other formats
|
|
|
fada93 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
fada93 |
|
|
|
fada93 |
%description tools
|
|
|
fada93 |
Tools to transform WordPerfect documents into other formats.
|
|
|
fada93 |
Currently supported: HTML, raw, text.
|
|
|
fada93 |
|
|
|
fada93 |
%package devel
|
|
|
fada93 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
fada93 |
Summary: Files for developing with libwpd
|
|
|
fada93 |
|
|
|
fada93 |
%description devel
|
|
|
fada93 |
Includes and definitions for developing with libwpd.
|
|
|
fada93 |
|
|
|
fada93 |
%package doc
|
|
|
fada93 |
Summary: Documentation of %{name} API
|
|
|
fada93 |
BuildArch: noarch
|
|
|
fada93 |
|
|
|
fada93 |
%description doc
|
|
|
fada93 |
The %{name}-doc package contains API documentation for %{name}.
|
|
|
fada93 |
|
|
|
fada93 |
%prep
|
|
|
fada93 |
%setup -q
|
|
|
fada93 |
%patch0 -p1 -b .CVE-2018-19208
|
|
|
fada93 |
|
|
|
fada93 |
chmod -x docs/%{name}.dia
|
|
|
fada93 |
|
|
|
fada93 |
%build
|
|
|
fada93 |
%configure --disable-static --disable-werror --disable-silent-rules
|
|
|
fada93 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
fada93 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
fada93 |
make %{?_smp_mflags}
|
|
|
fada93 |
|
|
|
fada93 |
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
fada93 |
help2man -N -n 'debug the conversion library' -o wpd2raw.1 ./src/conv/raw/.libs/wpd2raw
|
|
|
fada93 |
help2man -N -n 'convert WordPerfect document into HTML' -o wpd2html.1 ./src/conv/html/.libs/wpd2html
|
|
|
fada93 |
help2man -N -n 'convert WordPerfect document into plain text' -o wpd2text.1 ./src/conv/text/.libs/wpd2text
|
|
|
fada93 |
|
|
|
fada93 |
%install
|
|
|
fada93 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
fada93 |
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
fada93 |
# we install API docs directly from build
|
|
|
fada93 |
rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
|
|
|
fada93 |
|
|
|
fada93 |
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
fada93 |
install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
fada93 |
|
|
|
fada93 |
%post -p /sbin/ldconfig
|
|
|
fada93 |
|
|
|
fada93 |
%postun -p /sbin/ldconfig
|
|
|
fada93 |
|
|
|
fada93 |
%files
|
|
|
fada93 |
%doc COPYING.LGPL COPYING.MPL CREDITS README
|
|
|
fada93 |
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
fada93 |
|
|
|
fada93 |
%files tools
|
|
|
fada93 |
%{_bindir}/wpd2html
|
|
|
fada93 |
%{_bindir}/wpd2raw
|
|
|
fada93 |
%{_bindir}/wpd2text
|
|
|
fada93 |
%{_mandir}/man1/wpd2html.1*
|
|
|
fada93 |
%{_mandir}/man1/wpd2raw.1*
|
|
|
fada93 |
%{_mandir}/man1/wpd2text.1*
|
|
|
fada93 |
|
|
|
fada93 |
%files devel
|
|
|
fada93 |
%doc HACKING TODO
|
|
|
fada93 |
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
fada93 |
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
fada93 |
%{_includedir}/%{name}-%{apiversion}
|
|
|
fada93 |
|
|
|
fada93 |
%files doc
|
|
|
fada93 |
%doc COPYING.LGPL COPYING.MPL
|
|
|
fada93 |
%doc docs/doxygen/html
|
|
|
fada93 |
%doc docs/%{name}.dia
|
|
|
fada93 |
%doc docs/%{name}.png
|
|
|
fada93 |
|
|
|
fada93 |
%changelog
|
|
|
fada93 |
* Fri Nov 16 2018 Caolán McNamara <caolanm@redhat.com> - 0.10.0-2
|
|
|
fada93 |
- Resolves: rhbz#1650535 CVE-2018-19208
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Apr 17 2015 David Tardon <dtardon@redhat.com> - 0.10.0-1
|
|
|
fada93 |
- Resolves: rhbz#1207766 rebase to 0.10.0
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.9.9-3
|
|
|
fada93 |
- Mass rebuild 2014-01-24
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.9.9-2
|
|
|
fada93 |
- Mass rebuild 2013-12-27
|
|
|
fada93 |
|
|
|
fada93 |
* Mon Aug 19 2013 David Tardon <dtardon@redhat.com> - 0.9.9-1
|
|
|
fada93 |
- new release
|
|
|
fada93 |
|
|
|
fada93 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-3
|
|
|
fada93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Tue May 21 2013 David Tardon <dtardon@redhat.com> - 0.9.8-2
|
|
|
fada93 |
- drop build dep on libgsf-devel that has not been needed for years
|
|
|
fada93 |
|
|
|
fada93 |
* Tue May 14 2013 David Tardon <dtardon@redhat.com> - 0.9.8-1
|
|
|
fada93 |
- new release
|
|
|
fada93 |
|
|
|
fada93 |
* Sun Apr 21 2013 David Tardon <dtardon@redhat.com> - 0.9.7-1
|
|
|
fada93 |
- new release
|
|
|
fada93 |
|
|
|
fada93 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-2
|
|
|
fada93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Sep 25 2012 David Tardon <dtardon@redhat.com> - 0.9.6-1
|
|
|
fada93 |
- new release
|
|
|
fada93 |
|
|
|
fada93 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-4
|
|
|
fada93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-3
|
|
|
fada93 |
- Rebuilt for c++ ABI breakage
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-2
|
|
|
fada93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Thu Dec 08 2011 Caolán McNamara <caolanm@redhat.com> - 0.9.4-1
|
|
|
fada93 |
- latest version
|
|
|
fada93 |
|
|
|
fada93 |
* Sun May 22 2011 Caolán McNamara <caolanm@redhat.com> - 0.9.2-1
|
|
|
fada93 |
- latest version
|
|
|
fada93 |
- drop integrated libwpd-gcc4.6.0.patch
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
|
|
|
fada93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Mon Jan 24 2011 Caolán McNamara <caolanm@redhat.com> - 0.9.1-1
|
|
|
fada93 |
- latest version
|
|
|
fada93 |
|
|
|
fada93 |
* Sun Dec 05 2010 Caolán McNamara <caolanm@redhat.com> - 0.9.0-1
|
|
|
fada93 |
- latest version
|
|
|
fada93 |
|
|
|
fada93 |
* Sat Feb 13 2010 Caolán McNamara <caolanm@redhat.com> - 0.8.14-5
|
|
|
fada93 |
- Resolves: rhbz#226060 merge review
|
|
|
fada93 |
|
|
|
fada93 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.14-4
|
|
|
fada93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.14-3
|
|
|
fada93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Jan 06 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.14-2
|
|
|
fada93 |
- Rebuild for provides
|
|
|
fada93 |
|
|
|
fada93 |
* Wed Feb 13 2008 Caolán McNamara <caolanm@redhat.com> - 0.8.14-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Mon Dec 17 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.13-2
|
|
|
fada93 |
- strangely 0.8.13-1 never appeared in rawhide
|
|
|
fada93 |
|
|
|
fada93 |
* Thu Dec 13 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.13-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Sat Oct 13 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.12-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Aug 24 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.11-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Aug 03 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.10-2
|
|
|
fada93 |
- clarify license
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Jun 15 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.10-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Mar 27 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.9-2
|
|
|
fada93 |
- Resolves: rhbz#233876: add unowned directory fix from Michael Schwendt
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Mar 16 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.9-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Feb 09 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.8-2
|
|
|
fada93 |
- spec cleanups
|
|
|
fada93 |
|
|
|
fada93 |
* Thu Jan 11 2007 Caolán McNamara <caolanm@redhat.com> - 0.8.8-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Mon Oct 09 2006 Caolán McNamara <caolanm@redhat.com> - 0.8.7-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Mon Jul 17 2006 Caolán McNamara <caolanm@redhat.com> - 0.8.6-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.8.5-3.1
|
|
|
fada93 |
- rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Sun Jun 11 2006 Caolán McNamara <caolanm@redhat.com> 0.8.5-3
|
|
|
fada93 |
- add wp5nofontlistcrash
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Jun 02 2006 Caolán McNamara <caolanm@redhat.com> 0.8.5-2
|
|
|
fada93 |
- build through brew
|
|
|
fada93 |
|
|
|
fada93 |
* Thu Jun 01 2006 Caolán McNamara <caolanm@redhat.com> 0.8.5-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Mar 21 2006 Caolán McNamara <caolanm@redhat.com> 0.8.4-2
|
|
|
fada93 |
- rebuild for libgsf
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.8.4-1.2.1
|
|
|
fada93 |
- bump again for double-long bug on ppc(64)
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.8.4-1.2
|
|
|
fada93 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 0.8.4-1.1
|
|
|
fada93 |
- rebuilt
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Dec 02 2005 Caolán McNamara <caolanm@redhat.com> 0.8.4-1
|
|
|
fada93 |
- next version
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Dec 02 2005 Caolán McNamara <caolanm@redhat.com> 0.8.3-2
|
|
|
fada93 |
- rebuild because of libgsf
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Jun 28 2005 Caolán McNamara <caolanm@redhat.com> 0.8.3-1
|
|
|
fada93 |
- update to latest libwpd
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Jun 28 2005 Caolán McNamara <caolanm@redhat.com> 0.8.2-2.fc5
|
|
|
fada93 |
- export to other formats twiddle
|
|
|
fada93 |
|
|
|
fada93 |
* Wed Jun 22 2005 Caolán McNamara <caolanm@redhat.com> 0.8.2-1
|
|
|
fada93 |
- bump to latest version
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Apr 29 2005 Caolán McNamara <caolanm@redhat.com> 0.8.1-1
|
|
|
fada93 |
- bump to latest version kudos Fridrich Strba
|
|
|
fada93 |
- drop integrated patch
|
|
|
fada93 |
|
|
|
fada93 |
* Wed Apr 6 2005 Caolán McNamara <caolanm@redhat.com> 0.8.0-4
|
|
|
fada93 |
- add libwpd devel provided patch for endless loops on some wpd documents
|
|
|
fada93 |
|
|
|
fada93 |
* Wed Mar 30 2005 Caolán McNamara <caolanm@redhat.com> 0.8.0-3
|
|
|
fada93 |
- rh#152503# add some Requires for -devel package
|
|
|
fada93 |
|
|
|
fada93 |
* Wed Mar 2 2005 Caolán McNamara <caolanm@redhat.com> 0.8.0-2
|
|
|
fada93 |
- rebuild with gcc4
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Feb 11 2005 Caolán McNamara <caolanm@redhat.com> 0.8.0-1
|
|
|
fada93 |
- new version
|
|
|
fada93 |
|
|
|
fada93 |
* Wed Feb 9 2005 Caolán McNamara <caolanm@redhat.com> 0.7.2-2
|
|
|
fada93 |
- rebuild
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Jul 23 2004 Caolán McNamara <caolanm@redhat.com> 0.7.2-1
|
|
|
fada93 |
- bump to 0.7.2
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
fada93 |
- rebuilt
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
fada93 |
- rebuilt
|
|
|
fada93 |
|
|
|
fada93 |
* Thu Feb 19 2004 Jeremy Katz <katzj@redhat.com> - 0.7.1-1
|
|
|
fada93 |
- update to 0.7.1
|
|
|
fada93 |
|
|
|
fada93 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
fada93 |
- rebuilt
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Dec 16 2003 Jeremy Katz <katzj@redhat.com> 0.6.6-1
|
|
|
fada93 |
- 0.6.6
|
|
|
fada93 |
|
|
|
fada93 |
* Tue Nov 4 2003 Jeremy Katz <katzj@redhat.com> 0.6.5-1
|
|
|
fada93 |
- 0.6.5
|
|
|
fada93 |
|
|
|
fada93 |
* Mon Sep 15 2003 Jeremy Katz <katzj@redhat.com> 0.6.2-1
|
|
|
fada93 |
- 0.6.2
|
|
|
fada93 |
|
|
|
fada93 |
* Sun Jul 6 2003 Jeremy Katz <katzj@redhat.com> 0.5.0-1
|
|
|
fada93 |
- initial build for Red Hat Linux, tweak accordingly
|
|
|
fada93 |
|
|
|
fada93 |
* Sat Apr 26 2003 Rui M. Seabra <rms@1407.org>
|
|
|
fada93 |
- Create rpm spec
|