2024-01-06 05:02:10 +01:00
|
|
|
%define with_mem_tests 0
|
|
|
|
%define with_perf_tests 0
|
2024-01-06 05:02:10 +01:00
|
|
|
#% define apiver %(echo %version|cut -d. -f1-2)
|
|
|
|
%define apiver 1.5
|
2024-01-06 05:02:10 +01:00
|
|
|
Name: libmdds
|
2024-01-06 05:02:10 +01:00
|
|
|
Version: 1.7.0
|
2024-01-06 05:02:10 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A collection of multi-dimensional data structure and indexing algorithm (mdds)
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://code.google.com/p/multidimalgorithm/
|
2024-01-06 05:02:10 +01:00
|
|
|
Source: https://gitlab.com/mdds/mdds.git/%{version}/mdds-%{version}.tar.bz2
|
2024-01-06 05:02:10 +01:00
|
|
|
Patch0: libmdds-0.5.3-boost-1.50.patch
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libboost-devel
|
|
|
|
%if %with_mem_tests
|
|
|
|
BuildRequires: valgrind
|
2024-01-06 05:02:10 +01:00
|
|
|
BuildRequires: gdb
|
2024-01-06 05:02:10 +01:00
|
|
|
%endif
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This library provides a collection of multi-dimensional data structure and indexing algorithm.
|
|
|
|
All data structures are available as C++ templates, hence this is a header-only library, with no shared library to link against.
|
|
|
|
|
|
|
|
It implements the following data structures:
|
|
|
|
* segment tree
|
|
|
|
* flat segment tree
|
|
|
|
* rectangle set
|
|
|
|
* point quad tree
|
|
|
|
* mixed type matrix
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Headers for %{name}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
A collection of multi-dimensional data structure and indexing algorithm (mdds).
|
|
|
|
|
|
|
|
This package contains header files need for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 05:02:10 +01:00
|
|
|
%setup -q -n mdds-%{version}
|
2024-01-06 05:02:10 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
#sed -i -e '/^CPPFLAGS/s/-Wall.*-std/%{optflags} -std/' Makefile.in
|
2024-01-06 05:02:10 +01:00
|
|
|
./autogen.sh
|
2024-01-06 05:02:10 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--docdir=%{_docdir}/%{name}-%{version}
|
2024-01-06 05:02:10 +01:00
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_docdir}
|
|
|
|
|
|
|
|
%check
|
2024-01-06 05:02:10 +01:00
|
|
|
%ifnarch %{ix86}
|
2024-01-06 05:02:10 +01:00
|
|
|
%make check
|
2024-01-06 05:02:10 +01:00
|
|
|
%endif
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
#for test in fst pqt recset st; do
|
|
|
|
# make test.$test
|
|
|
|
#done
|
|
|
|
#%if %with_perf_tests
|
|
|
|
# for t in recset st; do
|
|
|
|
# make test.$t.perf
|
|
|
|
# done
|
|
|
|
# make test.stl
|
|
|
|
#%endif
|
|
|
|
#%if %with_mem_tests
|
|
|
|
# for t in fst pqt recset st; do
|
|
|
|
# make test.$t.mem
|
|
|
|
# done
|
|
|
|
#%endif
|
2024-01-06 05:02:10 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:02:10 +01:00
|
|
|
%dir %{_includedir}/mdds-%{apiver}
|
|
|
|
%dir %{_includedir}/mdds-%{apiver}/mdds
|
|
|
|
%{_includedir}/mdds-%{apiver}/mdds/*
|
|
|
|
%{_datadir}/pkgconfig/mdds-%{apiver}.pc
|
2024-01-06 05:02:10 +01:00
|
|
|
%doc AUTHORS
|
2024-01-06 05:02:10 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:02:10 +01:00
|
|
|
* Wed Nov 04 2020 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Wed Sep 02 2020 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Fri Jan 31 2020 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Mon Dec 10 2018 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Mon Sep 12 2016 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Sat Jun 25 2016 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- update to 1.2.0
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Thu Dec 03 2015 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Sat Jun 20 2015 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Sat Feb 07 2015 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Mon Dec 22 2014 Automatic Build System <autodist@mambasoft.it> 0.11.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Sat Oct 04 2014 Automatic Build System <autodist@mambasoft.it> 0.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Sat Sep 20 2014 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:02:10 +01:00
|
|
|
* Sun Apr 27 2014 Automatic Build System <autodist@mambasoft.it> 0.10.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.2-1mamba
|
|
|
|
- update to 0.10.2
|
|
|
|
|
|
|
|
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
|
|
|
|
- update to 0.9.0
|
|
|
|
|
|
|
|
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-1mamba
|
|
|
|
- update to 0.6.1
|
|
|
|
|
|
|
|
* Tue Aug 28 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-3mamba
|
|
|
|
- added patch to fix build with libboost 1.50 (and then libreoffice)
|
|
|
|
|
|
|
|
* Thu Oct 13 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-2mamba
|
|
|
|
- (lost changelog)
|
|
|
|
|
|
|
|
* Thu Oct 13 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-1mamba
|
|
|
|
- update to 0.5.3
|
|
|
|
|
|
|
|
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.5.1-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sat Jan 22 2011 gil <puntogil@libero.it> 0.5.1-1mamba
|
|
|
|
- package created by autospec
|