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