3 %bcond_without apidocs # doxygen/sphinx+breathe API documentation
5 Summary: A collection of multi-dimensional data structures and indexing algorithms
6 Summary(pl.UTF-8): Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących
11 Group: Development/Libraries
12 #Source0Download: https://gitlab.com/mdds/mdds
13 Source0: http://kohei.us/files/mdds/src/%{name}_%{version}.tar.bz2
14 # Source0-md5: 74e0a81c5af4137285fe6a52217f71e4
15 Patch0: %{name}-doc.patch
16 URL: https://gitlab.com/mdds/mdds
17 BuildRequires: autoconf >= 2.50
18 BuildRequires: boost-devel >= 1.39
19 BuildRequires: libstdc++-devel >= 6:4.7
20 BuildRequires: rpmbuild(macros) >= 1.446
21 BuildRequires: sed >= 4.0
23 BuildRequires: doxygen
24 BuildRequires: python3-sphinx_bootstrap_theme
25 BuildRequires: python3-breathe
26 BuildRequires: sphinx-pdg
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 A collection of multi-dimensional data structures and indexing
35 It implements the following data structures:
42 %description -l pl.UTF-8
43 Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących.
44 Zaimplementowane są następujące struktury danych:
46 - płaskie drzewo segmentowe
48 - drzewo czwórkowe (quadtree) dla punktów
52 Summary: A collection of multi-dimensional data structures and indexing algorithms
53 Summary(pl.UTF-8): Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących
54 Group: Development/Libraries
55 Requires: boost-devel >= 1.39
56 Requires: libstdc++-devel >= 6:4.7
59 A collection of multi-dimensional data structures and indexing
62 It implements the following data structures:
69 %description devel -l pl.UTF-8
70 Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących.
71 Zaimplementowane są następujące struktury danych:
73 - płaskie drzewo segmentowe
75 - drzewo czwórkowe (quadtree) dla punktów
79 Summary: API documentation for MDDS
80 Summary(pl.UTF-8): Dokumentacja API biblioteki MDDS
84 API documentation for MDDS.
86 %description apidocs -l pl.UTF-8
87 Dokumentacja API biblioteki MDDS.
90 %setup -q -n %{name}_%{version}
93 # this is only used in tests
94 sed -i -e '/^CPPFLAGS=/s/-Os -g /%{rpmcflags} /' configure.ac
100 %{__make} all %{?with_apidocs:build-doc} \
104 rm -rf $RPM_BUILD_ROOT
107 DESTDIR=$RPM_BUILD_ROOT
110 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mdds-1.0
113 rm -rf $RPM_BUILD_ROOT
116 %defattr(644,root,root,755)
117 %doc AUTHORS CHANGELOG LICENSE README.md
118 %{_includedir}/mdds-1.0
119 %{_npkgconfigdir}/mdds-1.0.pc
122 %defattr(644,root,root,755)
123 %doc doc/html doc/_build/{_static,*.html,*.js}