Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/liborcus-0.15.4.tar.xz
|
SOURCES/liborcus-0.16.1.tar.xz
|
||||||
|
@ -1 +1 @@
|
|||||||
a428ce282806e8e66d439d4cc8827ef91066fbb5 SOURCES/liborcus-0.15.4.tar.xz
|
8c84dcd87039f15ee8c9cf7c175d5091d3f56c90 SOURCES/liborcus-0.16.1.tar.xz
|
||||||
|
36
SOURCES/liborcus-gcc11.patch
Normal file
36
SOURCES/liborcus-gcc11.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
diff --git a/src/liborcus/orcus_xlsx.cpp b/src/liborcus/orcus_xlsx.cpp
|
||||||
|
index d9e16ef..604b0f8 100644
|
||||||
|
--- a/src/liborcus/orcus_xlsx.cpp
|
||||||
|
+++ b/src/liborcus/orcus_xlsx.cpp
|
||||||
|
@@ -30,6 +30,7 @@
|
||||||
|
#include "ooxml_global.hpp"
|
||||||
|
#include "spreadsheet_iface_util.hpp"
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
#include <cstdlib>
|
||||||
|
#include <iostream>
|
||||||
|
#include <string>
|
||||||
|
diff --git a/src/liborcus/xls_xml_context.cpp b/src/liborcus/xls_xml_context.cpp
|
||||||
|
index 3ca72e5..7504b4c 100644
|
||||||
|
--- a/src/liborcus/xls_xml_context.cpp
|
||||||
|
+++ b/src/liborcus/xls_xml_context.cpp
|
||||||
|
@@ -16,6 +16,7 @@
|
||||||
|
#include <mdds/sorted_string_map.hpp>
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
+#include <limits>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
namespace ss = orcus::spreadsheet;
|
||||||
|
diff --git a/src/liborcus/xlsx_revision_context.cpp b/src/liborcus/xlsx_revision_context.cpp
|
||||||
|
index edfd9ee..0b6ec0a 100644
|
||||||
|
--- a/src/liborcus/xlsx_revision_context.cpp
|
||||||
|
+++ b/src/liborcus/xlsx_revision_context.cpp
|
||||||
|
@@ -16,6 +16,7 @@
|
||||||
|
#include "orcus/global.hpp"
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
+#include <limits>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
@ -1,11 +1,8 @@
|
|||||||
--- a/Makefile.in 2018-09-14 22:51:18.000000000 +0100
|
--- a/Makefile.am 2018-09-14 22:51:18.000000000 +0100
|
||||||
+++ b/Makefile.in 2020-03-17 15:37:37.493186784 +0000
|
+++ b/Makefile.am 2020-03-17 15:37:37.493186784 +0000
|
||||||
@@ -407,7 +407,7 @@
|
@@ -1,4 +1,4 @@
|
||||||
top_build_prefix = @top_build_prefix@
|
-SUBDIRS = src include benchmark doc_example
|
||||||
top_builddir = @top_builddir@
|
+SUBDIRS = src include benchmark
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
-SUBDIRS = src include parser_handlers benchmark doc_example
|
|
||||||
+SUBDIRS = src include parser_handlers benchmark
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
pcfiles = liborcus-@ORCUS_API_VERSION@.pc $(am__append_1)
|
|
||||||
pkgconfig_DATA = $(pcfiles)
|
pcfiles = liborcus-@ORCUS_API_VERSION@.pc
|
||||||
|
@ -1,34 +1,49 @@
|
|||||||
%global apiversion 0.15
|
%global apiversion 0.16
|
||||||
|
|
||||||
|
%if 0%{?rhel}
|
||||||
|
|
||||||
# build conversion tools
|
# build conversion tools
|
||||||
%bcond_with convtools
|
%bcond_with convtools
|
||||||
# build python3 bindings
|
# build python3 bindings
|
||||||
%bcond_with python
|
%bcond_with python
|
||||||
|
|
||||||
|
%else
|
||||||
|
# build conversion tools
|
||||||
|
%bcond_without convtools
|
||||||
|
# build python3 bindings
|
||||||
|
%bcond_without python
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: liborcus
|
Name: liborcus
|
||||||
Version: 0.15.4
|
Version: 0.16.1
|
||||||
Release: 2%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Standalone file import filter library for spreadsheet documents
|
Summary: Standalone file import filter library for spreadsheet documents
|
||||||
|
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
URL: https://gitlab.com/orcus/orcus
|
URL: https://gitlab.com/orcus/orcus
|
||||||
Source0: http://kohei.us/files/orcus/src/%{name}-%{version}.tar.xz
|
Source0: https://kohei.us/files/orcus/src/%{name}-%{version}.tar.xz
|
||||||
|
Patch0: %{name}-gcc11.patch
|
||||||
|
Patch1: liborcus-noexamples.patch
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: automake
|
||||||
%if %{with convtools}
|
%if %{with convtools}
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
BuildRequires: pkgconfig(libixion-0.15)
|
BuildRequires: pkgconfig(libixion-0.16)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(mdds-1.5)
|
BuildRequires: pkgconfig(mdds-1.5)
|
||||||
%if %{with python}
|
%if %{with python}
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
|
%if 0%{?rhel}
|
||||||
|
BuildRequires: python3
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
Patch0: liborcus-noexamples.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{name} is a standalone file import filter library for spreadsheet
|
%{name} is a standalone file import filter library for spreadsheet
|
||||||
documents. Currently under development are ODS, XLSX and CSV import
|
documents. Currently under development are ODS, XLSX and CSV import
|
||||||
@ -87,27 +102,28 @@ API documentation for %{name}.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf
|
||||||
%configure --disable-debug --disable-silent-rules --disable-static \
|
%configure --disable-debug --disable-silent-rules --disable-static \
|
||||||
--disable-werror --with-pic %{?condopts}
|
--disable-werror --with-pic %{?condopts}
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
||||||
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
||||||
libtool
|
libtool
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
%make_install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{python3_sitearch}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{python3_sitearch}/*.la
|
||||||
|
|
||||||
%if %{with convtools}
|
%if %{with convtools}
|
||||||
# create and install man pages
|
# create and install man pages
|
||||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||||
help2man -N -S '%{name} %{version}' -n 'convert a CSV file' -o orcus-csv.1 %{buildroot}/usr/bin/orcus-csv
|
help2man -N -S '%{name} %{version}' -n 'convert a CSV file' -o orcus-csv.1 %{buildroot}%{_bindir}/orcus-csv
|
||||||
help2man -N -S '%{name} %{version}' -n 'convert a Gnumeric file' -o orcus-gnumeric.1 %{buildroot}/usr/bin/orcus-gnumeric
|
help2man -N -S '%{name} %{version}' -n 'convert a Gnumeric file' -o orcus-gnumeric.1 %{buildroot}%{_bindir}/orcus-gnumeric
|
||||||
help2man -N -S '%{name} %{version}' -n 'convert an ODF spreadsheet' -o orcus-ods.1 %{buildroot}/usr/bin/orcus-ods
|
help2man -N -S '%{name} %{version}' -n 'convert an ODF spreadsheet' -o orcus-ods.1 %{buildroot}%{_bindir}/orcus-ods
|
||||||
help2man -N -S '%{name} %{version}' -n 'transform an XML file' -o orcus-xls-xml.1 %{buildroot}/usr/bin/orcus-xls-xml
|
help2man -N -S '%{name} %{version}' -n 'transform an XML file' -o orcus-xls-xml.1 %{buildroot}%{_bindir}/orcus-xls-xml
|
||||||
help2man -N -S '%{name} %{version}' -n 'convert a OpenXML spreadsheet' -o orcus-xlsx.1 %{buildroot}/usr/bin/orcus-xlsx
|
help2man -N -S '%{name} %{version}' -n 'convert a OpenXML spreadsheet' -o orcus-xlsx.1 %{buildroot}%{_bindir}/orcus-xlsx
|
||||||
help2man -N -S '%{name} %{version}' -n 'convert an XML file' -o orcus-xml.1 %{buildroot}/usr/bin/orcus-xml
|
help2man -N -S '%{name} %{version}' -n 'convert an XML file' -o orcus-xml.1 %{buildroot}%{_bindir}/orcus-xml
|
||||||
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
||||||
install -p -m 0644 orcus-*.1 %{buildroot}/%{_mandir}/man1
|
install -p -m 0644 orcus-*.1 %{buildroot}/%{_mandir}/man1
|
||||||
%endif
|
%endif
|
||||||
@ -119,12 +135,10 @@ make doc-doxygen
|
|||||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||||
make check %{?_smp_mflags}
|
make check %{?_smp_mflags}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%if %{with convtools}
|
%if %{with convtools}
|
||||||
%post model -p /sbin/ldconfig
|
%ldconfig_scriptlets model
|
||||||
%postun model -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -185,17 +199,94 @@ make check %{?_smp_mflags}
|
|||||||
%doc doc/_doxygen/html
|
%doc doc/_doxygen/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Oct 25 2020 Caolán McNamara <caolanm@redhat.com> - 0.15.4-2
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.16.1-8
|
||||||
- Related: rhbz#1881132 update to 0.15.4
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
* Thu Oct 22 2020 Caolán McNamara <caolanm@redhat.com> - 0.15.4-1
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.16.1-7
|
||||||
- Resolves: rhbz#1881132 update to 0.15.4
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
* Fri Mar 13 2020 Caolán McNamara <caolanm@redhat.com> - 0.14.1-1
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-6
|
||||||
- Related: rhbz#1796893 update to 0.14.1
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
* Wed Jun 06 2018 David Tardon <dtardon@redhat.com> - 0.13.4-2
|
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 0.16.1-5
|
||||||
- drop dependency on libixion
|
- Rebuilt for Boost 1.75
|
||||||
|
|
||||||
|
* Tue Dec 08 2020 Caolán McNamara <caolanm@redhat.com> - 0.16.1-4
|
||||||
|
- fix build without libixion under rhel
|
||||||
|
|
||||||
|
* Wed Dec 02 2020 Caolán McNamara <caolanm@redhat.com> - 0.16.1-3
|
||||||
|
- build without libixion under rhel
|
||||||
|
|
||||||
|
* Mon Oct 19 2020 Jeff Law <law@redhat.com> - 0.16.1-2
|
||||||
|
- Fix missing headers for gcc-11
|
||||||
|
|
||||||
|
* Tue Sep 29 2020 Caolán McNamara <caolanm@redhat.com> - 0.16.1-1
|
||||||
|
- latest release
|
||||||
|
|
||||||
|
* Fri Sep 25 2020 Caolán McNamara <caolanm@redhat.com> - 0.16.0-3
|
||||||
|
- reenable make check
|
||||||
|
|
||||||
|
* Fri Sep 25 2020 Caolán McNamara <caolanm@redhat.com> - 0.16.0-2
|
||||||
|
- replace -DSIZEOF_VOID_P=4 with upstream solution
|
||||||
|
|
||||||
|
* Thu Sep 24 2020 Caolán McNamara <caolanm@redhat.com> - 0.16.0-1
|
||||||
|
- latest release
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.3-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 0.15.3-5
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
|
* Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 0.15.3-4
|
||||||
|
- Rebuilt for Boost 1.73
|
||||||
|
|
||||||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.15.3-3
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Nov 02 2019 David Tardon <dtardon@redhat.com> - 0.15.3-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.15.2-2
|
||||||
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
* Thu Aug 29 2019 Caolán McNamara <caolanm@redhat.com> - 0.15.2-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Tue Aug 20 2019 Caolán McNamara <caolanm@redhat.com> - 0.15.0-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-6
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Apr 05 2019 Stephan Bergmann <sbergman@redhat.com> - 0.14.1-4
|
||||||
|
- Replace hard-coded /usr/bin with _bindir macro for flatpak build
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.14.1-2
|
||||||
|
- Rebuilt for Boost 1.69
|
||||||
|
|
||||||
|
* Fri Oct 26 2018 David Tardon <dtardon@redhat.com> - 0.14.1-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Sun Sep 02 2018 David Tardon <dtardon@redhat.com> - 0.14.0-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.4-2
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
* Wed Feb 28 2018 David Tardon <dtardon@redhat.com> - 0.13.4-1
|
* Wed Feb 28 2018 David Tardon <dtardon@redhat.com> - 0.13.4-1
|
||||||
- new upstream release
|
- new upstream release
|
||||||
|
Loading…
Reference in New Issue
Block a user