diff --git a/writerperfect.spec b/writerperfect.spec index 0193204..e793ef5 100644 --- a/writerperfect.spec +++ b/writerperfect.spec @@ -1,6 +1,6 @@ Name: writerperfect Version: 0.9.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A collection of tools to transform various file formats into ODF License: MPLv2.0 or LGPLv2+ @@ -22,6 +22,7 @@ BuildRequires: pkgconfig(libmwaw-0.3) BuildRequires: pkgconfig(libodfgen-0.1) BuildRequires: pkgconfig(libpagemaker-0.0) BuildRequires: pkgconfig(librevenge-0.0) +BuildRequires: pkgconfig(librvngabw-0.0) BuildRequires: pkgconfig(libvisio-0.1) BuildRequires: pkgconfig(libwpd-0.10) BuildRequires: pkgconfig(libwpg-0.3) @@ -56,6 +57,16 @@ formats into EPUB. Among supported input formats are: * 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 @@ -65,12 +76,12 @@ formats into EPUB. Among supported input formats are: --disable-werror \ --with-import-libs \ --with-export-libs \ - --without-librvngabw \ --with-libeot \ --with-libgsf make %{?_smp_mflags} +help2man -N --no-discard-stderr -n 'convert AbiWord document into AbiWord' -o abw2abw.1 ./src/abw/abw2abw help2man -N --no-discard-stderr -n 'convert AbiWord document into EPUB' -o abw2epub.1 ./src/epub/abw2epub help2man -N --no-discard-stderr -n 'convert AbiWord document into ODF' -o abw2odt.1 ./src/odf/abw2odt help2man -N --no-discard-stderr -n 'convert Corel Presentation Exchange file into EPUB' -o cmx2epub.1 ./src/epub/cmx2epub @@ -81,9 +92,11 @@ help2man -N --no-discard-stderr -n 'convert FreeHand document into EPUB' -o fh2e help2man -N --no-discard-stderr -n 'convert FreeHand document into ODF' -o fh2odg.1 ./src/odf/fh2odg help2man -N --no-discard-stderr -n 'convert Keynote presentation into EPUB' -o key2epub.1 ./src/epub/key2epub help2man -N --no-discard-stderr -n 'convert Keynote presentation into ODF' -o key2odp.1 ./src/odf/key2odp +help2man -N --no-discard-stderr -n 'convert Mac document into AbiWord' -o mwaw2abw.1 ./src/abw/mwaw2abw help2man -N --no-discard-stderr -n 'convert Mac document into EPUB' -o mwaw2epub.1 ./src/epub/mwaw2epub help2man -N --no-discard-stderr -n 'convert Mac document into ODF' -o mwaw2odf.1 ./src/odf/mwaw2odf help2man -N --no-discard-stderr -n 'convert Numbers document into ODF' -o numbers2ods.1 ./src/odf/numbers2ods +help2man -N --no-discard-stderr -n 'convert Pages document into AbiWord' -o pages2abw.1 ./src/abw/pages2abw help2man -N --no-discard-stderr -n 'convert Pages document into EPUB' -o pages2epub.1 ./src/epub/pages2epub help2man -N --no-discard-stderr -n 'convert Pages document into ODF' -o pages2odt.1 ./src/odf/pages2odt help2man -N --no-discard-stderr -n 'convert PageMaker document into EPUB' -o pmd2epub.1 ./src/epub/pmd2epub @@ -94,13 +107,16 @@ help2man -N --no-discard-stderr -n 'convert Visio document into EPUB' -o vsd2epu help2man -N --no-discard-stderr -n 'convert Visio document into ODF' -o vsd2odg.1 ./src/odf/vsd2odg help2man -N --no-discard-stderr -n 'convert Visio stencil into EPUB' -o vss2epub.1 ./src/epub/vss2epub help2man -N --no-discard-stderr -n 'convert Visio stencil into ODF' -o vss2odg.1 ./src/odf/vss2odg +help2man -N --no-discard-stderr -n 'convert WordPerfect document into AbiWord' -o wpd2abw.1 ./src/abw/wpd2abw help2man -N --no-discard-stderr -n 'convert WordPerfect document into EPUB' -o wpd2epub.1 ./src/epub/wpd2epub help2man -N --no-discard-stderr -n 'convert WordPerfect document into ODF' -o wpd2odt.1 ./src/odf/wpd2odt help2man -N --no-discard-stderr -n 'convert WordPerfect graphics into EPUB' -o wpg2epub.1 ./src/epub/wpg2epub help2man -N --no-discard-stderr -n 'convert WordPerfect graphics into ODF' -o wpg2odg.1 ./src/odf/wpg2odg +help2man -N --no-discard-stderr -n 'convert Works document into AbiWord' -o wps2abw.1 ./src/abw/wps2abw help2man -N --no-discard-stderr -n 'convert Works document into EPUB' -o wps2epub.1 ./src/epub/wps2epub help2man -N --no-discard-stderr -n 'convert Works document into ODF' -o wps2odt.1 ./src/odf/wps2odt help2man -N --no-discard-stderr -n 'convert Works spreadsheet into ODF' -o wks2ods.1 ./src/odf/wks2ods +help2man -N --no-discard-stderr -n 'convert e-book into AbiWord' -o ebook2abw.1 ./src/abw/ebook2abw help2man -N --no-discard-stderr -n 'convert e-book into EPUB' -o ebook2epub.1 ./src/epub/ebook2epub help2man -N --no-discard-stderr -n 'convert e-book into ODF' -o ebook2odt.1 ./src/odf/ebook2odt @@ -108,7 +124,7 @@ help2man -N --no-discard-stderr -n 'convert e-book into ODF' -o ebook2odt.1 ./sr make install DESTDIR=%{buildroot} install -m 0755 -d %{buildroot}/%{_mandir}/man1 -install -m 0644 *2epub.1 *2od?.1 %{buildroot}/%{_mandir}/man1 +install -m 0644 *2abw.1 *2epub.1 *2od?.1 %{buildroot}/%{_mandir}/man1 %files %doc ChangeLog COPYING.LGPL COPYING.MPL NEWS README @@ -180,7 +196,25 @@ install -m 0644 *2epub.1 *2od?.1 %{buildroot}/%{_mandir}/man1 %{_mandir}/man1/wpg2epub.1* %{_mandir}/man1/wps2epub.1* +%files abw +%doc ChangeLog COPYING.LGPL COPYING.MPL NEWS README +%{_bindir}/abw2abw +%{_bindir}/ebook2abw +%{_bindir}/mwaw2abw +%{_bindir}/pages2abw +%{_bindir}/wpd2abw +%{_bindir}/wps2abw +%{_mandir}/man1/abw2abw.1* +%{_mandir}/man1/ebook2abw.1* +%{_mandir}/man1/mwaw2abw.1* +%{_mandir}/man1/pages2abw.1* +%{_mandir}/man1/wpd2abw.1* +%{_mandir}/man1/wps2abw.1* + %changelog +* 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