]>
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 |
7a3941f7 | 4 | Version: 0.6.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 |
7a3941f7 AM |
10 | # Source0-md5: 3e89a35f253a4f1c7de68c57d851ef38 |
11 | Patch0: 0001-Fixes-build-breakage-on-Debian.patch | |
12 | Patch1: 0001-fix-linking-error-with-boost-1.50.patch | |
13 | Patch2: 0001-help-compiler-select-the-right-overload-of-vector-in.patch | |
021b4724 | 14 | URL: http://code.google.com/p/multidimalgorithm/ |
dbe2120a AM |
15 | BuildRequires: boost-devel |
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 AM |
42 | Group: Development/Libraries |
43 | Requires: boost-devel | |
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 AM |
67 | %patch0 -p1 |
68 | %patch1 -p1 | |
69 | %patch2 -p1 | |
70 | ||
dbe2120a AM |
71 | # this is only used in tests |
72 | sed -i -e '/^CPPFLAGS/s/-Wall.*-std/%{rpmcflags} -std/' Makefile.in | |
73 | ||
dbe2120a | 74 | %build |
021b4724 JB |
75 | # we can switch from boost to c++0x (the default) if sufficiently new C++11 compliant g++ is enforced |
76 | %configure \ | |
77 | --with-hash-container=boost | |
dbe2120a AM |
78 | %{__make} |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
843e0754 ER |
82 | install -d $RPM_BUILD_ROOT%{_includedir}/mdds |
83 | cp -a include/mdds/* $RPM_BUILD_ROOT%{_includedir}/mdds | |
dbe2120a AM |
84 | |
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %files devel | |
89 | %defattr(644,root,root,755) | |
dbe2120a | 90 | %doc AUTHORS COPYING NEWS README |
843e0754 | 91 | %{_includedir}/mdds |