7e944e0
Name: writerperfect
e87f428
Version: 0.9.6
bd379c3
Release: 4%{?dist}
7cabf87
Summary: A collection of tools to transform various file formats into ODF
7e944e0
0fc85c5
License: MPLv2.0 or LGPLv2+
7318682
URL: http://sourceforge.net/p/libwpd/wiki/writerperfect/
7e944e0
Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
7e944e0
6fd1ecf
BuildRequires: automake
4cf976d
BuildRequires: gcc-c++
a54fd64
BuildRequires: help2man
20a6fc4
BuildRequires: pkgconfig(libabw-0.1)
20a6fc4
BuildRequires: pkgconfig(libcdr-0.1)
20a6fc4
BuildRequires: pkgconfig(libe-book-0.1)
acaf309
BuildRequires: pkgconfig(libeot)
e87f428
BuildRequires: pkgconfig(libepubgen-0.1)
20a6fc4
BuildRequires: pkgconfig(libetonyek-0.1)
20a6fc4
BuildRequires: pkgconfig(libfreehand-0.1)
9d4089b
BuildRequires: pkgconfig(libgsf-1)
20a6fc4
BuildRequires: pkgconfig(libmspub-0.1)
20a6fc4
BuildRequires: pkgconfig(libmwaw-0.3)
20a6fc4
BuildRequires: pkgconfig(libodfgen-0.1)
e87f428
BuildRequires: pkgconfig(libqxp-0.0)
d7df2af
BuildRequires: pkgconfig(libpagemaker-0.0)
20a6fc4
BuildRequires: pkgconfig(librevenge-0.0)
d9dbd2f
BuildRequires: pkgconfig(librvngabw-0.0)
1e359b0
BuildRequires: pkgconfig(libstaroffice-0.0)
20a6fc4
BuildRequires: pkgconfig(libvisio-0.1)
20a6fc4
BuildRequires: pkgconfig(libwpd-0.10)
20a6fc4
BuildRequires: pkgconfig(libwpg-0.3)
015f03d
BuildRequires: pkgconfig(libwps-0.4)
e87f428
BuildRequires: pkgconfig(libzmf-0.0)
015f03d
e87f428
Patch0: 0001-fix-build-with-libgsf.patch
6fd1ecf
Patch1: 0001-Fix-linking-with-newer-tools-by-getting-the-library-.patch
7e944e0
7e944e0
%description
9d11ffa
%{name} is a collection of command-line tools to transform various document
7cabf87
formats into ODF. Among supported input formats are:
7cabf87
* AbiWord
7cabf87
* Adobe PageMaker
7cabf87
* Apple Keynote
7cabf87
* Corel WordPerfect
7cabf87
* CorelDRAW
7cabf87
* Microsoft Publisher
7cabf87
* Microsoft Visio
7cabf87
* Microsoft Works
e87f428
* QuarkXPress
7cabf87
7cabf87
%package epub
7cabf87
Summary: A collection of tools to transform various file formats into EPUB
7cabf87
7cabf87
%description epub
7cabf87
%{name} is a collection of command-line tools to transform various document
0da5694
formats into EPUB. Among supported input formats are:
9d11ffa
* AbiWord
9d11ffa
* Adobe PageMaker
9d11ffa
* Apple Keynote
9d11ffa
* Corel WordPerfect
9d11ffa
* CorelDRAW
9d11ffa
* Microsoft Publisher
9d11ffa
* Microsoft Visio
9d11ffa
* Microsoft Works
7e944e0
d9dbd2f
%package abw
d9dbd2f
Summary: A collection of tools to transform various file formats into AbiWord
d9dbd2f
d9dbd2f
%description abw
d9dbd2f
%{name} is a collection of command-line tools to transform various document
d9dbd2f
formats into AbiWord format. Among supported input formats are:
d9dbd2f
* Apple Pages
d9dbd2f
* Corel WordPerfect
d9dbd2f
* Microsoft Works
d9dbd2f
7e944e0
%prep
015f03d
%autosetup -p1
7e944e0
7e944e0
%build
6fd1ecf
aclocal
6fd1ecf
automake
0fb00a3
%configure \
0fb00a3
    --disable-silent-rules \
0fb00a3
    --disable-werror \
015f03d
    --with-import-libs \
015f03d
    --with-export-libs \
acaf309
    --with-libeot \
e87f428
    --with-libgsf
0fb00a3
d280920
make %{?_smp_mflags}
7e944e0
7e944e0
%install
7e944e0
make install DESTDIR=%{buildroot}
7e944e0
1e359b0
# generate and install man pages
1e359b0
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
1e359b0
for tool in `ls %{buildroot}%{_bindir}`; do
1e359b0
    help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
