|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
Name: libetonyek
|
|
|
|
|
Version: 0.0.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: A library for import of Apple Keynote presentations
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -13,6 +13,7 @@ Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: gperf
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
BuildRequires: pkgconfig(cppunit)
|
|
|
|
|
BuildRequires: pkgconfig(libwpd-0.9)
|
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
@ -60,12 +61,20 @@ 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 '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
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
# we install API docs directly from build
|
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
|
install -m 0644 key2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
@ -92,8 +101,14 @@ make %{?_smp_mflags} check
|
|
|
|
|
%{_bindir}/key2raw
|
|
|
|
|
%{_bindir}/key2text
|
|
|
|
|
%{_bindir}/key2xhtml
|
|
|
|
|
%{_mandir}/man1/key2raw.1*
|
|
|
|
|
%{_mandir}/man1/key2text.1*
|
|
|
|
|
%{_mandir}/man1/key2xhtml.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.3-2
|
|
|
|
|
- generate man pages
|
|
|
|
|
|
|
|
|
|
* Fri Dec 06 2013 David Tardon <dtardon@redhat.com> - 0.0.3-1
|
|
|
|
|
- new release
|
|
|
|
|
|
|
|
|
|