|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%global apiversion 0.1
|
|
|
|
|
|
|
|
|
|
Name: libetonyek
|
|
|
|
|
Version: 0.1.5
|
|
|
|
|
Version: 0.1.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A library for import of Apple iWork documents
|
|
|
|
|
|
|
|
|
@ -15,6 +15,7 @@ BuildRequires: glm-devel
|
|
|
|
|
BuildRequires: gperf
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
BuildRequires: pkgconfig(cppunit)
|
|
|
|
|
BuildRequires: pkgconfig(liblangtag)
|
|
|
|
|
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(mdds)
|
|
|
|
@ -60,23 +61,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 key2raw.1 ./src/conv/raw/.libs/key2raw
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o numbers2raw.1 ./src/conv/raw/.libs/numbers2raw
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o pages2raw.1 ./src/conv/raw/.libs/pages2raw
|
|
|
|
|
help2man -N -n 'convert Numbers spreadsheet into CSV' -o numbers2csv.1 ./src/conv/csv/.libs/numbers2csv
|
|
|
|
|
help2man -N -n 'convert Pages document into HTML' -o pages2html.1 ./src/conv/html/.libs/pages2html
|
|
|
|
|
help2man -N -n 'convert Keynote presentation into SVG' -o key2xhtml.1 ./src/conv/svg/.libs/key2xhtml
|
|
|
|
|
help2man -N -n 'convert Keynote presentation into plain text' -o key2text.1 ./src/conv/text/.libs/key2text
|
|
|
|
|
help2man -N -n 'convert Numbers spreadsheet into plain text' -o numbers2text.1 ./src/conv/text/.libs/numbers2text
|
|
|
|
|
help2man -N -n 'convert Pages document into plain text' -o pages2text.1 ./src/conv/text/.libs/pages2text
|
|
|
|
|
|
|
|
|
|
%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 key2raw key2text key2xhtml numbers2csv numbers2raw numbers2text pages2html pages2raw pages2text; do
|
|
|
|
|
help2man -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
|
|
done
|
|
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
|
install -m 0644 key2*.1 numbers2*.1 pages2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
@ -123,6 +118,9 @@ make %{?_smp_mflags} check
|
|
|
|
|
%{_mandir}/man1/pages2text.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jan 13 2016 David Tardon <dtardon@redhat.com> - 0.1.6-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Thu Dec 03 2015 David Tardon <dtardon@redhat.com> - 0.1.5-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|