## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 20; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: writerperfect Version: 0.9.6 Release: %autorelease Summary: A collection of tools to transform various file formats into ODF License: LGPL-2.1-or-later OR MPL-2.0 URL: http://sourceforge.net/p/libwpd/wiki/writerperfect/ Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz BuildRequires: make BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: help2man BuildRequires: pkgconfig(libabw-0.1) BuildRequires: pkgconfig(libcdr-0.1) BuildRequires: pkgconfig(libe-book-0.1) BuildRequires: pkgconfig(libeot) BuildRequires: pkgconfig(libepubgen-0.1) BuildRequires: pkgconfig(libetonyek-0.1) BuildRequires: pkgconfig(libfreehand-0.1) BuildRequires: pkgconfig(libgsf-1) BuildRequires: pkgconfig(libmspub-0.1) BuildRequires: pkgconfig(libmwaw-0.3) BuildRequires: pkgconfig(libodfgen-0.1) BuildRequires: pkgconfig(libqxp-0.0) BuildRequires: pkgconfig(libpagemaker-0.0) BuildRequires: pkgconfig(librevenge-0.0) BuildRequires: pkgconfig(librvngabw-0.0) BuildRequires: pkgconfig(libstaroffice-0.0) BuildRequires: pkgconfig(libvisio-0.1) BuildRequires: pkgconfig(libwpd-0.10) BuildRequires: pkgconfig(libwpg-0.3) BuildRequires: pkgconfig(libwps-0.4) BuildRequires: pkgconfig(libzmf-0.0) Patch0: 0001-fix-build-with-libgsf.patch Patch1: 0001-Fix-linking-with-newer-tools-by-getting-the-library-.patch %description %{name} is a collection of command-line tools to transform various document formats into ODF. Among supported input formats are: * AbiWord * Adobe PageMaker * Apple Keynote * Corel WordPerfect * CorelDRAW * Microsoft Publisher * Microsoft Visio * Microsoft Works * QuarkXPress %package epub Summary: A collection of tools to transform various file formats into EPUB %description epub %{name} is a collection of command-line tools to transform various document formats into EPUB. Among supported input formats are: * AbiWord * Adobe PageMaker * Apple Keynote * Corel WordPerfect * CorelDRAW * Microsoft Publisher * Microsoft Visio * Microsoft Works %package abw Summary: A collection of tools to transform various file formats into AbiWord %description abw %{name} is a collection of command-line tools to transform various document formats into AbiWord format. Among supported input formats are: * Apple Pages * Corel WordPerfect * Microsoft Works %prep %autosetup -p1 %build aclocal automake %configure \ --disable-silent-rules \ --disable-werror \ --with-import-libs \ --with-export-libs \ --with-libeot \ --with-libgsf make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} # generate and install man pages export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} for tool in `ls %{buildroot}%{_bindir}`; do help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool} done install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0644 *2abw.1 *2epub.1 *2od?.1 %{buildroot}/%{_mandir}/man1 %files %doc NEWS README %license COPYING.LGPL COPYING.MPL %{_bindir}/abw2odt %{_bindir}/cdr2odg %{_bindir}/cmx2odg %{_bindir}/ebook2odt %{_bindir}/fh2odg %{_bindir}/key2odp %{_bindir}/mwaw2odf %{_bindir}/numbers2ods %{_bindir}/qxp2odg %{_bindir}/pages2odt %{_bindir}/pmd2odg %{_bindir}/pub2odg %{_bindir}/sd2odf %{_bindir}/vsd2odg %{_bindir}/vss2odg %{_bindir}/wks2ods %{_bindir}/wpd2odt %{_bindir}/wpft2odf %{_bindir}/wpg2odg %{_bindir}/wps2odt %{_bindir}/zmf2odg %{_mandir}/man1/abw2odt.1* %{_mandir}/man1/cdr2odg.1* %{_mandir}/man1/cmx2odg.1* %{_mandir}/man1/ebook2odt.1* %{_mandir}/man1/fh2odg.1* %{_mandir}/man1/key2odp.1* %{_mandir}/man1/mwaw2odf.1* %{_mandir}/man1/numbers2ods.1* %{_mandir}/man1/pages2odt.1* %{_mandir}/man1/pmd2odg.1* %{_mandir}/man1/pub2odg.1* %{_mandir}/man1/qxp2odg.1* %{_mandir}/man1/sd2odf.1* %{_mandir}/man1/vsd2odg.1* %{_mandir}/man1/vss2odg.1* %{_mandir}/man1/wks2ods.1* %{_mandir}/man1/wpd2odt.1* %{_mandir}/man1/wpft2odf.1* %{_mandir}/man1/wpg2odg.1* %{_mandir}/man1/wps2odt.1* %{_mandir}/man1/zmf2odg.1* %files epub %doc NEWS README %license COPYING.LGPL COPYING.MPL %{_bindir}/abw2epub %{_bindir}/cdr2epub %{_bindir}/cmx2epub %{_bindir}/ebook2epub %{_bindir}/fh2epub %{_bindir}/key2epub %{_bindir}/mwaw2epub %{_bindir}/pages2epub %{_bindir}/pmd2epub %{_bindir}/pub2epub %{_bindir}/qxp2epub %{_bindir}/sd2epub %{_bindir}/vsd2epub %{_bindir}/vss2epub %{_bindir}/wpd2epub %{_bindir}/wpft2epub %{_bindir}/wpg2epub %{_bindir}/wps2epub %{_bindir}/zmf2epub %{_mandir}/man1/abw2epub.1* %{_mandir}/man1/cdr2epub.1* %{_mandir}/man1/cmx2epub.1* %{_mandir}/man1/ebook2epub.1* %{_mandir}/man1/fh2epub.1* %{_mandir}/man1/key2epub.1* %{_mandir}/man1/mwaw2epub.1* %{_mandir}/man1/pages2epub.1* %{_mandir}/man1/pmd2epub.1* %{_mandir}/man1/pub2epub.1* %{_mandir}/man1/qxp2epub.1* %{_mandir}/man1/sd2epub.1* %{_mandir}/man1/vsd2epub.1* %{_mandir}/man1/vss2epub.1* %{_mandir}/man1/wpd2epub.1* %{_mandir}/man1/wpft2epub.1* %{_mandir}/man1/wpg2epub.1* %{_mandir}/man1/wps2epub.1* %{_mandir}/man1/zmf2epub.1* %files abw %doc NEWS README %license COPYING.LGPL COPYING.MPL %{_bindir}/abw2abw %{_bindir}/ebook2abw %{_bindir}/mwaw2abw %{_bindir}/pages2abw %{_bindir}/sd2abw %{_bindir}/wpd2abw %{_bindir}/wpft2abw %{_bindir}/wps2abw %{_mandir}/man1/abw2abw.1* %{_mandir}/man1/ebook2abw.1* %{_mandir}/man1/mwaw2abw.1* %{_mandir}/man1/pages2abw.1* %{_mandir}/man1/sd2abw.1* %{_mandir}/man1/wpd2abw.1* %{_mandir}/man1/wpft2abw.1* %{_mandir}/man1/wps2abw.1* %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 0.9.6-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 0.9.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 0.9.6-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.9.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 21 2022 David Tardon - 0.9.6-12 - Convert license to SPDX * Sat Jul 23 2022 Fedora Release Engineering - 0.9.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 0.9.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.9.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.9.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.9.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 0.9.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 0.9.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 0.9.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.9.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Dec 14 2017 David Tardon - 0.9.6-1 - new upstream release * Thu Aug 03 2017 Fedora Release Engineering - 0.9.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.9.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.9.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 27 2017 Jonathan Wakely - 0.9.5-3 - Rebuilt for Boost 1.63 * Fri Jan 27 2017 Jonathan Wakely - 0.9.5-2 - Rebuilt for Boost 1.63 * Thu Mar 03 2016 David Tardon - 0.9.5-1 - new upstream release * Fri Feb 05 2016 Fedora Release Engineering - 0.9.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 16 2016 Jonathan Wakely - 0.9.4-7 - Rebuilt for Boost 1.60 * Thu Aug 27 2015 Jonathan Wakely - 0.9.4-6 - Rebuilt for Boost 1.59 * Wed Jul 29 2015 Fedora Release Engineering - 0.9.4-5 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 * Wed Jul 22 2015 David Tardon - 0.9.4-4 - rebuild for Boost 1.58 * Fri Jun 19 2015 Fedora Release Engineering - 0.9.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon May 25 2015 David Tardon - 0.9.4-2 - enable AbiWord export * Wed May 20 2015 David Tardon - 0.9.4-1 - new upstream release * Sat May 02 2015 Kalev Lember - 0.9.2-5 - Rebuilt for GCC 5 C++11 ABI change * Mon Jan 26 2015 Petr Machata - 0.9.2-4 - Rebuild for boost 1.57.0 * Mon Aug 18 2014 Fedora Release Engineering - 0.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jul 26 2014 David Tardon - 0.9.2-2 - put EPUB export tools into a separate subpackage * Sun Jul 06 2014 David Tardon - 0.9.2-1 - new upstream release - enable EPUB export * Fri Jun 27 2014 David Tardon - 0.9.1-3 - enable support for Adobe PageMaker documents * Sun Jun 08 2014 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Jun 03 2014 David Tardon - 0.9.1-1 - new upstream release * Thu May 29 2014 David Tardon - 0.9.0-2 - fix libe-book integration * Mon May 26 2014 David Tardon - 0.9.0-1 - new upstream release * Wed Apr 09 2014 David Tardon - 0.8.4-1 - new upstream release * Sat Nov 02 2013 David Tardon - 0.8.3-1 - new release * Sun Aug 04 2013 Fedora Release Engineering - 0.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu May 16 2013 David Tardon - 0.8.2-2 - package license files * Sun May 12 2013 David Tardon - 0.8.2-1 - initial import ## END: Generated by rpmautospec