|
|
@ -1,8 +1,8 @@
|
|
|
|
%global apiversion 0.2
|
|
|
|
%global apiversion 0.3
|
|
|
|
|
|
|
|
|
|
|
|
Name: libwps
|
|
|
|
Name: libwps
|
|
|
|
Version: 0.2.9
|
|
|
|
Version: 0.3.0
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Library for reading and converting Microsoft Works word processor documents
|
|
|
|
Summary: Library for reading and converting Microsoft Works word processor documents
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
@ -13,10 +13,10 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: help2man
|
|
|
|
BuildRequires: help2man
|
|
|
|
BuildRequires: pkgconfig(libwpd-0.9)
|
|
|
|
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Library that handles Microsoft Works documents.
|
|
|
|
Library that handles Microsoft Works documents and spreadsheets.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
@ -33,8 +33,8 @@ Group: Applications/Publishing
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
%description tools
|
|
|
|
Tools to transform Works documents into other formats.
|
|
|
|
Tools to transform Works documents and spreadsheets into other formats.
|
|
|
|
Currently supported: HTML, raw, text
|
|
|
|
Currently supported: CSV, HTML, raw, text
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation of %{name} API
|
|
|
|
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}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
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 '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 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
|
|
|
|
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}
|
|
|
|
rm -rf %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
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
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
@ -85,9 +88,15 @@ install -m 0644 wps2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%files tools
|
|
|
|
|
|
|
|
%{_bindir}/wks2csv
|
|
|
|
|
|
|
|
%{_bindir}/wks2raw
|
|
|
|
|
|
|
|
%{_bindir}/wks2text
|
|
|
|
%{_bindir}/wps2html
|
|
|
|
%{_bindir}/wps2html
|
|
|
|
%{_bindir}/wps2raw
|
|
|
|
%{_bindir}/wps2raw
|
|
|
|
%{_bindir}/wps2text
|
|
|
|
%{_bindir}/wps2text
|
|
|
|
|
|
|
|
%{_mandir}/man1/wks2csv.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/wks2raw.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/wks2text.1*
|
|
|
|
%{_mandir}/man1/wps2html.1*
|
|
|
|
%{_mandir}/man1/wps2html.1*
|
|
|
|
%{_mandir}/man1/wps2raw.1*
|
|
|
|
%{_mandir}/man1/wps2raw.1*
|
|
|
|
%{_mandir}/man1/wps2text.1*
|
|
|
|
%{_mandir}/man1/wps2text.1*
|
|
|
@ -97,6 +106,9 @@ install -m 0644 wps2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
%doc docs/doxygen/html
|
|
|
|
%doc docs/doxygen/html
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.3.0-1
|
|
|
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.2.9-8
|
|
|
|
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.2.9-8
|
|
|
|
- Rebuild for boost 1.55.0
|
|
|
|
- Rebuild for boost 1.55.0
|
|
|
|
|
|
|
|
|
|
|
|