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