diff --git a/.gitignore b/.gitignore index 2ce17b9..974d387 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /libwps-0.4.0.tar.xz /libwps-0.4.1.tar.xz /libwps-0.4.2.tar.xz +/libwps-0.4.3.tar.xz diff --git a/libwps.spec b/libwps.spec index 0324704..6ca6b1e 100644 --- a/libwps.spec +++ b/libwps.spec @@ -1,8 +1,8 @@ %global apiversion 0.4 Name: libwps -Version: 0.4.2 -Release: 3%{?dist} +Version: 0.4.3 +Release: 1%{?dist} Summary: A library for import of Microsoft Works documents License: LGPLv2+ or MPLv2.0 @@ -15,7 +15,9 @@ BuildRequires: pkgconfig(librevenge-0.0) %description %{name} is a library for import of Microsoft Works text documents, -spreadsheets and (in a limited way) databases. +spreadsheets and (in a limited way) databases. Full list of supported +formats is available at +https://sourceforge.net/p/libwps/wiki/Home/#recognized-formats . %package devel Summary: Development files for %{name} @@ -49,20 +51,16 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 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 'convert Works spreadsheet into CSV' -o wks2csv.1 ./src/conv/wks2csv/.libs/wks2csv -help2man -N -n 'debug the conversion library' -o wks2raw.1 ./src/conv/wks2raw/.libs/wks2raw -help2man -N -n 'convert Works spreadsheet into plain text' -o wks2text.1 ./src/conv/wks2text/.libs/wks2text -help2man -N -n 'debug the conversion library' -o wps2raw.1 ./src/conv/raw/.libs/wps2raw -help2man -N -n 'convert Works document into HTML' -o wps2html.1 ./src/conv/html/.libs/wps2html -help2man -N -n 'convert Works document into plain text' -o wps2text.1 ./src/conv/text/.libs/wps2text - %install make install INSTALL="install -p" DESTDIR="%{buildroot}" rm -f %{buildroot}%{_libdir}/*.la # we install API docs directly from build rm -rf %{buildroot}%{_defaultdocdir}/%{name} +export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} +for tool in wks2csv wks2raw wks2text wps2html wps2raw wps2text; do + help2man -S %{name} -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool} +done install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0644 wks2*.1 wps2*.1 %{buildroot}/%{_mandir}/man1 @@ -99,6 +97,9 @@ install -m 0644 wks2*.1 wps2*.1 %{buildroot}/%{_mandir}/man1 %doc docs/doxygen/html %changelog +* Sun Feb 14 2016 David Tardon - 0.4.3-1 +- new upstream release + * Thu Feb 04 2016 Fedora Release Engineering - 0.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 011b684..90a6274 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fdfc3b9c40d5912927a866d88196f394 libwps-0.4.2.tar.xz +fac8ca5e66d1585fe18ede02a15deaf3 libwps-0.4.3.tar.xz