|
|
|
@ -14,33 +14,27 @@ BuildRequires: cppunit-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: libwpd-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Library that handles Microsoft Works documents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: Tools to transform Works documents into other formats
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
Tools to transform Works documents into other formats.
|
|
|
|
|
Currently supported: html, raw, text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation of %{name} API
|
|
|
|
|
Group: Documentation
|
|
|
|
@ -50,8 +44,6 @@ BuildArch: noarch
|
|
|
|
|
%description doc
|
|
|
|
|
The %{name}-doc package contains documentation files for %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
# Prevent autotools from being rerun
|
|
|
|
@ -64,7 +56,6 @@ 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}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install INSTALL="install -p" DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
|
@ -73,13 +64,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}/ -type d -exec chmod 755 {} +
|
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -exec chmod 644 {} +
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING.LGPL COPYING.MPL CREDITS NEWS README
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
@ -90,17 +77,14 @@ find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -exec chmod 644 {} +
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%{_bindir}/wps2html
|
|
|
|
|
%{_bindir}/wps2raw
|
|
|
|
|
%{_bindir}/wps2text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%{_defaultdocdir}/%{name}/html/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat May 25 2013 David Tardon <dtardon@redhat.com> - 0.2.9-1
|
|
|
|
|
- new release
|
|
|
|
|