|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
Name: libmwaw
|
|
|
|
|
Version: 0.2.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: An import library for many old mac document formats
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -12,6 +12,7 @@ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
BuildRequires: pkgconfig(libwpd-0.9)
|
|
|
|
|
BuildRequires: pkgconfig(libwpg-0.2)
|
|
|
|
|
|
|
|
|
@ -59,6 +60,12 @@ sed -i \
|
|
|
|
|
libtool
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
help2man -N -n 'convert Mac spreadsheet into CSV' -o mwaw2csv.1 ./src/conv/csv/.libs/mwaw2csv
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o mwaw2raw.1 ./src/conv/raw/.libs/mwaw2raw
|
|
|
|
|
help2man -N -n 'convert Mac text document into HTML' -o mwaw2html.1 ./src/conv/html/.libs/mwaw2html
|
|
|
|
|
help2man -N -n 'convert Mac text document into plain text' -o mwaw2text.1 ./src/conv/text/.libs/mwaw2text
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
@ -67,6 +74,9 @@ rm -f %{buildroot}/%{_bindir}/mwawFile
|
|
|
|
|
# rhbz#1001297 we install API docs directly from build
|
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
|
install -m 0644 mwaw2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
@ -89,8 +99,15 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
%{_bindir}/mwaw2html
|
|
|
|
|
%{_bindir}/mwaw2raw
|
|
|
|
|
%{_bindir}/mwaw2text
|
|
|
|
|
%{_mandir}/man1/mwaw2csv.1*
|
|
|
|
|
%{_mandir}/man1/mwaw2html.1*
|
|
|
|
|
%{_mandir}/man1/mwaw2raw.1*
|
|
|
|
|
%{_mandir}/man1/mwaw2text.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.2.0-3
|
|
|
|
|
- generate man pages
|
|
|
|
|
|
|
|
|
|
* Wed Jan 22 2014 David Tardon <dtardon@redhat.com> - 0.2.0-2
|
|
|
|
|
- update licenses to current (simpler) state
|
|
|
|
|
|
|
|
|
|