2024-01-06 05:18:21 +01:00
|
|
|
Name: liborcus
|
2024-01-06 05:18:21 +01:00
|
|
|
Version: 0.7.0
|
|
|
|
Release: 1mamba
|
2024-01-06 05:18:21 +01:00
|
|
|
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
|
2024-01-06 05:18:21 +01:00
|
|
|
Source: http://kohei.us/files/orcus/src/liborcus-%{version}.tar.bz2
|
|
|
|
#Source: http://dev-www.libreoffice.org/src/ea2acaf140ae40a87a952caa75184f4d-liborcus-%{version}.tar.bz2
|
2024-01-06 05:18:21 +01:00
|
|
|
#Source: git://gitorious.org/orcus/orcus.git/master/orcus-%{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
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libboost-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libixion-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:18:21 +01:00
|
|
|
BuildRequires: libixion-devel >= 0.7
|
2024-01-06 05:18:21 +01:00
|
|
|
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
|
2024-01-06 05:18:21 +01:00
|
|
|
#%patch1 -p1
|
2024-01-06 05:18:21 +01:00
|
|
|
%patch2 -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.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/liborcus-*/orcus
|
|
|
|
%{_includedir}/liborcus-*/orcus/*.hpp
|
|
|
|
%dir %{_includedir}/liborcus-*/orcus/ooxml
|
|
|
|
%{_includedir}/liborcus-*/orcus/ooxml/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
|
|
|
|
%doc NEWS README
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/orcus-csv
|
2024-01-06 05:18:21 +01:00
|
|
|
%{_bindir}/orcus-detect
|
2024-01-06 05:18:21 +01:00
|
|
|
%{_bindir}/orcus-gnumeric
|
|
|
|
%{_bindir}/orcus-mso-encryption
|
|
|
|
%{_bindir}/orcus-ods
|
2024-01-06 05:18:21 +01:00
|
|
|
%{_bindir}/orcus-xls-xml
|
2024-01-06 05:18:21 +01:00
|
|
|
%{_bindir}/orcus-xlsx
|
|
|
|
%{_bindir}/orcus-xml
|
|
|
|
%{_bindir}/orcus-xml-dump
|
|
|
|
#%{_bindir}/orcus-xls-xml
|
|
|
|
%{_bindir}/orcus-zip-dump
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:18:21 +01:00
|
|
|
* Sun Jul 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
|
|
|
|
- update to 0.7.0
|
|
|
|
|
2024-01-06 05:18:21 +01:00
|
|
|
* 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
|