|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%global apiversion 0.3
|
|
|
|
|
|
|
|
|
|
Name: libwpg
|
|
|
|
|
Version: 0.3.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.3.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A library for import of WordPerfect Graphics images
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+ or MPLv2.0
|
|
|
|
@ -57,14 +57,12 @@ sed -i \
|
|
|
|
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
|
|
libtool
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
sed 's/\r//' -i ChangeLog
|
|
|
|
|
find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg
|
|
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o wpg2raw.1 ./src/conv/raw/.libs/wpg2raw
|
|
|
|
|
help2man -N -n 'convert WordPerfect Graphics into SVG' -o wpg2svg.1 ./src/conv/svg/.libs/wpg2svg
|
|
|
|
|
help2man -N -o wpg2raw.1 ./src/conv/raw/wpg2raw
|
|
|
|
|
help2man -N -o wpg2svg.1 ./src/conv/svg/wpg2svg
|
|
|
|
|
help2man -N -n 'batch convert WordPerfect Graphics files into SVG' \
|
|
|
|
|
--help-option=-h --no-discard-stderr \
|
|
|
|
|
--help-option=-h --version-string='wpg2svgbatch.pl %{version}' \
|
|
|
|
|
-o wpg2svgbatch.pl.1 ./src/conv/svg/wpg2svgbatch.pl
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -80,7 +78,7 @@ install -m 0644 wpg2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS ChangeLog COPYING.LGPL COPYING.MPL
|
|
|
|
|
%doc AUTHORS NEWS COPYING.LGPL COPYING.MPL
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
@ -101,6 +99,9 @@ install -m 0644 wpg2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
%{_mandir}/man1/wpg2svgbatch.pl.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 27 2015 David Tardon <dtardon@redhat.com> - 0.3.1-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|