|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%global apiversion 0.0
|
|
|
|
|
|
|
|
|
|
Name: libpagemaker
|
|
|
|
|
Version: 0.0.3
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.0.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A library for import of Adobe PageMaker documents
|
|
|
|
|
|
|
|
|
|
License: MPLv2.0
|
|
|
|
@ -13,6 +13,8 @@ BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
|
|
BuildRequires: pkgconfig(librevenge-generators-0.0)
|
|
|
|
|
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
libpagemaker is library providing ability to interpret and import
|
|
|
|
@ -39,7 +41,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
Tools to transform Adobe PageMaker documents into other formats.
|
|
|
|
|
Currently supported: SVG, raw.
|
|
|
|
|
Currently supported: SVG, plain text, raw.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
@ -60,7 +62,7 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
# generate and install man pages
|
|
|
|
|
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
for tool in pmd2raw pmd2svg; do
|
|
|
|
|
for tool in pmd2raw pmd2svg pmd2text; do
|
|
|
|
|
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
|
|
done
|
|
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
@ -87,10 +89,15 @@ install -m 0644 pmd2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
%files tools
|
|
|
|
|
%{_bindir}/pmd2raw
|
|
|
|
|
%{_bindir}/pmd2svg
|
|
|
|
|
%{_bindir}/pmd2text
|
|
|
|
|
%{_mandir}/man1/pmd2raw.1*
|
|
|
|
|
%{_mandir}/man1/pmd2svg.1*
|
|
|
|
|
%{_mandir}/man1/pmd2text.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jan 09 2018 David Tardon <dtardon@redhat.com> - 0.0.4-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|