]>
Commit | Line | Data |
---|---|---|
dbe2120a | 1 | Summary: A collection of multi-dimensional data structures and indexing algorithms |
021b4724 | 2 | Summary(pl.UTF-8): Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących |
dbe2120a | 3 | Name: mdds |
4250c1f6 | 4 | Version: 0.9.0 |
dbe2120a AM |
5 | Release: 1 |
6 | License: MIT | |
7 | Group: Development/Libraries | |
021b4724 | 8 | #Source0Download: https://code.google.com/p/multidimalgorithm/downloads/list |
dbe2120a | 9 | Source0: http://multidimalgorithm.googlecode.com/files/%{name}_%{version}.tar.bz2 |
4250c1f6 | 10 | # Source0-md5: 782735c43c742a27ebe19fb1871fed8f |
021b4724 | 11 | URL: http://code.google.com/p/multidimalgorithm/ |
47d79994 JB |
12 | BuildRequires: autoconf >= 2.50 |
13 | BuildRequires: boost-devel >= 1.39 | |
35b5323a | 14 | BuildRequires: rpmbuild(macros) >= 1.446 |
47d79994 | 15 | BuildRequires: sed >= 4.0 |
dbe2120a | 16 | BuildArch: noarch |
843e0754 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
dbe2120a AM |
18 | |
19 | %description | |
20 | A collection of multi-dimensional data structures and indexing | |
21 | algorithms. | |
22 | ||
23 | It implements the following data structures: | |
24 | - segment tree | |
25 | - flat segment tree | |
26 | - rectangle set | |
27 | - point quad tree | |
28 | - mixed type matrix | |
29 | ||
021b4724 JB |
30 | %description -l pl.UTF-8 |
31 | Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących. | |
32 | Zaimplementowane są następujące struktury danych: | |
33 | - drzewo segmentowe | |
34 | - płaskie drzewo segmentowe | |
35 | - zbiór prostokątów | |
36 | - drzewo czwórkowe (quadtree) dla punktów | |
37 | - macierz mieszana | |
38 | ||
dbe2120a | 39 | %package devel |
021b4724 JB |
40 | Summary: A collection of multi-dimensional data structures and indexing algorithms |
41 | Summary(pl.UTF-8): Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących | |
dbe2120a | 42 | Group: Development/Libraries |
47d79994 | 43 | Requires: boost-devel >= 1.39 |
dbe2120a AM |
44 | |
45 | %description devel | |
021b4724 JB |
46 | A collection of multi-dimensional data structures and indexing |
47 | algorithms. | |
48 | ||
49 | It implements the following data structures: | |
50 | - segment tree | |
51 | - flat segment tree | |
52 | - rectangle set | |
53 | - point quad tree | |
54 | - mixed type matrix | |
55 | ||
56 | %description devel -l pl.UTF-8 | |
57 | Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących. | |
58 | Zaimplementowane są następujące struktury danych: | |
59 | - drzewo segmentowe | |
60 | - płaskie drzewo segmentowe | |
61 | - zbiór prostokątów | |
62 | - drzewo czwórkowe (quadtree) dla punktów | |
63 | - macierz mieszana | |
dbe2120a | 64 | |
dbe2120a AM |
65 | %prep |
66 | %setup -q -n %{name}_%{version} | |
7a3941f7 | 67 | |
dbe2120a | 68 | # this is only used in tests |
47d79994 | 69 | sed -i -e '/^CPPFLAGS_NODEBUG/s/-Wall -Os -g/%{rpmcflags} -Wall/' configure.ac |
dbe2120a | 70 | |
dbe2120a | 71 | %build |
47d79994 | 72 | %{__autoconf} |
021b4724 JB |
73 | # we can switch from boost to c++0x (the default) if sufficiently new C++11 compliant g++ is enforced |
74 | %configure \ | |
75 | --with-hash-container=boost | |
dbe2120a AM |
76 | %{__make} |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
843e0754 ER |
80 | install -d $RPM_BUILD_ROOT%{_includedir}/mdds |
81 | cp -a include/mdds/* $RPM_BUILD_ROOT%{_includedir}/mdds | |
35b5323a | 82 | install -Dp misc/mdds.pc $RPM_BUILD_ROOT%{_npkgconfigdir}/mdds.pc |
dbe2120a AM |
83 | |
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
dbe2120a | 89 | %doc AUTHORS COPYING NEWS README |
843e0754 | 90 | %{_includedir}/mdds |
35b5323a | 91 | %{_npkgconfigdir}/mdds.pc |