|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%global apiversion 0.0
|
|
|
|
|
|
|
|
|
|
Name: libpagemaker
|
|
|
|
|
Version: 0.0.2
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Version: 0.0.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A library for import of Adobe PageMaker documents
|
|
|
|
|
|
|
|
|
|
License: MPLv2.0
|
|
|
|
@ -52,16 +52,17 @@ sed -i \
|
|
|
|
|
libtool
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o pmd2raw.1 ./src/conv/raw/.libs/pmd2raw
|
|
|
|
|
help2man -N -n 'convert PageMaker document into SVG' -o pmd2svg.1 ./src/conv/svg/.libs/pmd2svg
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
# we install API docs directly from build
|
|
|
|
|
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
|
|
|
|
|
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
|
|
done
|
|
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
|
install -m 0644 pmd2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
@ -90,6 +91,9 @@ install -m 0644 pmd2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
%{_mandir}/man1/pmd2svg.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Mar 03 2016 David Tardon <dtardon@redhat.com> - 0.0.3-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|