|
|
|
@ -2,8 +2,8 @@
|
|
|
|
|
|
|
|
|
|
Name: libwpd
|
|
|
|
|
Summary: A library for import of WordPerfect documents
|
|
|
|
|
Version: 0.10.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.10.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
URL: http://libwpd.sf.net/
|
|
|
|
|
License: LGPLv2+ or MPLv2.0
|
|
|
|
@ -41,8 +41,6 @@ The %{name}-doc package contains API documentation for %{name}.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
chmod -x docs/%{name}.dia
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static --disable-werror --disable-silent-rules
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
@ -50,9 +48,9 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' 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 wpd2raw.1 ./src/conv/raw/.libs/wpd2raw
|
|
|
|
|
help2man -N -n 'convert WordPerfect document into HTML' -o wpd2html.1 ./src/conv/html/.libs/wpd2html
|
|
|
|
|
help2man -N -n 'convert WordPerfect document into plain text' -o wpd2text.1 ./src/conv/text/.libs/wpd2text
|
|
|
|
|
help2man -N -o wpd2raw.1 ./src/conv/raw/wpd2raw
|
|
|
|
|
help2man -N -o wpd2html.1 ./src/conv/html/wpd2html
|
|
|
|
|
help2man -N -o wpd2text.1 ./src/conv/text/wpd2text
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
@ -64,11 +62,10 @@ install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
|
install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc CREDITS README
|
|
|
|
|
%doc CREDITS NEWS README
|
|
|
|
|
%license COPYING.LGPL COPYING.MPL
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
|
|
|
|
|
@ -93,6 +90,9 @@ install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
%doc docs/%{name}.png
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Dec 30 2015 David Tardon <dtardon@redhat.com> - 0.10.1-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|