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