diff --git a/.gitignore b/.gitignore index 77d5329..1c13583 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /libwps-0.2.7.tar.gz /libwps-0.2.8.tar.gz /libwps-0.2.9.tar.xz +/libwps-0.3.0.tar.xz diff --git a/libwps.spec b/libwps.spec index 5b997f3..e69c414 100644 --- a/libwps.spec +++ b/libwps.spec @@ -1,8 +1,8 @@ -%global apiversion 0.2 +%global apiversion 0.3 Name: libwps -Version: 0.2.9 -Release: 8%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: Library for reading and converting Microsoft Works word processor documents Group: System Environment/Libraries @@ -13,10 +13,10 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: help2man -BuildRequires: pkgconfig(libwpd-0.9) +BuildRequires: pkgconfig(librevenge-0.0) %description -Library that handles Microsoft Works documents. +Library that handles Microsoft Works documents and spreadsheets. %package devel Summary: Development files for %{name} @@ -33,8 +33,8 @@ Group: Applications/Publishing Requires: %{name}%{?_isa} = %{version}-%{release} %description tools -Tools to transform Works documents into other formats. -Currently supported: HTML, raw, text +Tools to transform Works documents and spreadsheets into other formats. +Currently supported: CSV, HTML, raw, text %package doc Summary: Documentation of %{name} API @@ -56,6 +56,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 '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 @@ -69,7 +72,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' rm -rf %{buildroot}%{_defaultdocdir}/%{name} install -m 0755 -d %{buildroot}/%{_mandir}/man1 -install -m 0644 wps2*.1 %{buildroot}/%{_mandir}/man1 +install -m 0644 wks2*.1 wps2*.1 %{buildroot}/%{_mandir}/man1 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -85,9 +88,15 @@ install -m 0644 wps2*.1 %{buildroot}/%{_mandir}/man1 %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc %files tools +%{_bindir}/wks2csv +%{_bindir}/wks2raw +%{_bindir}/wks2text %{_bindir}/wps2html %{_bindir}/wps2raw %{_bindir}/wps2text +%{_mandir}/man1/wks2csv.1* +%{_mandir}/man1/wks2raw.1* +%{_mandir}/man1/wks2text.1* %{_mandir}/man1/wps2html.1* %{_mandir}/man1/wps2raw.1* %{_mandir}/man1/wps2text.1* @@ -97,6 +106,9 @@ install -m 0644 wps2*.1 %{buildroot}/%{_mandir}/man1 %doc docs/doxygen/html %changelog +* Mon May 26 2014 David Tardon - 0.3.0-1 +- new upstream release + * Thu May 22 2014 Petr Machata - 0.2.9-8 - Rebuild for boost 1.55.0 diff --git a/sources b/sources index 103fcfd..d6da053 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -95ae3908111b1ab8a3e3caed1807b5be libwps-0.2.9.tar.xz +3c2958317878d4888804d66a203d00f8 libwps-0.3.0.tar.xz