152 lines
4.3 KiB
RPMSpec
152 lines
4.3 KiB
RPMSpec
Name: liborcus
|
|
Version: 0.17.2
|
|
Release: 1mamba
|
|
Summary: Standalone file import filter library for spreadsheet documents
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://gitlab.com/orcus/orcus
|
|
Source: https://dev-www.libreoffice.org/src/liborcus-%{version}.tar.bz2
|
|
Patch0: liborcus-0.3.0-libboost-1.52.patch
|
|
Patch1: liborcus-0.5.1-libmdds-0.8.patch
|
|
Patch2: liborcus-0.5.1-libboost-1.54.patch
|
|
Patch3: liborcus-0.7.0-libboost-1.56.patch
|
|
Patch4: liborcus-0.7.0-gcc-5.3.patch
|
|
Patch5: liborcus-0.16.1-gcc-11.1.0.patch
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libboost-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libixion-devel
|
|
BuildRequires: libpython3-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libixion-devel >= 0.13
|
|
|
|
%description
|
|
Standalone file import filter library for spreadsheet documents. Currently under development are ODS, XLSX and CSV import filters.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package tools
|
|
Group: Applications/Publishing
|
|
Summary: Utility applications for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
This package contains utility applications for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#-D -T
|
|
#:<< _EOF
|
|
#%patch0 -p1
|
|
#%patch1 -p1
|
|
%patch2 -p1
|
|
#%patch3 -p1
|
|
#%patch4 -p1
|
|
#%patch5 -p1
|
|
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure \
|
|
PYTHON=%{__python3}
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/liborcus-*.so.*
|
|
%dir %{python3_sitelib}/orcus
|
|
%{python3_sitelib}/orcus/*
|
|
%{python3_sitearch}/_orcus.*
|
|
%{python3_sitearch}/_orcus_json.*
|
|
%doc AUTHORS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/liborcus-*/orcus
|
|
%{_includedir}/liborcus-*/orcus/*.hpp
|
|
%{_includedir}/liborcus-*/orcus/detail/parser_token_buffer.hpp
|
|
%{_includedir}/liborcus-*/orcus/detail/thread.hpp
|
|
#%{_includedir}/liborcus-*/orcus/mso/encryption_info.hpp
|
|
%dir %{_includedir}/liborcus-*/orcus/spreadsheet
|
|
%{_includedir}/liborcus-*/orcus/spreadsheet/*.hpp
|
|
%{_libdir}/liborcus-*.a
|
|
%{_libdir}/liborcus-*.la
|
|
%{_libdir}/liborcus-*.so
|
|
%{_libdir}/pkgconfig/liborcus-*.pc
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/orcus-*
|
|
|
|
%changelog
|
|
* Mon Feb 28 2022 Automatic Build System <autodist@mambasoft.it> 0.17.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.0-1mamba
|
|
- update to 0.17.0
|
|
|
|
* Sat Jun 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.1-2mamba
|
|
- added patch for gcc 11.1.0
|
|
|
|
* Thu Nov 12 2020 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.4-1mamba
|
|
- update to 0.15.4
|
|
|
|
* Sun Feb 02 2020 Automatic Build System <autodist@mambasoft.it> 0.15.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 12 2019 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun May 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.4-1mamba
|
|
- update to 0.13.4
|
|
|
|
* Fri Sep 15 2017 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jul 06 2016 Automatic Build System <autodist@mambasoft.it> 0.11.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jan 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-1mamba
|
|
- update to 0.9.2
|
|
|
|
* Sun Jul 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
|
|
- update to 0.7.0
|
|
|
|
* Mon Dec 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-2mamba
|
|
- rebuilt with boost 1.55
|
|
|
|
* Wed Aug 07 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
- update to 0.5.1
|
|
|
|
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
|
|
- package created by silvan using the webbuild interface
|