new upstream release 0.7.0

f41
David Tardon 11 years ago
parent 5f14c9202b
commit 0c672c8510

1
.gitignore vendored

@ -1,3 +1,4 @@
/liborcus_0.1.0.tar.bz2
/liborcus_0.3.0.tar.bz2
/liborcus-0.5.1.tar.bz2
/liborcus-0.7.0.tar.bz2

@ -1,13 +0,0 @@
diff --git a/configure b/configure
index 65e7d48..c85e89d 100755
--- a/configure
+++ b/configure
@@ -15335,7 +15335,7 @@ $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
libsubdirs="lib"
ax_arch=`uname -m`
- if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
+ if test $ax_arch = x86_64 -o $ax_arch = aarch64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
libsubdirs="lib64 lib lib64"
fi

@ -1,12 +0,0 @@
diff -Naur liborcus-0.5.1.orig/configure liborcus-0.5.1/configure
--- liborcus-0.5.1.orig/configure 2014-05-05 22:38:01.000000000 +0200
+++ liborcus-0.5.1/configure 2014-05-05 22:38:32.995207633 +0200
@@ -15335,7 +15335,7 @@
libsubdirs="lib"
ax_arch=`uname -m`
- if test $ax_arch = x86_64 -o $ax_arch = aarch64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
+ if test $ax_arch = x86_64 -o $ax_arch = aarch64 -o $ax_arch = ppc64 -o $ax_arch = ppc64le -o $ax_arch = s390x -o $ax_arch = sparc64; then
libsubdirs="lib64 lib lib64"
fi

@ -1,21 +1,20 @@
%global apiversion 0.6
%global apiversion 0.8
Name: liborcus
Version: 0.5.1
Release: 7%{?dist}
Version: 0.7.0
Release: 1%{?dist}
Summary: Standalone file import filter library for spreadsheet documents
Group: System Environment/Libraries
License: MIT
License: MPLv2.0
URL: http://gitorious.org/orcus
Source: http://kohei.us/files/orcus/src/%{name}-%{version}.tar.bz2
BuildRequires: boost-devel
BuildRequires: chrpath
BuildRequires: pkgconfig(mdds)
BuildRequires: pkgconfig(zlib)
Patch0: add-aarch64.patch
Patch1: add-ppc64le.patch
%description
%{name} is a standalone file import filter library for spreadsheet
documents. Currently under development are ODS, XLSX and CSV import
@ -41,16 +40,6 @@ Tools for working with %{name}.
%prep
%autosetup -p1
# fix build of orcus-zip-dump
sed -i -e 's/orcus_zip_dump_LDADD = /& $(BOOST_SYSTEM_LIB) /' \
src/Makefile.in
# TODO: upstream the changes
sed -i \
-e 's/[a-z_]*_test_LDADD = /& $(BOOST_SYSTEM_LIB) /' \
-e 's/parser_test_[a-z_]*_LDADD = /& $(BOOST_SYSTEM_LIB) /' \
-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 \
@ -65,6 +54,8 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/*.la
# because boost.m4 is total crap and adds RPATH unconditionally
chrpath -d %{buildroot}/%{_libdir}/*.so
%check
export LD_LIBRARY_PATH=`pwd`/src/liborcus/.libs:`pwd`/src/parser/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
@ -87,11 +78,15 @@ make check %{?_smp_mflags}
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
%files tools
%{_bindir}/orcus-detect
%{_bindir}/orcus-mso-encryption
%{_bindir}/orcus-xml-dump
%{_bindir}/orcus-zip-dump
%changelog
* Thu May 22 2014 David Tardon <dtardon@redhat.com> - 0.7.0-1
- new upstream release
* Mon May 05 2014 Jaromir Capik <jcapik@redhat.com> - 0.5.1-7
- add support for ppc64le

@ -1 +1 @@
ea2acaf140ae40a87a952caa75184f4d liborcus-0.5.1.tar.bz2
7681383be6ce489d84c1c74f4e7f9643 liborcus-0.7.0.tar.bz2

Loading…
Cancel
Save