1 Summary: A collection of multi-dimensional data structures and indexing algorithms
2 Summary(pl.UTF-8): Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących
7 Group: Development/Libraries
8 #Source0Download: http://code.google.com/p/multidimalgorithm/wiki/Downloads
9 Source0: http://kohei.us/files/mdds/src/%{name}_%{version}.tar.bz2
10 # Source0-md5: aa5ca9d1ed1082890835afab26400a39
11 URL: http://code.google.com/p/multidimalgorithm/
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: boost-devel >= 1.39
14 BuildRequires: rpmbuild(macros) >= 1.446
15 BuildRequires: sed >= 4.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 A collection of multi-dimensional data structures and indexing
23 It implements the following data structures:
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:
34 - płaskie drzewo segmentowe
36 - drzewo czwórkowe (quadtree) dla punktów
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
42 Group: Development/Libraries
43 Requires: boost-devel >= 1.39
46 A collection of multi-dimensional data structures and indexing
49 It implements the following data structures:
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:
60 - płaskie drzewo segmentowe
62 - drzewo czwórkowe (quadtree) dla punktów
66 %setup -q -n %{name}_%{version}
68 # this is only used in tests
69 sed -i -e '/^CPPFLAGS_NODEBUG/s/-Wall -Os -g/%{rpmcflags} -Wall/' configure.ac
73 # we can switch from boost to c++0x (the default) if sufficiently new C++11 compliant g++ is enforced
75 --with-hash-container=boost
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_includedir}/mdds
81 cp -a include/mdds/* $RPM_BUILD_ROOT%{_includedir}/mdds
82 install -Dp misc/mdds.pc $RPM_BUILD_ROOT%{_npkgconfigdir}/mdds.pc
85 rm -rf $RPM_BUILD_ROOT
88 %defattr(644,root,root,755)
89 %doc AUTHORS COPYING NEWS README
91 %{_npkgconfigdir}/mdds.pc