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