]>
Commit | Line | Data |
---|---|---|
ca581a4b JB |
1 | # TODO: |
2 | # - SysV init script for rrdcached, post/postun/etc. | |
9e5b7287 | 3 | # |
7f892b70 | 4 | # Conditional build: |
ca581a4b JB |
5 | %bcond_without lua # LUA binding |
6 | %bcond_without perl # Perl binding | |
7 | %bcond_without python # Python binding | |
8 | %bcond_without ruby # Ruby binding | |
9 | %bcond_without tcl # Tcl binding | |
5704b2cc | 10 | %bcond_without ceph # Ceph (RADOS) storage support |
ca581a4b JB |
11 | %bcond_without rrd_graph # all rrd_graph functions (depend on cairo+pango) |
12 | %bcond_without rrdcgi # building of rrdcgi (depends on rrd_graph) | |
8f1ee4db | 13 | %bcond_without static_libs # static library |
30f15aac ER |
14 | |
15 | %if %{without rrd_graph} | |
16 | %undefine with_rrdcgi | |
17 | %endif | |
17fc3a1a | 18 | |
cafb9221 | 19 | %define pdir RRDp |
2b7e312b | 20 | Summary: RRDtool - round robin database |
851c0eda ER |
21 | Summary(pl.UTF-8): RRDtool - baza danych typu round-robin |
22 | Summary(pt_BR.UTF-8): Round Robin Database, uma ferramenta para construção de gráficos | |
23 | Summary(ru.UTF-8): RRDtool - база данных с "циклическим обновлением" | |
24 | Summary(uk.UTF-8): RRDtool - це система зберігання та показу серійних даних | |
2b7e312b | 25 | Name: rrdtool |
9b55d77b JP |
26 | Version: 1.8.0 |
27 | Release: 1 | |
e1c0a957 | 28 | License: GPL v2+ + FLOSS exception |
2b7e312b | 29 | Group: Applications/Databases |
64fa0b05 | 30 | Source0: https://github.com/oetiker/rrdtool-1.x/releases/download/v%{version}/%{name}-%{version}.tar.gz |
9b55d77b | 31 | # Source0-md5: 852754364cbd0703a099b5eb32932851 |
455b789f | 32 | Patch0: %{name}-tcl-path.patch |
9b55d77b | 33 | Patch1: %{name}-build.patch |
fb24adae | 34 | URL: http://oss.oetiker.ch/rrdtool/ |
82117606 | 35 | BuildRequires: autoconf >= 2.60 |
455b789f | 36 | BuildRequires: automake |
ca581a4b | 37 | %{?with_ceph:BuildRequires: ceph-devel} |
6bf8ffa1 | 38 | BuildRequires: gettext-tools >= 0.18 |
79b12f3f | 39 | BuildRequires: glib2-devel >= 1:2.28.7 |
ba6feeac | 40 | BuildRequires: groff |
d84cd5cf | 41 | BuildRequires: libdbi-devel |
1bed9ed9 | 42 | BuildRequires: libtool |
79b12f3f JB |
43 | BuildRequires: libwrap-devel |
44 | BuildRequires: libxml2-devel >= 1:2.7.8 | |
d142dcfc | 45 | BuildRequires: pkgconfig |
459bc81d | 46 | BuildRequires: rpm-build >= 4.6 |
d42d8892 | 47 | BuildRequires: rpm-pythonprov |
d4667888 | 48 | BuildRequires: rpmbuild(macros) >= 1.745 |
235819b3 | 49 | %if %{with rrd_graph} |
d4667888 JB |
50 | BuildRequires: glib2-devel >= 1:2.58.1 |
51 | BuildRequires: libpng-devel >= 2:1.4.8 | |
235819b3 ER |
52 | BuildRequires: pango-devel >= 1:1.28.7 |
53 | %endif | |
d42d8892 | 54 | %if %{with lua} |
af218cd6 JR |
55 | BuildRequires: lua >= 5.1 |
56 | BuildRequires: lua-devel >= 5.1 | |
d42d8892 | 57 | %endif |
3b8ab0b0 ER |
58 | %if %{with perl} |
59 | BuildRequires: perl-devel >= 1:5.8.0 | |
60 | BuildRequires: rpm-perlprov | |
61 | %endif | |
7f892b70 | 62 | %if %{with python} |
af218cd6 JR |
63 | BuildRequires: python3 |
64 | BuildRequires: python3-devel | |
7f892b70 | 65 | %endif |
d42d8892 | 66 | %if %{with ruby} |
fb4672bd | 67 | BuildRequires: rpm-rubyprov |
d42d8892 ER |
68 | BuildRequires: ruby-devel |
69 | %endif | |
70 | %if %{with tcl} | |
c7f7d8c5 | 71 | BuildRequires: tcl-devel |
d42d8892 | 72 | %endif |
d4667888 JB |
73 | %if %{with rrd_graph} |
74 | Requires: glib2 >= 1:2.58.1 | |
75 | %else | |
79b12f3f | 76 | Requires: glib2 >= 1:2.28.7 |
d4667888 JB |
77 | %endif |
78 | %{?with_rrd_graph:Requires: libpng >= 2:1.4.8} | |
79b12f3f | 79 | Requires: libxml2 >= 1:2.7.8 |
235819b3 | 80 | %{?with_rrd_graph:Requires: pango >= 1:1.28.7} |
674fe612 | 81 | Suggests: fonts-TTF-DejaVu |
8b2446dd | 82 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9eb47203 AF |
83 | |
84 | %description | |
2b7e312b | 85 | RRD is the Acronym for Round Robin Database. RRD is a system to store |
86 | and display time-series data (i.e. network bandwidth, machine-room | |
87 | temperature, server load average). It stores the data in a very | |
88 | compact way that will not expand over time, and it presents useful | |
89 | graphs by processing the data to enforce a certain data density. It | |
90 | can be used either via simple wrapper scripts (from shell or Perl) or | |
91 | via frontends that poll network devices and put a friendly user | |
92 | interface on it. | |
93 | ||
b866ac6b JR |
94 | %description -l pl.UTF-8 |
95 | RRD jest akronimem Round Robin Database. Jest to system pozwalający na | |
96 | składowanie i wyświetlanie czasowych serii danych (np. przepustowość | |
97 | sieci, temperatura w pomieszczeniu, obciążenie serwera). Składuje dane | |
98 | w "skondensowanej" postaci, która nie rozrasta się z biegiem czasu | |
99 | oraz pozwala na produkowanie wykresów z użytecznymi danymi. Może być | |
3b8ab0b0 | 100 | używane poprzez prosty skrypcik (shell lub Perl), frontendy czy inne |
b866ac6b | 101 | interfejsy użytkownika. |
edc21ec8 | 102 | |
b866ac6b | 103 | %description -l pt_BR.UTF-8 |
7f366ed7 | 104 | RRD e' um sistema para armazenar e apresentar series temporais de |
b866ac6b JR |
105 | dados (i.e. utilização de rede, temperaturas, cargas em servidores). |
106 | Os dados são armazenados em uma forma compacta que não se expande com | |
107 | o tempo, e gráficos podem ser apresentados processando-se esses dados. | |
7f366ed7 | 108 | RRD pode ser utilizado com wrapper scripts (em shell ou Perl) ou |
b866ac6b JR |
109 | através de front-ends. |
110 | ||
111 | %description -l ru.UTF-8 | |
112 | RRD - соращение для "Round Robin Database" (база данных с "циклическим | |
113 | обновлением"). RRD - система для сохранения и показа информации за | |
114 | определенный промежуток времени (например скорость передачи данных в | |
115 | сети, температуру в машинном зале, среднюю загрузку сервера). Она | |
116 | сохраняет данные в очень компактной форме, так что данные не будут | |
117 | занимать все больше и больше места с течением времени и предоставляет | |
118 | разумное графическое представление информации. Может быть использована | |
3b8ab0b0 | 119 | как из простых скриптов (shell, Perl, etc) или встроена в программы, |
b866ac6b JR |
120 | которые опрашивают сетевые устройства и показывают данные в удобном |
121 | для пользователя виде. | |
122 | ||
123 | %description -l uk.UTF-8 | |
124 | Назва RRD - це акронім для Round Robin Database. RRD - це система | |
125 | зберігання та показу серійних даних (наприклад, полоси каналу, | |
126 | температура гермозони, завантаження сервера). RRD зберігає дані дуже | |
127 | компактно і так, що розмір бази даних не збільшується з часом, та | |
128 | презентує корисні графіки обробляючи дані з тим, щоб встановити | |
129 | потрібну щільність вибірки в часі. RRD можна використовувати як через | |
130 | прості wrapper-скрипти, так і через фронтенди, що опитують мережеві | |
131 | пристрої та надають дружній інтерфейс користувача. | |
276d47c0 | 132 | |
ca581a4b JB |
133 | %package cached |
134 | Summary: Data caching daemon for RRDtool | |
135 | Summary(pl.UTF-8): Demon pamięci podręcznej danych dla RRDtoola | |
136 | Group: Daemons | |
137 | Requires: %{name} = %{version}-%{release} | |
138 | ||
139 | %description cached | |
140 | Data caching daemon for RRDtool. | |
141 | ||
142 | %description cached -l pl.UTF-8 | |
143 | Demon pamięci podręcznej danych dla RRDtoola. | |
144 | ||
2b7e312b | 145 | %package devel |
52087078 | 146 | Summary: RRDtool development |
851c0eda ER |
147 | Summary(pl.UTF-8): Narzędzia programistyczne pakietu RRDtool |
148 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão da librrd | |
149 | Summary(ru.UTF-8): RRDtool - Заголовки, необходимые для разработки | |
150 | Summary(uk.UTF-8): RRDtool - бібліотечні лінки та файли хедерів | |
2b7e312b | 151 | Group: Development/Libraries |
abade533 | 152 | Requires: %{name} = %{version}-%{release} |
d4667888 JB |
153 | %if %{with rrd_graph} |
154 | Requires: glib2-devel >= 1:2.58.1 | |
155 | %else | |
79b12f3f | 156 | Requires: glib2-devel >= 1:2.28.7 |
d4667888 | 157 | %endif |
d84cd5cf | 158 | Requires: libdbi-devel |
79b12f3f JB |
159 | Requires: libwrap-devel |
160 | Requires: libxml2-devel >= 1:2.7.8 | |
235819b3 | 161 | %{?with_rrd_graph:Requires: pango-devel >= 1:1.28.7} |
0b1f22e5 | 162 | |
2b7e312b | 163 | %description devel |
52087078 | 164 | RRDtool development files. |
5c73d7ab | 165 | |
b866ac6b JR |
166 | %description devel -l pl.UTF-8 |
167 | Narzędzia programistyczne pakietu RRDtool. | |
2b7e312b | 168 | |
b866ac6b | 169 | %description devel -l pt_BR.UTF-8 |
7f366ed7 | 170 | RRD e' um sistema para armazenar e apresentar series temporais de |
b866ac6b | 171 | dados (i.e. utilização de rede, temperaturas, cargas em servidores). |
7f366ed7 | 172 | |
173 | Este pacote contem arquivos de desenvolvimento do RRD. | |
174 | ||
b866ac6b JR |
175 | %description devel -l ru.UTF-8 |
176 | RRD - соращение для "Round Robin Database" (база данных с "циклическим | |
177 | обновлением"). RRD - система для сохранения и показа информации за | |
178 | определенный промежуток времени (например скорость передачи данных в | |
179 | сети, температуру в машинном зале, среднюю загрузку сервера). | |
276d47c0 | 180 | |
b866ac6b JR |
181 | Этот пакет позволяет создавать программы, которые используют это |
182 | библиотеку непосредственно. | |
276d47c0 | 183 | |
b866ac6b JR |
184 | %description devel -l uk.UTF-8 |
185 | RRDtool - библиотечные линки и файлы хедеров. | |
276d47c0 | 186 | |
2b7e312b | 187 | %package static |
52087078 | 188 | Summary: RRDtool static library |
851c0eda ER |
189 | Summary(pl.UTF-8): Statyczne biblioteki RRDtool |
190 | Summary(pt_BR.UTF-8): Biblioteca estática librrd | |
191 | Summary(ru.UTF-8): RRDtool - Статические библиотеки | |
192 | Summary(uk.UTF-8): Статичні бібліотеки RRDtool | |
2b7e312b | 193 | Group: Development/Libraries |
abade533 | 194 | Requires: %{name}-devel = %{version}-%{release} |
5c73d7ab | 195 | |
2b7e312b | 196 | %description static |
52087078 | 197 | RRDtool static library. |
5c73d7ab | 198 | |
b866ac6b | 199 | %description static -l pl.UTF-8 |
482aa046 | 200 | Statyczne biblioteki RRDtool. |
9eb47203 | 201 | |
b866ac6b | 202 | %description static -l pt_BR.UTF-8 |
7f366ed7 | 203 | RRD e' um sistema para armazenar e apresentar series temporais de |
b866ac6b | 204 | dados (i.e. utilização de rede, temperaturas, cargas em servidores). |
7f366ed7 | 205 | |
b866ac6b | 206 | Este pacote contem a biblioteca estática do RRD. |
7f366ed7 | 207 | |
b866ac6b JR |
208 | %description static -l ru.UTF-8 |
209 | RRD - соращение для "Round Robin Database" (база данных с "циклическим | |
210 | обновлением"). RRD - система для сохранения и показа информации за | |
211 | определенный промежуток времени (например скорость передачи данных в | |
212 | сети, температуру в машинном зале, среднюю загрузку сервера). Этот | |
213 | пакет позволяет создавать статически слинкованные программы, которые | |
214 | используют это библиотеку непосредственно. | |
276d47c0 | 215 | |
b866ac6b JR |
216 | %description static -l uk.UTF-8 |
217 | Статичні бібліотеки для розробки програм, що використовують RRDtool. | |
276d47c0 | 218 | |
a12c3e0e ER |
219 | %package doc |
220 | Summary: RRDtool documentation | |
f21933e7 | 221 | Summary(pl.UTF-8): Dokumentacja do RRDtoola |
a12c3e0e | 222 | Group: Documentation |
a12c3e0e | 223 | BuildArch: noarch |
a12c3e0e ER |
224 | |
225 | %description doc | |
226 | RRD is the Acronym for Round Robin Database. RRD is a system to store | |
227 | and display time-series data (i.e. network bandwidth, machine-room | |
228 | temperature, server load average). | |
229 | ||
230 | This package contains documentation on using RRD. | |
231 | ||
f21933e7 JB |
232 | %description doc -l pl.UTF-8 |
233 | RRD jest akronimem Round Robin Database. Jest to system pozwalający na | |
234 | składowanie i wyświetlanie czasowych serii danych (np. przepustowość | |
235 | sieci, temperatura w pomieszczeniu, obciążenie serwera). | |
236 | ||
237 | Ten pakiet zawiera dokumentację użytkownika dla RRD. | |
238 | ||
82117606 JB |
239 | %package -n lua-rrdtool |
240 | Summary: RRD module for Lua | |
241 | Summary(pl.UTF-8): Moduł RRD dla języka Lua | |
242 | Group: Development/Languages | |
243 | Requires: %{name} = %{version}-%{release} | |
af218cd6 | 244 | Requires: lua |
82117606 JB |
245 | |
246 | %description -n lua-rrdtool | |
247 | Lua interface to RRDtool. | |
248 | ||
249 | %description -n lua-rrdtool -l pl.UTF-8 | |
250 | Interfejs języka Lua do RRDtoola. | |
251 | ||
d91652c1 JB |
252 | %package -n perl-rrdtool |
253 | Summary: Access RRDtool from Perl | |
851c0eda | 254 | Summary(pl.UTF-8): Dostęp do RRDtoola z poziomu Perla |
d91652c1 JB |
255 | Group: Development/Languages/Perl |
256 | Requires: %{name} = %{version}-%{release} | |
257 | ||
258 | %description -n perl-rrdtool | |
259 | Perl modules to access RRDtool: RRDs to access RRDtool as shared | |
260 | module and RRDp to access RRDtool via a set of pipes. | |
261 | ||
b866ac6b JR |
262 | %description -n perl-rrdtool -l pl.UTF-8 |
263 | Moduły Perla pozwalające na dostęp do RRDtoola: RRDs do dostępu do | |
264 | RRDtoola jako modułu dzielonego oraz RRDp do dostępu poprzez zestaw | |
265 | potoków. | |
d91652c1 | 266 | |
af218cd6 JR |
267 | %package -n python3-rrdtool |
268 | Summary: Python 3 interface to RRDtool | |
851c0eda | 269 | Summary(pl.UTF-8): Pythonowy interfejs do RRDtoola |
8a20d376 JB |
270 | Group: Development/Languages/Python |
271 | Requires: %{name} = %{version}-%{release} | |
af218cd6 JR |
272 | Requires: python3-libs |
273 | Obsoletes: python-rrdtool | |
8a20d376 | 274 | |
af218cd6 JR |
275 | %description -n python3-rrdtool |
276 | Python 3 interface to RRDtool, the graphing and logging utility. | |
8a20d376 | 277 | |
af218cd6 JR |
278 | %description -n python3-rrdtool -l pl.UTF-8 |
279 | Interfejs Pythona 3 do RRDtoola - narzędzia do tworzenia wykresów i | |
8a20d376 JB |
280 | logowania. |
281 | ||
2d179bb9 JB |
282 | %package -n ruby-rrdtool |
283 | Summary: Ruby interface to RRDtool | |
284 | Summary(pl.UTF-8): Interfejs języka Ruby do RRDtoola | |
af218cd6 | 285 | Group: Development/Languages/Ruby |
2d179bb9 | 286 | Requires: %{name} = %{version}-%{release} |
2d179bb9 JB |
287 | |
288 | %description -n ruby-rrdtool | |
289 | Ruby interface to RRDtool, the graphing and logging utility. | |
290 | ||
291 | %description -n ruby-rrdtool -l pl.UTF-8 | |
292 | Interfejs języka Ruby do RRDtoola - narzędzia do tworzenia wykresów i | |
293 | logowania. | |
294 | ||
8a20d376 JB |
295 | %package -n tcl-rrdtool |
296 | Summary: Tcl extension to access the RRD library | |
851c0eda | 297 | Summary(pl.UTF-8): Rozszerzenie Tcl-a pozwalające na dostęp do biblioteki Tcl |
8a20d376 JB |
298 | Group: Development/Languages/Tcl |
299 | Requires: %{name} = %{version}-%{release} | |
96b3cd4d | 300 | Requires: tcl |
8a20d376 JB |
301 | |
302 | %description -n tcl-rrdtool | |
303 | Tcl extension to access the RRD library. | |
304 | ||
b866ac6b JR |
305 | %description -n tcl-rrdtool -l pl.UTF-8 |
306 | Rozszerzenie Tcl-a pozwalające na dostęp do biblioteki Tcl. | |
8a20d376 | 307 | |
9eb47203 AF |
308 | %prep |
309 | %setup -q | |
49633ebf | 310 | %patch0 -p1 |
ca581a4b | 311 | %patch1 -p1 |
f0e0ceda | 312 | |
a89dbf38 JR |
313 | %{__sed} -i -e 's#\$TCL_PACKAGE_PATH#%{_prefix}/lib#g' configure.ac |
314 | %{__sed} -i -e 's#/lib/lua/#/%{_lib}/lua/#g' configure.ac | |
315 | ||
af218cd6 | 316 | %{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python3}\1,' \ |
9b55d77b | 317 | examples/stripes.py |
a89dbf38 JR |
318 | |
319 | %{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+tclsh@TCL_VERSION@(\s|$),#!%{__tclsh}\1,' \ | |
9b55d77b | 320 | bindings/tcl/ifOctets.tcl.in |
e85ccde9 | 321 | |
a12c3e0e ER |
322 | # We only want .txt and .html files for the main documentation |
323 | install -d docs/{html,/txt} | |
d4667888 JB |
324 | %{__mv} doc/*.txt docs/txt |
325 | %{__mv} doc/*.html docs/html | |
a12c3e0e ER |
326 | |
327 | # Put Perl docs in Perl package | |
328 | install -d perl-docs/html | |
d4667888 | 329 | %{__mv} docs/html/RRD*.html perl-docs/html |
a12c3e0e | 330 | |
9eb47203 | 331 | %build |
1bed9ed9 | 332 | %{__libtoolize} |
4a4932fb | 333 | %{__aclocal} -I m4 |
455b789f | 334 | %{__autoconf} |
1bed9ed9 | 335 | %{__autoheader} |
455b789f | 336 | %{__automake} |
ca5899e5 | 337 | %configure \ |
af218cd6 | 338 | PYTHON=%{__python3} \ |
82117606 | 339 | --disable-silent-rules \ |
8f1ee4db | 340 | %{__enable_disable static_libs static} \ |
ca581a4b | 341 | %{!?with_ceph:--disable-librados} \ |
235819b3 | 342 | %{!?with_rrd_graph:--disable-rrd_graph} \ |
30f15aac | 343 | %{!?with_rrdcgi:--disable-rrdcgi} \ |
d42d8892 | 344 | %{!?with_lua:--disable-lua} \ |
ca581a4b | 345 | %{!?with_perl:--disable-perl} \ |
d42d8892 | 346 | %{!?with_python:--disable-python} \ |
9cd8bffa | 347 | %{!?with_ruby:--disable-ruby} \ |
d42d8892 | 348 | %{!?with_tcl:--disable-tcl} \ |
d142dcfc | 349 | --with-perl-options="INSTALLDIRS=vendor" |
5985ed88 | 350 | |
6bc681c9 JB |
351 | # empty RUBY_MAKE_OPTIONS as workaround for some make weirdness |
352 | # (tried to install without DESTDIR on plain make) | |
353 | %{__make} \ | |
af218cd6 | 354 | RUBY_MAKE_OPTIONS= |
9eb47203 AF |
355 | |
356 | %install | |
2b7e312b | 357 | rm -rf $RPM_BUILD_ROOT |
a96b6640 | 358 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
e9be865f | 359 | |
ae6611d4 | 360 | %{__make} install \ |
5064a93e | 361 | DESTDIR=$RPM_BUILD_ROOT \ |
d142dcfc | 362 | perl_sitearch=%{perl_vendorarch} \ |
af218cd6 | 363 | pythondir=%{py3_sitedir} \ |
d848bbea MB |
364 | examplesdir=%{_examplesdir}/%{name}-%{version} \ |
365 | RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir} | |
ca5899e5 | 366 | |
d48e9d5a | 367 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/librrd.la |
9a2e3414 JR |
368 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir} |
369 | ||
d42d8892 | 370 | %if %{with lua} |
8f1ee4db JP |
371 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lua/5.*/*.la |
372 | %{?with_static_libs:%{__rm} $RPM_BUILD_ROOT%{_libdir}/lua/5.*/*.a} | |
d42d8892 ER |
373 | %endif |
374 | ||
3b8ab0b0 | 375 | %if %{with perl} |
d42d8892 | 376 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/RRDs/.packlist |
3b8ab0b0 | 377 | %endif |
d42d8892 | 378 | |
ca5899e5 | 379 | %clean |
380 | rm -rf $RPM_BUILD_ROOT | |
9eb47203 | 381 | |
819616f2 | 382 | %post -p /sbin/ldconfig |
383 | %postun -p /sbin/ldconfig | |
7b80d295 | 384 | |
9eb47203 | 385 | %files |
2505a4b4 | 386 | %defattr(644,root,root,755) |
d4667888 | 387 | %doc CHANGES CONTRIBUTORS COPYRIGHT NEWS THREADS TODO |
d142dcfc | 388 | %attr(755,root,root) %{_libdir}/librrd.so.*.*.* |
69969760 | 389 | %attr(755,root,root) %ghost %{_libdir}/librrd.so.8 |
c7f7d8c5 ER |
390 | %{?with_rrdcgi:%attr(755,root,root) %{_bindir}/rrdcgi} |
391 | %attr(755,root,root) %{_bindir}/rrdcreate | |
392 | %attr(755,root,root) %{_bindir}/rrdinfo | |
393 | %attr(755,root,root) %{_bindir}/rrdtool | |
394 | %attr(755,root,root) %{_bindir}/rrdupdate | |
1bed9ed9 JB |
395 | %{_mandir}/man1/bin_dec_hex.1* |
396 | %{_mandir}/man1/cdeftutorial.1* | |
397 | %{_mandir}/man1/rpntutorial.1* | |
ca581a4b | 398 | %{_mandir}/man1/rrd-beginners.1* |
d4667888 | 399 | %{_mandir}/man1/rrd_pdpcalc.1* |
ca581a4b JB |
400 | %{_mandir}/man1/rrdbuild.1* |
401 | %{?with_rrdcgi:%{_mandir}/man1/rrdcgi.1*} | |
402 | %{_mandir}/man1/rrdcreate.1* | |
403 | %{_mandir}/man1/rrddump.1* | |
404 | %{_mandir}/man1/rrdfetch.1* | |
405 | %{_mandir}/man1/rrdfirst.1* | |
406 | %{_mandir}/man1/rrdgraph*.1* | |
407 | %{_mandir}/man1/rrdinfo.1* | |
408 | %{_mandir}/man1/rrdlast.1* | |
409 | %{_mandir}/man1/rrdlastupdate.1* | |
69969760 | 410 | %{_mandir}/man1/rrdlist.1* |
ca581a4b JB |
411 | %{?with_ceph:%{_mandir}/man1/rrdrados.1*} |
412 | %{_mandir}/man1/rrdresize.1* | |
413 | %{_mandir}/man1/rrdrestore.1* | |
414 | %{_mandir}/man1/rrdthreads.1* | |
415 | %{_mandir}/man1/rrdtool.1* | |
416 | %{_mandir}/man1/rrdtune.1* | |
417 | %{_mandir}/man1/rrdtutorial.1* | |
418 | %{_mandir}/man1/rrdupdate.1* | |
419 | %{_mandir}/man1/rrdxport.1* | |
420 | ||
421 | %files cached | |
422 | %defattr(644,root,root,755) | |
423 | %attr(755,root,root) %{_bindir}/rrdcached | |
424 | %{_mandir}/man1/rrdcached.1* | |
425 | %{_mandir}/man1/rrdflushcached.1* | |
426 | %{systemdunitdir}/rrdcached.service | |
427 | %{systemdunitdir}/rrdcached.socket | |
d142dcfc | 428 | |
ca5899e5 | 429 | %files devel |
5c73d7ab | 430 | %defattr(644,root,root,755) |
6bc681c9 | 431 | %attr(755,root,root) %{_libdir}/librrd.so |
f0e0ceda | 432 | %{_includedir}/rrd*.h |
82117606 | 433 | %{_pkgconfigdir}/librrd.pc |
4a4932fb | 434 | %{_mandir}/man3/librrd.3* |
2b7e312b | 435 | |
8f1ee4db | 436 | %if %{with static_libs} |
2b7e312b | 437 | %files static |
5c73d7ab | 438 | %defattr(644,root,root,755) |
ca5899e5 | 439 | %{_libdir}/librrd.a |
8f1ee4db | 440 | %endif |
d91652c1 | 441 | |
a12c3e0e ER |
442 | %files doc |
443 | %defattr(644,root,root,755) | |
444 | %doc docs/html docs/txt | |
445 | %{_examplesdir}/%{name}-%{version} | |
446 | ||
d42d8892 | 447 | %if %{with lua} |
82117606 JB |
448 | %files -n lua-rrdtool |
449 | %defattr(644,root,root,755) | |
af218cd6 | 450 | %attr(755,root,root) %{_libdir}/lua/5.*/rrd.so* |
ca581a4b | 451 | %{_mandir}/man1/rrdlua.1* |
d42d8892 | 452 | %endif |
82117606 | 453 | |
3b8ab0b0 | 454 | %if %{with perl} |
d91652c1 JB |
455 | %files -n perl-rrdtool |
456 | %defattr(644,root,root,755) | |
a12c3e0e | 457 | %doc perl-docs/html/* |
d91652c1 JB |
458 | %{perl_vendorlib}/RRDp.pm |
459 | %{perl_vendorarch}/RRDs.pm | |
460 | %dir %{perl_vendorarch}/auto/RRDs | |
d91652c1 JB |
461 | %attr(755,root,root) %{perl_vendorarch}/auto/RRDs/RRDs.so |
462 | %{_mandir}/man3/RRDp.3* | |
463 | %{_mandir}/man3/RRDs.3* | |
3b8ab0b0 | 464 | %endif |
8a20d376 | 465 | |
7f892b70 | 466 | %if %{with python} |
af218cd6 | 467 | %files -n python3-rrdtool |
8a20d376 | 468 | %defattr(644,root,root,755) |
af218cd6 JR |
469 | %attr(755,root,root) %{py3_sitedir}/rrdtool*.so |
470 | %{py3_sitedir}/rrdtool-*.egg-info | |
9b55d77b | 471 | %{_mandir}/man1/rrdpython.1* |
fb24adae | 472 | %endif |
8a20d376 | 473 | |
9cd8bffa | 474 | %if %{with ruby} |
2d179bb9 JB |
475 | %files -n ruby-rrdtool |
476 | %defattr(644,root,root,755) | |
477 | %attr(755,root,root) %{ruby_archdir}/RRD.so | |
9b55d77b | 478 | %{_mandir}/man1/rrdruby.1* |
9cd8bffa | 479 | %endif |
2d179bb9 | 480 | |
9cd8bffa | 481 | %if %{with tcl} |
8a20d376 JB |
482 | %files -n tcl-rrdtool |
483 | %defattr(644,root,root,755) | |
484 | %attr(755,root,root) %{_libdir}/tclrrd%{version}.so | |
cafb9221 | 485 | %{_prefix}/lib/tclrrd%{version} |
9cd8bffa | 486 | %endif |