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
8 # keep in sync with BuildRequires in libreoffice.spec, ixion.spec, liborcus.spec
12 Group: Development/Libraries
13 #Source0Download: https://gitlab.com/mdds/mdds/-/releases
14 Source0: https://kohei.us/files/mdds/src/%{name}-%{version}.tar.xz
15 # Source0-md5: 6ff7a461e9fc408c508bbfbf1f53969a
16 Patch0: %{name}-doc.patch
17 URL: https://gitlab.com/mdds/mdds
18 BuildRequires: boost-devel >= 1.39
19 BuildRequires: libstdc++-devel >= 6:4.7
20 BuildRequires: rpmbuild(macros) >= 1.446
21 BuildRequires: tar >= 1:1.22
24 BuildRequires: doxygen
25 BuildRequires: python3-breathe
26 BuildRequires: sphinx-pdg-3
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.
94 SPHINX=/usr/bin/sphinx-build-3 \
95 %{?with_apidocs:--enable-docs}
104 rm -rf $RPM_BUILD_ROOT
107 DESTDIR=$RPM_BUILD_ROOT
110 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mdds
113 rm -rf $RPM_BUILD_ROOT
116 %defattr(644,root,root,755)
117 %doc AUTHORS CHANGELOG LICENSE README.md
118 %{_includedir}/mdds-2.0
119 %{_npkgconfigdir}/mdds-2.0.pc
123 %defattr(644,root,root,755)
124 %doc doc/_doxygen/html doc/_build/{_static,*.html,*.js}