|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
%global apiversion 0.1
|
|
|
|
|
%global apiversion 0.2
|
|
|
|
|
|
|
|
|
|
Name: libmwaw
|
|
|
|
|
Version: 0.1.11
|
|
|
|
|
Version: 0.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Import library for some old mac text documents
|
|
|
|
|
Summary: An import library for many old mac document formats
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
# The entire source code is LGPLv2+/MPLv2.0 except
|
|
|
|
@ -17,11 +17,14 @@ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: libwpd-devel
|
|
|
|
|
BuildRequires: libwpg-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
libmwaw contains some import filters for old mac text documents
|
|
|
|
|
(MacWrite, ClarisWorks, ... ) based on top of the libwpd (which is
|
|
|
|
|
already used in three word processors).
|
|
|
|
|
libmwaw contains import filters for many old mac documents, mostly text
|
|
|
|
|
formats like ClarisWorks, MacWrite or MS Word for Mac, but it has a
|
|
|
|
|
limited support for vector drawings and spreadsheets as well (limited in
|
|
|
|
|
the sense that it treats them as text documents). Full list of supported
|
|
|
|
|
formats is available at https://sourceforge.net/p/libmwaw/wiki/Home/ .
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
@ -48,7 +51,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
Tools to transform the supported document formats into other formats.
|
|
|
|
|
Supported output formats are XHTML, text and raw.
|
|
|
|
|
Supported output formats are CSV, XHTML, text and raw.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -85,6 +88,7 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc HACKING
|
|
|
|
|
%{_includedir}/%{name}-%{apiversion}
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
@ -96,12 +100,16 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%{_bindir}/mwaw2csv
|
|
|
|
|
%{_bindir}/mwaw2html
|
|
|
|
|
%{_bindir}/mwaw2raw
|
|
|
|
|
%{_bindir}/mwaw2text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Nov 02 2013 David Tardon <dtardon@redhat.com> - 0.2.0-1
|
|
|
|
|
- new release
|
|
|
|
|
|
|
|
|
|
* Mon Sep 09 2013 David Tardon <dtardon@redhat.com> - 0.1.11-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|