1 |
%global apiversion 1.0 |
2 |
|
3 |
Name: mdds |
4 |
Version: 1.1.0 |
5 |
Release: %mkrel 1 |
6 |
Summary: A collection of multi-dimensional data structures and indexing algorithms |
7 |
|
8 |
Group: Development/C |
9 |
License: MIT |
10 |
URL: https://gitlab.com/mdds/mdds |
11 |
Source0: http://kohei.us/files/%{name}/src/%{name}-%{version}.tar.bz2 |
12 |
Patch0: 0001-Resolves-tdf-90579-crash-on-undo-formula-to-value-on.patch |
13 |
# Temporary for Cauldron: |
14 |
Obsoletes: mdds0.6-devel mdds0.6 |
15 |
BuildRequires: boost-devel |
16 |
BuildArch: noarch |
17 |
|
18 |
%description |
19 |
%{name} is a collection of multi-dimensional data structures and |
20 |
indexing algorithms. |
21 |
|
22 |
%package devel |
23 |
Group: Development/C |
24 |
Summary: Headers for %{name} |
25 |
BuildArch: noarch |
26 |
Requires: boost-devel |
27 |
|
28 |
%description devel |
29 |
%{name} is a collection of multi-dimensional data structures and |
30 |
indexing algorithms. |
31 |
|
32 |
It implements the following data structures: |
33 |
* segment tree |
34 |
* flat segment tree |
35 |
* rectangle set |
36 |
* point quad tree |
37 |
* multi type matrix |
38 |
* multi type vector |
39 |
|
40 |
See README for a brief description of the structures. |
41 |
|
42 |
%prep |
43 |
%autosetup -p1 |
44 |
# this is only used in tests |
45 |
sed -i -e '/^CPPFLAGS/s/-Wall.*-std/%{optflags} -std/' Makefile.in |
46 |
|
47 |
%build |
48 |
%configure2_5x |
49 |
|
50 |
%install |
51 |
%make_install |
52 |
rm -rf %{buildroot}%{_docdir}/%{name}-%{apiversion} |
53 |
|
54 |
%check |
55 |
%make check |
56 |
|
57 |
%files devel |
58 |
%{_includedir}/%{name}-%{apiversion} |
59 |
%{_datadir}/pkgconfig/%{name}-%{apiversion}.pc |
60 |
%doc AUTHORS NEWS README.md |
61 |
%license COPYING |