1e359b0
done
a54fd64
install -m 0755 -d %{buildroot}/%{_mandir}/man1
d9dbd2f
install -m 0644 *2abw.1 *2epub.1 *2od?.1 %{buildroot}/%{_mandir}/man1
a54fd64
7e944e0
%files
9078d20
%doc NEWS README
be29c30
%license COPYING.LGPL COPYING.MPL
7aa2c2f
%{_bindir}/abw2odt
7e944e0
%{_bindir}/cdr2odg
7e944e0
%{_bindir}/cmx2odg
7aa2c2f
%{_bindir}/ebook2odt
d280920
%{_bindir}/fh2odg
d280920
%{_bindir}/key2odp
20a6fc4
%{_bindir}/mwaw2odf
015f03d
%{_bindir}/numbers2ods
e87f428
%{_bindir}/qxp2odg
015f03d
%{_bindir}/pages2odt
d7df2af
%{_bindir}/pmd2odg
7e944e0
%{_bindir}/pub2odg
1e359b0
%{_bindir}/sd2odf
7e944e0
%{_bindir}/vsd2odg
7e944e0
%{_bindir}/vss2odg
2678408
%{_bindir}/wks2ods
7e944e0
%{_bindir}/wpd2odt
e87f428
%{_bindir}/wpft2odf
7e944e0
%{_bindir}/wpg2odg
7e944e0
%{_bindir}/wps2odt
e87f428
%{_bindir}/zmf2odg
7aa2c2f
%{_mandir}/man1/abw2odt.1*
a54fd64
%{_mandir}/man1/cdr2odg.1*
a54fd64
%{_mandir}/man1/cmx2odg.1*
7aa2c2f
%{_mandir}/man1/ebook2odt.1*
a54fd64
%{_mandir}/man1/fh2odg.1*
a54fd64
%{_mandir}/man1/key2odp.1*
20a6fc4
%{_mandir}/man1/mwaw2odf.1*
015f03d
%{_mandir}/man1/numbers2ods.1*
015f03d
%{_mandir}/man1/pages2odt.1*
d7df2af
%{_mandir}/man1/pmd2odg.1*
a54fd64
%{_mandir}/man1/pub2odg.1*
e87f428
%{_mandir}/man1/qxp2odg.1*
1e359b0
%{_mandir}/man1/sd2odf.1*
a54fd64
%{_mandir}/man1/vsd2odg.1*
a54fd64
%{_mandir}/man1/vss2odg.1*
2678408
%{_mandir}/man1/wks2ods.1*
a54fd64
%{_mandir}/man1/wpd2odt.1*
e87f428
%{_mandir}/man1/wpft2odf.1*
a54fd64
%{_mandir}/man1/wpg2odg.1*
a54fd64
%{_mandir}/man1/wps2odt.1*
e87f428
%{_mandir}/man1/zmf2odg.1*
7e944e0
7cabf87
%files epub
9078d20
%doc NEWS README
be29c30
%license COPYING.LGPL COPYING.MPL
31c7e50
%{_bindir}/abw2epub
7cabf87
%{_bindir}/cdr2epub
7cabf87
%{_bindir}/cmx2epub
7cabf87
%{_bindir}/ebook2epub
7cabf87
%{_bindir}/fh2epub
7cabf87
%{_bindir}/key2epub
7cabf87
%{_bindir}/mwaw2epub
015f03d
%{_bindir}/pages2epub
7cabf87
%{_bindir}/pmd2epub
7cabf87
%{_bindir}/pub2epub
e87f428
%{_bindir}/qxp2epub
e87f428
%{_bindir}/sd2epub
7cabf87
%{_bindir}/vsd2epub
7cabf87
%{_bindir}/vss2epub
7cabf87
%{_bindir}/wpd2epub
e87f428
%{_bindir}/wpft2epub
7cabf87
%{_bindir}/wpg2epub
7cabf87
%{_bindir}/wps2epub
e87f428
%{_bindir}/zmf2epub
7cabf87
%{_mandir}/man1/abw2epub.1*
7cabf87
%{_mandir}/man1/cdr2epub.1*
7cabf87
%{_mandir}/man1/cmx2epub.1*
7cabf87
%{_mandir}/man1/ebook2epub.1*
7cabf87
%{_mandir}/man1/fh2epub.1*
7cabf87
%{_mandir}/man1/key2epub.1*
7cabf87
%{_mandir}/man1/mwaw2epub.1*
015f03d
%{_mandir}/man1/pages2epub.1*
7cabf87
%{_mandir}/man1/pmd2epub.1*
7cabf87
%{_mandir}/man1/pub2epub.1*
e87f428
%{_mandir}/man1/qxp2epub.1*
e87f428
%{_mandir}/man1/sd2epub.1*
7cabf87
%{_mandir}/man1/vsd2epub.1*
7cabf87
%{_mandir}/man1/vss2epub.1*
7cabf87
%{_mandir}/man1/wpd2epub.1*
e87f428
%{_mandir}/man1/wpft2epub.1*
7cabf87
%{_mandir}/man1/wpg2epub.1*
7cabf87
%{_mandir}/man1/wps2epub.1*
e87f428
%{_mandir}/man1/zmf2epub.1*
7cabf87
d9dbd2f
%files abw
9078d20
%doc NEWS README
be29c30
%license COPYING.LGPL COPYING.MPL
d9dbd2f
%{_bindir}/abw2abw
d9dbd2f
%{_bindir}/ebook2abw
d9dbd2f
%{_bindir}/mwaw2abw
d9dbd2f
%{_bindir}/pages2abw
e87f428
%{_bindir}/sd2abw
d9dbd2f
%{_bindir}/wpd2abw
e87f428
%{_bindir}/wpft2abw
d9dbd2f
%{_bindir}/wps2abw
d9dbd2f
%{_mandir}/man1/abw2abw.1*
d9dbd2f
%{_mandir}/man1/ebook2abw.1*
d9dbd2f
%{_mandir}/man1/mwaw2abw.1*
d9dbd2f
%{_mandir}/man1/pages2abw.1*
e87f428
%{_mandir}/man1/sd2abw.1*
d9dbd2f
%{_mandir}/man1/wpd2abw.1*
e87f428
%{_mandir}/man1/wpft2abw.1*
d9dbd2f
%{_mandir}/man1/wps2abw.1*
d9dbd2f
7e944e0
%changelog
bd379c3
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-4
bd379c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
bd379c3
165987a
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-3
165987a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
165987a
be01b06
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-2
be01b06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
be01b06
e87f428
* Thu Dec 14 2017 David Tardon <dtardon@redhat.com> - 0.9.6-1
e87f428
- new upstream release
e87f428
e403e6a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-6
e403e6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e403e6a
cfbb3b2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-5
cfbb3b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cfbb3b2
1b7c08c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-4
1b7c08c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1b7c08c
020c31e
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.9.5-3
020c31e
- Rebuilt for Boost 1.63
020c31e
4cb3dc1
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.9.5-2
4cb3dc1
- Rebuilt for Boost 1.63
4cb3dc1
1e359b0
* Thu Mar 03 2016 David Tardon <dtardon@redhat.com> - 0.9.5-1
1e359b0
- new upstream release
1e359b0
44c0a1a
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-8
44c0a1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
44c0a1a
114ad44
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 0.9.4-7
114ad44
- Rebuilt for Boost 1.60
114ad44
33a3b30
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.9.4-6
33a3b30
- Rebuilt for Boost 1.59
33a3b30
85e7688
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-5
85e7688
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
85e7688
74bba23
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.9.4-4
74bba23
- rebuild for Boost 1.58
74bba23
482c8f9
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-3
482c8f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
482c8f9
d9dbd2f
* Mon May 25 2015 David Tardon <dtardon@redhat.com> - 0.9.4-2
d9dbd2f
- enable AbiWord export
d9dbd2f
015f03d
* Wed May 20 2015 David Tardon <dtardon@redhat.com> - 0.9.4-1
015f03d
- new upstream release
015f03d
b46bb75
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.9.2-5
b46bb75
- Rebuilt for GCC 5 C++11 ABI change
b46bb75
Petr Machata ec3833d
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.9.2-4
Petr Machata ec3833d
- Rebuild for boost 1.57.0
Petr Machata ec3833d
6434824
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-3
6434824
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6434824
7cabf87
* Sat Jul 26 2014 David Tardon <dtardon@redhat.com> - 0.9.2-2
7cabf87
- put EPUB export tools into a separate subpackage
7cabf87
2678408
* Sun Jul 06 2014 David Tardon <dtardon@redhat.com> - 0.9.2-1
2678408
- new upstream release
2678408
- enable EPUB export
2678408
d7df2af
* Fri Jun 27 2014 David Tardon <dtardon@redhat.com> - 0.9.1-3
d7df2af
- enable support for Adobe PageMaker documents
d7df2af
728f047
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
728f047
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
728f047
8bb262e
* Tue Jun 03 2014 David Tardon <dtardon@redhat.com> - 0.9.1-1
8bb262e
- new upstream release
8bb262e
aff3364
* Thu May 29 2014 David Tardon <dtardon@redhat.com> - 0.9.0-2
aff3364
- fix libe-book integration
aff3364
20a6fc4
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.9.0-1
20a6fc4
- new upstream release
20a6fc4
7aa2c2f
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.8.4-1
7aa2c2f
- new upstream release
7aa2c2f
d280920
* Sat Nov 02 2013 David Tardon <dtardon@redhat.com> - 0.8.3-1
d280920
- new release
d280920
11bea7d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3
11bea7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
11bea7d
7e944e0
* Thu May 16 2013 David Tardon <dtardon@redhat.com> - 0.8.2-2
7e944e0
- package license files
7e944e0
7e944e0
* Sun May 12 2013 David Tardon <dtardon@redhat.com> - 0.8.2-1
7e944e0
- initial import