liborcus/liborcus.spec

129 lines
3.7 KiB
RPMSpec
Raw Normal View History

Name: liborcus
Version: 0.14.1
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: http://gitorious.org/orcus
Source: https://dev-www.libreoffice.org/src/liborcus-%{version}.tar.gz
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
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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}
## note: you can add this requirement if .pc files are provided by this package
#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
#%patch0 -p1
#%patch1 -p1
%patch2 -p1
#%patch3 -p1
#%patch4 -p1
%build
./autogen.sh
%configure
%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
* 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