|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
Name: libmspub
|
|
|
|
|
Version: 0.0.6
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: A library providing ability to interpret and import Microsoft Publisher files
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -12,6 +12,7 @@ Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
BuildRequires: pkgconfig(icu-i18n)
|
|
|
|
|
BuildRequires: pkgconfig(libwpd-0.9)
|
|
|
|
|
BuildRequires: pkgconfig(libwpg-0.2)
|
|
|
|
@ -59,12 +60,19 @@ sed -i \
|
|
|
|
|
libtool
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o pub2raw.1 ./src/conv/raw/.libs/pub2raw
|
|
|
|
|
help2man -N -n 'convert Publisher document into SVG' -o pub2xhtml.1 ./src/conv/svg/.libs/pub2xhtml
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
# rhbz#1001245 we install API docs directly from build
|
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
|
install -m 0644 pub2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
@ -85,8 +93,13 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
%files tools
|
|
|
|
|
%{_bindir}/pub2raw
|
|
|
|
|
%{_bindir}/pub2xhtml
|
|
|
|
|
%{_mandir}/man1/pub2raw.1*
|
|
|
|
|
%{_mandir}/man1/pub2xhtml.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.6-6
|
|
|
|
|
- generate man pages
|
|
|
|
|
|
|
|
|
|
* Thu Feb 13 2014 David Tardon <dtardon@redhat.com> - 0.0.6-5
|
|
|
|
|
- rebuild for new ICU
|
|
|
|
|
|
|
|
|
|