|
|
|
@ -35,7 +35,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%description tools
|
|
|
|
|
Tools for working with Orcus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
# fix build of orcus-zip-dump
|
|
|
|
@ -48,7 +47,6 @@ sed -i \
|
|
|
|
|
-e 's/liborcus_test_xml_structure_tree_LDADD = /& $(BOOST_SYSTEM_LIB) /' \
|
|
|
|
|
src/liborcus/Makefile.in src/parser/Makefile.in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# TODO spreadsheet-model requires ixion
|
|
|
|
|
%configure --disable-debug --disable-silent-rules --disable-static \
|
|
|
|
@ -60,28 +58,23 @@ sed -i \
|
|
|
|
|
libtool
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/src/liborcus/.libs:`pwd`/src/parser/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
make check %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS COPYING README
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
|
%{_libdir}/%{name}-mso-%{apiversion}.so.*
|
|
|
|
|
%{_libdir}/%{name}-parser-%{apiversion}.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/%{name}-%{apiversion}
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
|
@ -89,13 +82,11 @@ make check %{?_smp_mflags}
|
|
|
|
|
%{_libdir}/%{name}-parser-%{apiversion}.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%{_bindir}/orcus-mso-encryption
|
|
|
|
|
%{_bindir}/orcus-xml-dump
|
|
|
|
|
%{_bindir}/orcus-zip-dump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 28 2013 David Tardon <dtardon@redhat.com> - 0.5.1-2
|
|
|
|
|
- build orcus-zip-dump too
|
|
|
|
|