]> git.pld-linux.org Git - packages/mdds.git/blame - mdds.spec
- updated to 2.0.3 (for libreoffice 7.5.x)
[packages/mdds.git] / mdds.spec
CommitLineData
17e84106
JB
1#
2# Conditional build:
3%bcond_without apidocs # doxygen/sphinx+breathe API documentation
4#
dbe2120a 5Summary: A collection of multi-dimensional data structures and indexing algorithms
021b4724 6Summary(pl.UTF-8): Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących
dbe2120a 7Name: mdds
26bd86d7
JB
8# keep in sync with BuildRequires in libreoffice.spec, ixion.spec, liborcus.spec
9Version: 2.0.3
c8be9e45 10Release: 1
dbe2120a
AM
11License: MIT
12Group: Development/Libraries
79af1c03 13#Source0Download: https://gitlab.com/mdds/mdds/-/releases
26bd86d7
JB
14Source0: https://kohei.us/files/mdds/src/%{name}-%{version}.tar.xz
15# Source0-md5: 6ff7a461e9fc408c508bbfbf1f53969a
17e84106 16Patch0: %{name}-doc.patch
0a68325b 17URL: https://gitlab.com/mdds/mdds
47d79994 18BuildRequires: boost-devel >= 1.39
17e84106 19BuildRequires: libstdc++-devel >= 6:4.7
35b5323a 20BuildRequires: rpmbuild(macros) >= 1.446
79af1c03
JB
21BuildRequires: tar >= 1:1.22
22BuildRequires: xz
17e84106
JB
23%if %{with apidocs}
24BuildRequires: doxygen
fa097365 25BuildRequires: python3-breathe
c8be9e45 26BuildRequires: sphinx-pdg-3
17e84106 27%endif
dbe2120a 28BuildArch: noarch
843e0754 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
dbe2120a
AM
30
31%description
32A collection of multi-dimensional data structures and indexing
33algorithms.
34
35It implements the following data structures:
36- segment tree
37- flat segment tree
38- rectangle set
39- point quad tree
40- mixed type matrix
41
021b4724
JB
42%description -l pl.UTF-8
43Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących.
44Zaimplementowane są następujące struktury danych:
45- drzewo segmentowe
46- płaskie drzewo segmentowe
47- zbiór prostokątów
48- drzewo czwórkowe (quadtree) dla punktów
49- macierz mieszana
50
dbe2120a 51%package devel
021b4724
JB
52Summary: A collection of multi-dimensional data structures and indexing algorithms
53Summary(pl.UTF-8): Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących
dbe2120a 54Group: Development/Libraries
47d79994 55Requires: boost-devel >= 1.39
17e84106 56Requires: libstdc++-devel >= 6:4.7
dbe2120a
AM
57
58%description devel
021b4724
JB
59A collection of multi-dimensional data structures and indexing
60algorithms.
61
62It implements the following data structures:
63- segment tree
64- flat segment tree
65- rectangle set
66- point quad tree
67- mixed type matrix
68
69%description devel -l pl.UTF-8
70Zbiór struktur danych wielowymiarowych oraz algorytmów indeksujących.
71Zaimplementowane są następujące struktury danych:
72- drzewo segmentowe
73- płaskie drzewo segmentowe
74- zbiór prostokątów
75- drzewo czwórkowe (quadtree) dla punktów
76- macierz mieszana
dbe2120a 77
17e84106
JB
78%package apidocs
79Summary: API documentation for MDDS
80Summary(pl.UTF-8): Dokumentacja API biblioteki MDDS
81Group: Documentation
82
83%description apidocs
84API documentation for MDDS.
85
86%description apidocs -l pl.UTF-8
87Dokumentacja API biblioteki MDDS.
88
dbe2120a 89%prep
c8be9e45 90%setup -q
dbe2120a 91
dbe2120a 92%build
c8be9e45
JB
93%configure \
94 SPHINX=/usr/bin/sphinx-build-3 \
95 %{?with_apidocs:--enable-docs}
96
97%{__make}
17e84106 98
c8be9e45 99%if %{with apidocs}
79af1c03 100%{__make} doc
c8be9e45 101%endif
dbe2120a
AM
102
103%install
104rm -rf $RPM_BUILD_ROOT
17e84106
JB
105
106%{__make} install \
107 DESTDIR=$RPM_BUILD_ROOT
108
109# packaged as %doc
5e9669f0 110%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mdds
dbe2120a
AM
111
112%clean
113rm -rf $RPM_BUILD_ROOT
114
115%files devel
116%defattr(644,root,root,755)
344f4da2 117%doc AUTHORS CHANGELOG LICENSE README.md
26bd86d7
JB
118%{_includedir}/mdds-2.0
119%{_npkgconfigdir}/mdds-2.0.pc
17e84106 120
ceee0b3a 121%if %{with apidocs}
17e84106
JB
122%files apidocs
123%defattr(644,root,root,755)
c8be9e45 124%doc doc/_doxygen/html doc/_build/{_static,*.html,*.js}
ceee0b3a 125%endif
This page took 0.117123 seconds and 4 git commands to generate.