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/raw/master/README.md
13 Source0: http://kohei.us/files/mdds/src/%{name}-%{version}.tar.bz2
14 # Source0-md5: a9e9704bddfacc27fcde6827b9cef1db
15 Patch0: %{name}-doc.patch
16 URL: https://gitlab.com/mdds/mdds
17 BuildRequires: boost-devel >= 1.39
18 BuildRequires: libstdc++-devel >= 6:4.7
19 BuildRequires: rpmbuild(macros) >= 1.446
21 BuildRequires: doxygen
22 BuildRequires: python3-breathe
23 BuildRequires: sphinx-pdg-3
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 A collection of multi-dimensional data structures and indexing
32 It implements the following data structures:
39 %description -l pl.UTF-8
40 Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących.
41 Zaimplementowane są następujące struktury danych:
43 - płaskie drzewo segmentowe
45 - drzewo czwórkowe (quadtree) dla punktów
49 Summary: A collection of multi-dimensional data structures and indexing algorithms
50 Summary(pl.UTF-8): Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących
51 Group: Development/Libraries
52 Requires: boost-devel >= 1.39
53 Requires: libstdc++-devel >= 6:4.7
56 A collection of multi-dimensional data structures and indexing
59 It implements the following data structures:
66 %description devel -l pl.UTF-8
67 Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących.
68 Zaimplementowane są następujące struktury danych:
70 - płaskie drzewo segmentowe
72 - drzewo czwórkowe (quadtree) dla punktów
76 Summary: API documentation for MDDS
77 Summary(pl.UTF-8): Dokumentacja API biblioteki MDDS
81 API documentation for MDDS.
83 %description apidocs -l pl.UTF-8
84 Dokumentacja API biblioteki MDDS.
91 SPHINX=/usr/bin/sphinx-build-3 \
92 %{?with_apidocs:--enable-docs}
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT
107 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mdds
110 rm -rf $RPM_BUILD_ROOT
113 %defattr(644,root,root,755)
114 %doc AUTHORS CHANGELOG LICENSE README.md
115 %{_includedir}/mdds-1.5
116 %{_npkgconfigdir}/mdds-1.5.pc
120 %defattr(644,root,root,755)
121 %doc doc/_doxygen/html doc/_build/{_static,*.html,*.js}