]>
Commit | Line | Data |
---|---|---|
c43211a5 | 1 | # TODO: |
cc9450c3 | 2 | #warning: Installed (but unpackaged) file(s) found: |
633e4a51 AM |
3 | # /etc/collectd.d/aggregation.conf |
4 | # /etc/collectd.d/ceph.conf | |
5 | # /etc/collectd.d/cgroups.conf | |
6 | # /etc/collectd.d/drbd.conf | |
7 | # /etc/collectd.d/fhcount.conf | |
8 | # /etc/collectd.d/ipc.conf | |
9 | # /etc/collectd.d/java.conf | |
10 | # /etc/collectd.d/log_logstash.conf | |
11 | # /etc/collectd.d/lvm.conf | |
12 | # /etc/collectd.d/openldap.conf | |
13 | # /etc/collectd.d/pinba.conf | |
14 | # /etc/collectd.d/redis.conf | |
15 | # /etc/collectd.d/sigrok.conf | |
16 | # /etc/collectd.d/smart.conf | |
17 | # /etc/collectd.d/statsd.conf | |
18 | # /etc/collectd.d/tail_csv.conf | |
19 | # /etc/collectd.d/target_v5upgrade.conf | |
20 | # /etc/collectd.d/turbostat.conf | |
21 | # /etc/collectd.d/write_log.conf | |
22 | # /etc/collectd.d/write_redis.conf | |
23 | # /etc/collectd.d/write_riemann.conf | |
24 | # /etc/collectd.d/write_sensu.conf | |
25 | # /etc/collectd.d/write_tsdb.conf | |
26 | # /etc/collectd.d/zfs_arc.conf | |
27 | # /etc/collectd.d/zookeeper.conf | |
28 | # /usr/bin/collectd-tg | |
29 | # /usr/lib64/collectd/aggregation.so | |
30 | # /usr/lib64/collectd/ceph.so | |
31 | # /usr/lib64/collectd/cgroups.so | |
32 | # /usr/lib64/collectd/drbd.so | |
33 | # /usr/lib64/collectd/fhcount.so | |
34 | # /usr/lib64/collectd/ipc.so | |
35 | # /usr/lib64/collectd/java.so | |
36 | # /usr/lib64/collectd/log_logstash.so | |
37 | # /usr/lib64/collectd/lvm.so | |
38 | # /usr/lib64/collectd/openldap.so | |
39 | # /usr/lib64/collectd/pinba.so | |
40 | # /usr/lib64/collectd/redis.so | |
41 | # /usr/lib64/collectd/sigrok.so | |
42 | # /usr/lib64/collectd/smart.so | |
43 | # /usr/lib64/collectd/statsd.so | |
44 | # /usr/lib64/collectd/tail_csv.so | |
45 | # /usr/lib64/collectd/turbostat.so | |
46 | # /usr/lib64/collectd/write_log.so | |
47 | # /usr/lib64/collectd/write_redis.so | |
48 | # /usr/lib64/collectd/write_riemann.so | |
49 | # /usr/lib64/collectd/write_sensu.so | |
50 | # /usr/lib64/collectd/write_tsdb.so | |
51 | # /usr/lib64/collectd/zfs_arc.so | |
52 | # /usr/lib64/collectd/zookeeper.so | |
53 | # /usr/share/collectd/collection3/README | |
54 | # /usr/share/collectd/collection3/bin/.htaccess | |
55 | # /usr/share/collectd/collection3/test.px | |
56 | # /usr/share/collectd/java/collectd-api.jar | |
57 | # /usr/share/collectd/java/generic-jmx.jar | |
58 | # /usr/share/man/man1/collectd-tg.1.gz | |
cc9450c3 | 59 | # |
c43211a5 PG |
60 | # - package contrib scripts as %doc |
61 | # - perl modules with Collectd classes package to separate package | |
a9b34e68 PG |
62 | # - Bundled libraries - check if its not changed ones and if it can be |
63 | # mainstream library: | |
64 | # liboconfig . . . . . yes (shipped version) | |
65 | # - Libraries not found by configure: | |
7a3b7a2c AF |
66 | # libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/) |
67 | # libganglia . . . . . no (gm_protocol.h not found) (http://ganglia.info/) | |
68 | # libiokit . . . . . . no (Darwin only) | |
a9b34e68 PG |
69 | # libjvm . . . . . . . no (javac not found) |
70 | # libkstat . . . . . . no (Solaris only) | |
7a3b7a2c | 71 | # libkvm . . . . . . . no (BSD only) |
7a3b7a2c AF |
72 | # libnetapp . . . . . . no (netapp_api.h not found) (properitary) |
73 | # libperfstat . . . . . no (AIX only) | |
74 | # librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/) | |
75 | # librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/) | |
76 | # libtokyotyrant . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/) | |
a9b34e68 | 77 | # libyajl . . . . . . . no (yajl/yajl_parse.h not found) |
e19086ca | 78 | # protobuf-c . . . . . no |
a9b34e68 | 79 | # oracle . . . . . . . no (ORACLE_HOME is not set) |
d8a93b37 | 80 | # - Disabled modules (build most of them an package): |
7a3b7a2c AF |
81 | # amqp . . . . . . . no |
82 | # apple_sensors . . . . no (Darwin only) | |
a9b34e68 | 83 | # gmond . . . . . . . . no |
7a3b7a2c | 84 | # ipvs . . . . . . . . no (ip_vs.h not found - llh to be fixed) |
a9b34e68 | 85 | # java . . . . . . . . no |
7a3b7a2c | 86 | # lpar... . . . . . . . no |
7a3b7a2c | 87 | # multimeter . . . . . no ? |
a9b34e68 | 88 | # netapp . . . . . . . no |
7a3b7a2c | 89 | # onewire . . . . . . . no (needs libowfs) |
a9b34e68 | 90 | # oracle . . . . . . . no |
7a3b7a2c AF |
91 | # pinba . . . . . . . . no |
92 | # redis . . . . . . . . no | |
a9b34e68 | 93 | # routeros . . . . . . no |
7a3b7a2c | 94 | # tape . . . . . . . . no ? |
a9b34e68 | 95 | # tokyotyrant . . . . . no |
7a3b7a2c | 96 | # write_redis . . . . . no |
a9b34e68 | 97 | # zfs_arc . . . . . . . no |
c43211a5 PG |
98 | # - logrotate file for logfile plugin |
99 | # - %desc -l pl for plugins | |
100 | # - package SpamAssassin plugin from contrib | |
101 | ||
34fc103e | 102 | # Conditional build: |
1018cae1 | 103 | %bcond_without curl # apache, ascent, bind, curl and nginx plugins |
7e70ab62 TP |
104 | %bcond_without dns # DNS plugin |
105 | %bcond_without ipmi # IPMI plugin | |
34fc103e | 106 | %bcond_without iptables # iptables plugin |
84060114 | 107 | %bcond_with java |
1018cae1 | 108 | %bcond_without libesmtp # notify_email plugin |
7a3b7a2c | 109 | %bcond_without libvirt # libvirt plugin |
b46e10b6 | 110 | %bcond_without modbus # modbus plugin |
34fc103e | 111 | %bcond_with multimeter # multimeter plugin |
1018cae1 | 112 | %bcond_without mysql # MySQL plugin |
34fc103e | 113 | %bcond_without netlink # netlink plugin |
1018cae1 TP |
114 | %bcond_without notify # notify_desktop plugin |
115 | %bcond_without ping # ping plugin | |
b5cac6d2 | 116 | %bcond_without pgsql # PostgreSQL plugin |
1018cae1 TP |
117 | %bcond_without rrd # rrdtool and rrdcached plugins |
118 | %bcond_without sensors # sensors plugin | |
119 | %bcond_without snmp # SNMP plugin | |
120 | %bcond_without ups # nut plugin | |
854e23ef | 121 | %bcond_without varnish # varnish plugin |
1018cae1 TP |
122 | %bcond_without xml # ascent, bind and libvirt plugins |
123 | %bcond_without xmms # XMMS plugin | |
daff3c99 | 124 | |
7df111b4 | 125 | Summary: Collects system information in RRD files |
322f1351 | 126 | Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD |
373d486f | 127 | Name: collectd |
633e4a51 | 128 | Version: 5.5.0 |
f8e9beea | 129 | Release: 4 |
373d486f | 130 | License: GPL v2 |
81857fc6 | 131 | Group: Daemons |
d94da88b | 132 | Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2 |
633e4a51 | 133 | # Source0-md5: c39305ef5514b44238b0d31f77e29e6a |
f6984413 | 134 | Source1: %{name}.conf |
ec8f9a12 | 135 | Source2: %{name}.init |
96376a8d | 136 | Source3: %{name}-http.conf |
cdf53ab5 | 137 | Source4: %{name}-lighttpd.conf |
197c4197 | 138 | Source5: %{name}-apache.conf |
4929f1a7 PG |
139 | Source10: %{name}-df.conf |
140 | Source11: %{name}-rrdtool.conf | |
cdf53ab5 | 141 | Patch0: %{name}-collection.patch |
1bb84330 | 142 | Patch1: compile.patch |
1bc16d55 | 143 | Patch2: noquote.patch |
633e4a51 | 144 | |
cc9450c3 | 145 | Patch5: no-Werror.patch |
b46e10b6 | 146 | Patch6: %{name}-modbus.patch |
f6984413 | 147 | URL: http://collectd.org/ |
aedbf1de | 148 | %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3} |
373d486f AF |
149 | BuildRequires: autoconf |
150 | BuildRequires: automake | |
1018cae1 | 151 | %{?with_curl:BuildRequires: curl-devel} |
13d220ef | 152 | %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4} |
1f546c2e | 153 | BuildRequires: libdbi-devel |
1018cae1 | 154 | %{?with_libesmtp:BuildRequires: libesmtp-devel} |
1f546c2e | 155 | BuildRequires: libltdl-devel |
b5cac6d2 | 156 | BuildRequires: libmemcached-devel |
e19086ca | 157 | %{?with_modbus:BuildRequires: libmodbus-devel} |
cc9450c3 | 158 | %{?with_netlink:BuildRequires: libmnl-devel} |
2a0d0cb2 | 159 | %{?with_libvirt:BuildRequires: libnl1-devel} |
d8b90517 | 160 | %{?with_notify:BuildRequires: libnotify-devel} |
1018cae1 | 161 | %{?with_ping:BuildRequires: liboping-devel} |
7e70ab62 | 162 | %{?with_dns:BuildRequires: libpcap-devel} |
8bf13ddb | 163 | BuildRequires: libstatgrab-devel >= 0.12 |
daff3c99 | 164 | BuildRequires: libstdc++-devel |
373d486f | 165 | BuildRequires: libtool |
e19086ca | 166 | %{?with_libvirt:BuildRequires: libvirt-devel} |
1018cae1 TP |
167 | %{?with_xml:BuildRequires: libxml2-devel} |
168 | %{?with_sensors:BuildRequires: lm_sensors-devel} | |
169 | %{?with_mysql:BuildRequires: mysql-devel} | |
b5cac6d2 | 170 | BuildRequires: ncurses-devel |
daff3c99 | 171 | %{?with_snmp:BuildRequires: net-snmp-devel} |
1102acf3 | 172 | %{?with_libvirt:BuildRequires: numactl-devel} |
1018cae1 | 173 | %{?with_ups:BuildRequires: nut-devel} |
18e77dbc | 174 | BuildRequires: perl-devel |
b5cac6d2 | 175 | BuildRequires: pkgconfig |
176 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
177 | BuildRequires: python-devel | |
178 | BuildRequires: python-modules | |
c7024cdb | 179 | BuildRequires: rpmbuild(macros) >= 1.268 |
1018cae1 | 180 | %{?with_rrd:BuildRequires: rrdtool-devel} |
854e23ef | 181 | %{?with_varnish:BuildRequires: varnish-devel} |
b5cac6d2 | 182 | BuildRequires: which |
183 | #BuildRequires: xfsprogs-devel | |
1018cae1 | 184 | %{?with_xmms:BuildRequires: xmms-devel} |
7a3b7a2c | 185 | BuildRequires: yajl-devel |
7df111b4 | 186 | Requires(post,preun): /sbin/chkconfig |
cad751d7 | 187 | Requires: %{name}-libs = %{version}-%{release} |
c7024cdb | 188 | Requires: rc-scripts |
373d486f AF |
189 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
190 | ||
30751942 TP |
191 | %define _pkglibdir %{_sharedstatedir}/%{name} |
192 | %define _webapps /etc/webapps | |
193 | %define _webapp %{name} | |
194 | %define _webappdir %{_webapps}/%{_webapp} | |
195 | %define _appdir %{_datadir}/%{_webapp} | |
9259a6ab | 196 | |
373d486f | 197 | %description |
7df111b4 JB |
198 | collectd is a small daemon which collects system information every 10 |
199 | seconds and writes the results in an RRD-file. | |
200 | ||
201 | In contrast to most similar software, collectd is not a script but | |
202 | written in plain C for performance and portability. As a daemon it | |
203 | stays in memory, so there is no need to start up a heavy interpreter | |
204 | every time new values should be logged. This allows collectd to have a | |
205 | 10 second resolution while being nice to the system. | |
206 | ||
19cbcad3 | 207 | %description -l pl.UTF-8 |
e19086ca ER |
208 | collectd to mały demon zbierający co 10 sekund informacje o systemie i |
209 | zapisujący wyniki do pliku RRD. | |
373d486f | 210 | |
19cbcad3 | 211 | W odróżnieniu od innych podobnych programów collectd nie jest |
e19086ca ER |
212 | skryptem, lecz jest napisany w czystym C z myślą o wydajności i |
213 | przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby | |
854e23ef AF |
214 | urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być |
215 | zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10 | |
216 | sekund i nie obciążać zbytnio systemu. | |
373d486f | 217 | |
b8e7f76a | 218 | %package libs |
7e70ab62 TP |
219 | Summary: %{name} libraries |
220 | Summary(pl.UTF-8): Biblioteki %{name} | |
221 | Group: Libraries | |
b8e7f76a PG |
222 | |
223 | %description libs | |
224 | %{name} libraries. | |
225 | ||
226 | %description libs -l pl.UTF-8 | |
227 | Biblioteki %{name}. | |
228 | ||
229 | %package devel | |
7e70ab62 TP |
230 | Summary: Header files for %{name} libraries |
231 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name} | |
232 | Group: Development/Libraries | |
233 | Requires: %{name}-libs = %{version}-%{release} | |
b8e7f76a PG |
234 | |
235 | %description devel | |
236 | Header files for %{name} libraries. | |
237 | ||
238 | %description devel -l pl.UTF-8 | |
239 | Pliki nagłówkowe bibliotek %{name}. | |
240 | ||
80d5b170 | 241 | %package static |
242 | Summary: Static files for %{name} libraries | |
243 | Summary(pl.UTF-8): Pliki statyczne bibliotek %{name} | |
244 | Group: Development/Libraries | |
245 | Requires: %{name}-libs = %{version}-%{release} | |
246 | ||
247 | %description static | |
248 | Static files for %{name} libraries. | |
249 | ||
daff3c99 | 250 | %description static -l pl.UTF-8 |
80d5b170 | 251 | Pliki statyczne bibliotek %{name}. |
252 | ||
18e77dbc | 253 | %package apache |
273ffc81 | 254 | Summary: apache-plugin for collectd |
e3cf1862 | 255 | Summary(pl.UTF-8): Wtyczka apache dla collectd |
18e77dbc | 256 | Group: Daemons |
273ffc81 | 257 | Requires: %{name} = %{version}-%{release} |
18e77dbc | 258 | |
259 | %description apache | |
daff3c99 | 260 | This plugin collect data provided by Apache's `mod_status'. |
18e77dbc | 261 | |
262 | %description apache -l pl.UTF-8 | |
273ffc81 JB |
263 | Wtyczka collectd zbierająca informacje udostępniane przez moduł |
264 | 'mod_status' Apacha. | |
18e77dbc | 265 | |
5e965dc7 PG |
266 | %package apcups |
267 | Summary: APC UPS plugin for collectd | |
e3cf1862 | 268 | Summary(pl.UTF-8): Wtyczka APC UPS dla collectd |
5e965dc7 PG |
269 | Group: Daemons |
270 | Requires: %{name} = %{version}-%{release} | |
271 | ||
272 | %description apcups | |
a9b34e68 | 273 | The APC UPS plugin connects to an instance of Apcupsd to read various |
854e23ef AF |
274 | statistics about a connected uninterruptible power supply (UPS), such |
275 | as voltage, load, etc. | |
5e965dc7 PG |
276 | |
277 | %package ascent | |
278 | Summary: ascent-plugin for collectd | |
e3cf1862 | 279 | Summary(pl.UTF-8): Wtyczka ascent dla collectd |
5e965dc7 PG |
280 | Group: Daemons |
281 | Requires: %{name} = %{version}-%{release} | |
282 | ||
283 | %description ascent | |
854e23ef AF |
284 | The Ascent plugin reads and parses the statistics page of Ascent, a |
285 | free and open-source server software for the game World of Warcraft by | |
286 | Blizzard Entertainment. | |
5e965dc7 PG |
287 | |
288 | %package battery | |
289 | Summary: battery plugin for collectd | |
e3cf1862 | 290 | Summary(pl.UTF-8): Wtyczka battery dla collectd |
5e965dc7 PG |
291 | Group: Daemons |
292 | Requires: %{name} = %{version}-%{release} | |
293 | ||
294 | %description battery | |
295 | This plugin collects the battery's charge, the drawn current and the | |
296 | battery's voltage. | |
297 | ||
b8e7f76a PG |
298 | %package bind |
299 | Summary: bind plugin for collectd | |
e3cf1862 | 300 | Summary(pl.UTF-8): Wtyczka bind dla collectd |
b8e7f76a PG |
301 | Group: Daemons |
302 | Requires: %{name} = %{version}-%{release} | |
303 | ||
304 | %description bind | |
daff3c99 ER |
305 | Starting with BIND 9.5.0, the most widely used DNS server software |
306 | provides extensive statistics about queries, responses and lots of | |
307 | other information. The bind plugin retrieves this information that's | |
308 | encoded in XML and provided via HTTP and submits the values to | |
309 | collectd. | |
b8e7f76a | 310 | |
133ab397 | 311 | %package collection |
30751942 | 312 | Summary: Web script for collectd |
e3cf1862 | 313 | Summary(pl.UTF-8): Web script for collectd |
5fafedfc | 314 | Group: Applications/WWW |
315 | Requires: %{name} = %{version}-%{release} | |
cdf53ab5 PG |
316 | Requires: perl(CGI) |
317 | Requires: perl(Data::Dumper) | |
318 | Requires: perl(HTML::Entities) | |
319 | Requires: perl(RRDs) | |
320 | Requires: perl(URI::Escape) | |
321 | Requires: webserver(cgi) | |
16598688 | 322 | Suggests: fonts-TTF-DejaVu |
197c4197 | 323 | Conflicts: apache-base < 2.4.0-1 |
5fafedfc | 324 | |
133ab397 | 325 | %description collection |
30751942 | 326 | Web script for collectd. |
5fafedfc | 327 | |
f26b05df | 328 | %package collection3 |
329 | Summary: Web script for collectd | |
e3cf1862 | 330 | Summary(pl.UTF-8): Web script for collectd |
f26b05df | 331 | Group: Applications/WWW |
332 | Requires: %{name} = %{version}-%{release} | |
333 | Requires: perl(Config::General) | |
334 | Requires: perl(HTML::Entities) | |
335 | Requires: perl(RRDs) | |
e19086ca ER |
336 | Requires: perl(Regexp::Common) |
337 | Requires: perl-Collectd = %{version}-%{release} | |
f26b05df | 338 | Requires: webserver(cgi) |
339 | Suggests: fonts-TTF-DejaVu | |
197c4197 | 340 | Conflicts: apache-base < 2.4.0-1 |
f26b05df | 341 | |
342 | %description collection3 | |
343 | Web script for collectd. | |
344 | ||
a9b34e68 PG |
345 | %package contextswitch |
346 | Summary: contextswitch-plugin for collectd | |
e3cf1862 | 347 | Summary(pl.UTF-8): Wtyczka contextswitch dla collectd |
a9b34e68 PG |
348 | Group: Daemons |
349 | Requires: %{name} = %{version}-%{release} | |
350 | ||
351 | %description contextswitch | |
854e23ef AF |
352 | The ContextSwitch plugin collects the number of context switches done |
353 | by the operating system. | |
a9b34e68 | 354 | |
d94da88b | 355 | %package conntrack |
356 | Summary: conntrack-plugin for collectd | |
e3cf1862 | 357 | Summary(pl.UTF-8): Wtyczka conntrack dla collectd |
d94da88b | 358 | Group: Daemons |
359 | Requires: %{name} = %{version}-%{release} | |
360 | ||
361 | %description conntrack | |
362 | The conntrack-plugin collects the connection tracking table size. | |
363 | ||
5e965dc7 PG |
364 | %package cpu |
365 | Summary: cpu-plugin for collectd | |
e3cf1862 | 366 | Summary(pl.UTF-8): Wtyczka cpu dla collectd |
5e965dc7 PG |
367 | Group: Daemons |
368 | Requires: %{name} = %{version}-%{release} | |
369 | ||
370 | %description cpu | |
daff3c99 ER |
371 | The cpu-plugin collects the amount of time spent by the CPU in various |
372 | states, most notably executing user code, executing system code, | |
373 | waiting for IO operations and being idle. | |
5e965dc7 PG |
374 | |
375 | %package cpufreq | |
376 | Summary: cpufreq-plugin for collectd | |
e3cf1862 | 377 | Summary(pl.UTF-8): Wtyczka cpufreq dla collectd |
5e965dc7 PG |
378 | Group: Daemons |
379 | Requires: %{name} = %{version}-%{release} | |
380 | ||
381 | %description cpufreq | |
382 | Collects the current CPU's frequency, mostly for mobile computers. | |
383 | ||
384 | %package csv | |
385 | Summary: CSV output plugin for collectd | |
e3cf1862 | 386 | Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd |
5e965dc7 PG |
387 | Group: Daemons |
388 | Requires: %{name} = %{version}-%{release} | |
389 | ||
390 | %description csv | |
391 | CSV output plugin for collectd. | |
392 | ||
b8e7f76a PG |
393 | %package curl |
394 | Summary: cURL output plugin for collectd | |
e3cf1862 | 395 | Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd |
b8e7f76a PG |
396 | Group: Daemons |
397 | Requires: %{name} = %{version}-%{release} | |
398 | ||
399 | %description curl | |
400 | The curl plugin uses the libcurl to read web pages and the match | |
401 | infrastructure (the same code used by the tail plugin) to use regular | |
402 | expressions with the received data. | |
403 | ||
854e23ef AF |
404 | %package curl_json |
405 | Summary: cURL JSON plugin for collectd | |
406 | Summary(pl.UTF-8): Wtyczka cURL JSON dla collectd | |
407 | Group: Daemons | |
408 | Requires: %{name} = %{version}-%{release} | |
409 | ||
410 | %description curl_json | |
411 | The cURL-JSON plugin queries JavaScript Object Notation (JSON) data | |
412 | using the cURL library and parses it according to the user's | |
413 | configuration using Yet Another JSON Library (YAJL). This can be used | |
414 | to query statistics information from a CouchDB instance, for example. | |
415 | ||
b8e7f76a PG |
416 | %package dbi |
417 | Summary: dbi plugin for collectd | |
e3cf1862 | 418 | Summary(pl.UTF-8): Wtyczka dbi dla collectd |
b8e7f76a PG |
419 | Group: Daemons |
420 | Requires: %{name} = %{version}-%{release} | |
421 | ||
422 | %description dbi | |
daff3c99 ER |
423 | This plugin uses the dbi library to connect to various databases, |
424 | execute SQL statements and read back the results. dbi is an acronym | |
425 | for "database interface" in case you were wondering about the name. | |
426 | You can configure how each column is to be interpreted and the plugin | |
427 | will generate one or more data sets from each row returned according | |
428 | to these rules. | |
b8e7f76a | 429 | |
5e965dc7 PG |
430 | %package df |
431 | Summary: df-plugin for collectd | |
e3cf1862 | 432 | Summary(pl.UTF-8): Wtyczka df dla collectd |
5e965dc7 PG |
433 | Group: Daemons |
434 | Requires: %{name} = %{version}-%{release} | |
435 | ||
436 | %description df | |
daff3c99 ER |
437 | The df-plugin collects file system usage information, i. e. basically |
438 | how much space on a mounted partition is used and how much is | |
439 | available. It's named after and very similar to the df(1) UNIX command | |
440 | that's been around forever. | |
5e965dc7 PG |
441 | |
442 | %package disk | |
443 | Summary: disk-plugin for collectd | |
e3cf1862 | 444 | Summary(pl.UTF-8): Wtyczka disk dla collectd |
5e965dc7 PG |
445 | Group: Daemons |
446 | Requires: %{name} = %{version}-%{release} | |
447 | ||
448 | %description disk | |
449 | This plugin collects performance statistics of harddisks and, where | |
450 | supported, partitions. | |
451 | ||
8bf13ddb PG |
452 | %package dns |
453 | Summary: dns-plugin for collectd | |
e3cf1862 | 454 | Summary(pl.UTF-8): Wtyczka dns dla collectd |
8bf13ddb PG |
455 | Group: Daemons |
456 | Requires: %{name} = %{version}-%{release} | |
3a1b5393 | 457 | Requires: perl-rrdtool |
ef79d9ea | 458 | |
8bf13ddb | 459 | %description dns |
daff3c99 ER |
460 | This plugin has a similar functionality to dnstop: It uses libpcap to |
461 | get a copy of all traffic from/to port UDP/53 (that's the DNS port), | |
462 | interprets the packets and collects statistics of your DNS traffic. | |
5e965dc7 PG |
463 | |
464 | %package email | |
465 | Summary: email-plugin for collectd | |
e3cf1862 | 466 | Summary(pl.UTF-8): Wtyczka email dla collectd |
5e965dc7 PG |
467 | Group: Daemons |
468 | Requires: %{name} = %{version}-%{release} | |
469 | ||
470 | %description email | |
471 | The email plugin opens an UNIX-socket over which one can submit email | |
daff3c99 ER |
472 | statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. |
473 | mails received/handled, spam scores and matched spam checks. | |
5e965dc7 PG |
474 | |
475 | This plugin is intended to be used with the the | |
daff3c99 ER |
476 | Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which |
477 | is included in contrib/, but is of course not limited to that use. | |
5e965dc7 PG |
478 | |
479 | %package entropy | |
480 | Summary: entropy-plugin for collectd | |
e3cf1862 | 481 | Summary(pl.UTF-8): Wtyczka entropy dla collectd |
5e965dc7 PG |
482 | Group: Daemons |
483 | Requires: %{name} = %{version}-%{release} | |
484 | ||
485 | %description entropy | |
854e23ef AF |
486 | The Entropy plugin collects the available entropy on a system. Entropy |
487 | is important to generate random numbers, which are used for | |
488 | encryption, authorization and similar tasks. | |
5e965dc7 | 489 | |
cc6085e4 | 490 | %package ethstat |
491 | Summary: ethstat-plugin for collectd | |
492 | Summary(pl.UTF-8): Wyczka ethstat dla collectd | |
493 | Group: Daemons | |
494 | Requires: %{name} = %{version}-%{release} | |
495 | ||
496 | %description ethstat | |
497 | The ethstat plugin reads performance statistics directly from ethernet | |
498 | cards | |
499 | ||
5e965dc7 PG |
500 | %package exec |
501 | Summary: exec-plugin for collectd | |
e3cf1862 | 502 | Summary(pl.UTF-8): Wtyczka exec dla collectd |
5e965dc7 PG |
503 | Group: Daemons |
504 | Requires: %{name} = %{version}-%{release} | |
505 | ||
506 | %description exec | |
507 | The exec plugin forks of an executable either to receive values or to | |
508 | dispatch notifications to the outside world. | |
509 | ||
510 | %package filecount | |
511 | Summary: filecount-plugin for collectd | |
e3cf1862 | 512 | Summary(pl.UTF-8): Wtyczka filecount dla collectd |
5e965dc7 PG |
513 | Group: Daemons |
514 | Requires: %{name} = %{version}-%{release} | |
515 | ||
516 | %description filecount | |
daff3c99 ER |
517 | The filecount-plugin does something very simple: Count the number of |
518 | files in a directory and all its subdirectories. This can be used for | |
519 | a variety of statistics, for example the queue length of an MTA, the | |
520 | number of PHP sessions of a web server or simply the number of files | |
521 | in your home directory. | |
8bf13ddb | 522 | |
d94da88b | 523 | %package fscache |
524 | Summary: fscache-plugin for collectd | |
e3cf1862 | 525 | Summary(pl.UTF-8): Wtyczka fscache dla collectd |
d94da88b | 526 | Group: Daemons |
527 | Requires: %{name} = %{version}-%{release} | |
528 | ||
529 | %description fscache | |
daff3c99 ER |
530 | The fscache-plugin collects statistics about Linux file-system based |
531 | caching framework. | |
d94da88b | 532 | |
8bf13ddb PG |
533 | %package hddtemp |
534 | Summary: hddtemp-plugin for collectd | |
e3cf1862 | 535 | Summary(pl.UTF-8): Wtyczka hddtemp dla collectd |
8bf13ddb PG |
536 | Group: Daemons |
537 | Requires: %{name} = %{version}-%{release} | |
b73c1be9 | 538 | Suggests: hddtemp-hddtempd |
8bf13ddb PG |
539 | |
540 | %description hddtemp | |
daff3c99 ER |
541 | Temperature of harddisks. The temperatures are provided via S.M.A.R.T. |
542 | and queried by the external hddtemp-daemon. | |
5e965dc7 PG |
543 | |
544 | %package interface | |
545 | Summary: interface-plugin for collectd | |
e3cf1862 | 546 | Summary(pl.UTF-8): Wtyczka interface dla collectd |
5e965dc7 PG |
547 | Group: Daemons |
548 | Requires: %{name} = %{version}-%{release} | |
549 | ||
550 | %description interface | |
daff3c99 ER |
551 | The interface-plugin collects information about the traffic (octets), |
552 | packets and errors of interfaces. | |
5e965dc7 PG |
553 | |
554 | %package iptables | |
555 | Summary: iptables-plugin for collectd | |
e3cf1862 | 556 | Summary(pl.UTF-8): Wtyczka iptables dla collectd |
5e965dc7 PG |
557 | Group: Daemons |
558 | Requires: %{name} = %{version}-%{release} | |
559 | ||
560 | %description iptables | |
561 | With this plugin you can gather statistics from your ip_tables based | |
daff3c99 ER |
562 | packetfilter (aka. firewall). It can collect the byte- and |
563 | packet-counters of selected rules and submit them to collectd. You can | |
564 | select rules that should be collected wither by its position (e.g. | |
565 | "the fourth rule in the INPUT queue in the filter table") or by its | |
566 | comment (using the COMMENT match). This means that depending on your | |
567 | firewall layout you can collect certain services (such as the amount | |
568 | of web-traffic), source or destination hosts or networks, dropped | |
569 | packets and much more. | |
8bf13ddb | 570 | |
87ba198e | 571 | %package ipmi |
572 | Summary: ipmi-plugin for collectd | |
e3cf1862 | 573 | Summary(pl.UTF-8): Wtyczka ipmi dla collectd |
87ba198e | 574 | Group: Daemons |
575 | Requires: %{name} = %{version}-%{release} | |
576 | ||
577 | %description ipmi | |
854e23ef AF |
578 | The IPMI plugin uses the OpenIPMI library to read hardware sensors |
579 | from servers using the Intelligent Platform Management Interface | |
580 | (IPMI). IPMI is very common with server hardware but usually not | |
581 | available in consumer hardware. | |
34fc103e | 582 | |
5e965dc7 PG |
583 | %package irq |
584 | Summary: IRQs-plugin for collectd | |
e3cf1862 | 585 | Summary(pl.UTF-8): Wtyczka IRQs dla collectd |
5e965dc7 PG |
586 | Group: Daemons |
587 | Requires: %{name} = %{version}-%{release} | |
588 | ||
589 | %description irq | |
854e23ef AF |
590 | The IRQ plugin collects the number of times each interrupt has been |
591 | handled by the operating system. | |
5e965dc7 | 592 | |
7a3b7a2c AF |
593 | %package libvirt |
594 | Summary: libvirt-plugin for collectd | |
595 | Summary(pl.UTF-8): Wtyczka libvirt dla collectd | |
596 | Group: Daemons | |
597 | Requires: %{name} = %{version}-%{release} | |
598 | ||
599 | %description libvirt | |
600 | The libvirt plugin uses the virtualization API libvirt, created by | |
601 | RedHat's Emerging Technology group, to gather statistics about | |
602 | virtualized guests on a system. This way, you can collect CPU, network | |
603 | interface and block device usage for each guest without installing | |
604 | collectd on the guest systems. Because the statistics are received | |
605 | from the hypervisor directly, this works not only with | |
606 | para-virtualized hosts, but with hardware virtualized machines, too. | |
607 | ||
5e965dc7 PG |
608 | %package load |
609 | Summary: load-plugin for collectd | |
e3cf1862 | 610 | Summary(pl.UTF-8): Wtyczka load dla collectd |
5e965dc7 PG |
611 | Group: Daemons |
612 | Requires: %{name} = %{version}-%{release} | |
613 | ||
614 | %description load | |
615 | Collects the system load. These numbers give a rough overview over the | |
616 | utilization of a machine, though their meaning is mostly overrated. | |
617 | ||
618 | %package logfile | |
619 | Summary: logfile-plugin for collectd | |
e3cf1862 | 620 | Summary(pl.UTF-8): Wtyczka logfile dla collectd |
5e965dc7 PG |
621 | Group: Daemons |
622 | Requires: %{name} = %{version}-%{release} | |
623 | ||
624 | %description logfile | |
854e23ef AF |
625 | The LogFile plugin receives log messages from the daemon and writes |
626 | them to a text file. | |
a9b34e68 PG |
627 | |
628 | %package madwifi | |
629 | Summary: madwifi plugin for collectd | |
e3cf1862 | 630 | Summary(pl.UTF-8): Wtyczka madwifi dla collectd |
a9b34e68 PG |
631 | Group: Daemons |
632 | Requires: %{name} = %{version}-%{release} | |
633 | ||
634 | %description madwifi | |
854e23ef AF |
635 | The MadWifi plugin collects information about Atheros wireless LAN |
636 | chipsets from the MadWifi driver. It uses the /sys filesystem to | |
637 | identify cards handled by this driver automatically but can be | |
638 | configured manually, too. Because very many statistics are available, | |
639 | an advanced selection mechanism is provided. | |
a9b34e68 PG |
640 | |
641 | %package match_empty_counter | |
642 | Summary: match_empty_counter plugin for collectd | |
e3cf1862 | 643 | Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd |
a9b34e68 PG |
644 | Group: Daemons |
645 | Requires: %{name} = %{version}-%{release} | |
646 | ||
647 | %description match_empty_counter | |
854e23ef AF |
648 | Empty Counter match matches value lists, where at least one data |
649 | source is of type COUNTER and the counter value of all counter data | |
650 | sources is zero. | |
a9b34e68 PG |
651 | |
652 | %package match_hashed | |
653 | Summary: match_hashed plugin for collectd | |
e3cf1862 | 654 | Summary(pl.UTF-8): Wtyczka match_hashed dla collectd |
a9b34e68 PG |
655 | Group: Daemons |
656 | Requires: %{name} = %{version}-%{release} | |
657 | ||
658 | %description match_hashed | |
659 | match_hashed plugin for collectd - match for simple load balancing and | |
660 | redundant storage. | |
5e965dc7 | 661 | |
b8e7f76a PG |
662 | %package match_regex |
663 | Summary: match_regex plugin for collectd | |
e3cf1862 | 664 | Summary(pl.UTF-8): Wtyczka match_regex dla collectd |
b8e7f76a PG |
665 | Group: Daemons |
666 | Requires: %{name} = %{version}-%{release} | |
667 | ||
668 | %description match_regex | |
669 | match_regex plugin for collectd. | |
670 | ||
671 | %package match_timediff | |
672 | Summary: match_timediff plugin for collectd | |
e3cf1862 | 673 | Summary(pl.UTF-8): Wtyczka match_timediff dla collectd |
b8e7f76a PG |
674 | Group: Daemons |
675 | Requires: %{name} = %{version}-%{release} | |
676 | ||
677 | %description match_timediff | |
678 | match_timediff plugin for collectd. | |
679 | ||
680 | %package match_value | |
681 | Summary: match_value plugin for collectd | |
e3cf1862 | 682 | Summary(pl.UTF-8): Wtyczka match_value dla collectd |
b8e7f76a PG |
683 | Group: Daemons |
684 | Requires: %{name} = %{version}-%{release} | |
685 | ||
686 | %description match_value | |
687 | match_value plugin for collectd. | |
688 | ||
5e965dc7 | 689 | %package mbmon |
b8e7f76a | 690 | Summary: mbmon plugin for collectd |
e3cf1862 | 691 | Summary(pl.UTF-8): Wtyczka mbmon dla collectd |
5e965dc7 PG |
692 | Group: Daemons |
693 | Requires: %{name} = %{version}-%{release} | |
694 | ||
695 | %description mbmon | |
696 | The mbmon plugin uses mbmon to retrieve temperature, voltage, etc. | |
697 | ||
cc6085e4 | 698 | %package md |
699 | Summary: md plugin for collectd | |
700 | Summary(pl.UTF-8): Wtyczka md dla collectd | |
701 | Group: Daemons | |
702 | Requires: %{name} = %{version}-%{release} | |
703 | ||
704 | %description md | |
705 | The md plugin reports the number of disks in various states in Linux | |
706 | software RAID devices. | |
707 | ||
9987a2c5 PG |
708 | %package memcachec |
709 | Summary: memcachec-plugin for collectd | |
e3cf1862 | 710 | Summary(pl.UTF-8): Wtyczka memcachec dla collectd |
9987a2c5 PG |
711 | Group: Daemons |
712 | Requires: %{name} = %{version}-%{release} | |
713 | ||
714 | %description memcachec | |
854e23ef AF |
715 | The memcachec plugin connects to a memcached server, queries one or |
716 | more given pages and parses the returned data according to user | |
717 | specification. The matches used are similar to the matches used in the | |
718 | cURL and Tail plugins. | |
9987a2c5 | 719 | |
5e965dc7 PG |
720 | %package memcached |
721 | Summary: memcached-plugin for collectd | |
e3cf1862 | 722 | Summary(pl.UTF-8): Wtyczka memcached dla collectd |
5e965dc7 PG |
723 | Group: Daemons |
724 | Requires: %{name} = %{version}-%{release} | |
725 | ||
726 | %description memcached | |
daff3c99 ER |
727 | The memcached plugin connects to a memcached daemon and collects the |
728 | number of connections and requests handled by the daemon, the CPU | |
729 | resources consumed, number of items cached, number of threads, and | |
730 | bytes sent and received. | |
5e965dc7 PG |
731 | |
732 | %package memory | |
733 | Summary: memory-plugin for collectd | |
e3cf1862 | 734 | Summary(pl.UTF-8): Wtyczka memory dla collectd |
5e965dc7 PG |
735 | Group: Daemons |
736 | Requires: %{name} = %{version}-%{release} | |
737 | ||
738 | %description memory | |
739 | Collects physical memory utilization for collectd. | |
740 | ||
b46e10b6 | 741 | %package modbus |
742 | Summary: modbus-plugin for collectd | |
743 | Summary(pl.UTF-8): Wtyczka modbus dla collectd | |
744 | Group: Daemons | |
745 | Requires: %{name} = %{version}-%{release} | |
746 | ||
747 | %description modbus | |
748 | The Modbus plugin connects to a Modbus "slave" via Modbus/TCP and | |
e19086ca ER |
749 | reads register values. It supports reading single registers (unsigned |
750 | 16 bit values), large integer values (unsigned 32 bit values) and | |
b46e10b6 | 751 | floating point values (two registers interpreted as IEEE floats in big |
e19086ca | 752 | endian notation). |
b46e10b6 | 753 | |
5e965dc7 PG |
754 | %package multimeter |
755 | Summary: multimeter-plugin for collectd | |
e3cf1862 | 756 | Summary(pl.UTF-8): Wtyczka multimeter dla collectd |
5e965dc7 PG |
757 | Group: Daemons |
758 | Requires: %{name} = %{version}-%{release} | |
759 | ||
760 | %description multimeter | |
854e23ef AF |
761 | The Multimeter plugin reads a value (usually a voltage or current) |
762 | from a multimeter connected to a serial bus. The plugin tries | |
763 | /dev/ttyS0-9 in order to find a multimeter – no configuration is | |
764 | possible. | |
a9b34e68 PG |
765 | |
766 | The multimeter used for development was a Metex M-4650CR. | |
5e965dc7 | 767 | |
18e77dbc | 768 | %package mysql |
273ffc81 | 769 | Summary: mysql-plugin for collectd |
e3cf1862 | 770 | Summary(pl.UTF-8): Moduł mysql dla collectd. |
18e77dbc | 771 | Group: Daemons |
273ffc81 | 772 | Requires: %{name} = %{version}-%{release} |
e00e3af9 | 773 | Requires: mysql-client |
18e77dbc | 774 | |
775 | %description mysql | |
273ffc81 | 776 | MySQL querying plugin. This plugins provides data of issued commands, |
18e77dbc | 777 | called handlers and database traffic. |
778 | ||
779 | %description mysql -l pl.UTF-8 | |
273ffc81 JB |
780 | Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych |
781 | poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym. | |
18e77dbc | 782 | |
5e965dc7 PG |
783 | %package netlink |
784 | Summary: netlink-plugin for collectd | |
e3cf1862 | 785 | Summary(pl.UTF-8): Wtyczka netlink dla collectd |
5e965dc7 PG |
786 | Group: Daemons |
787 | Requires: %{name} = %{version}-%{release} | |
788 | ||
789 | %description netlink | |
daff3c99 ER |
790 | This plugin will open a netlink socket to the Linux kernel and use it |
791 | to get statistics for interfaces, qdiscs, classes, and, if you can | |
792 | make use of it, filters. Since in most setups many of the statistics | |
793 | this plugin can collect aren't of interest, you can select which | |
794 | information to gather using the configuration. | |
5e965dc7 PG |
795 | |
796 | %package network | |
797 | Summary: network-plugin for collectd | |
e3cf1862 | 798 | Summary(pl.UTF-8): Wtyczka network dla collectd |
5e965dc7 PG |
799 | Group: Daemons |
800 | Requires: %{name} = %{version}-%{release} | |
801 | ||
802 | %description network | |
854e23ef AF |
803 | The Network plugin can send values to other instances and receive |
804 | values from other %{name} instances. | |
5e965dc7 PG |
805 | |
806 | %package nfs | |
807 | Summary: NFS-plugin for collectd | |
e3cf1862 | 808 | Summary(pl.UTF-8): Wtyczka NFS dla collectd |
5e965dc7 PG |
809 | Group: Daemons |
810 | Requires: %{name} = %{version}-%{release} | |
811 | ||
812 | %description nfs | |
daff3c99 ER |
813 | The nfs plugin counts the number of procedure calls of the different |
814 | NFS procedures. | |
5e965dc7 | 815 | |
8bf13ddb PG |
816 | %package nginx |
817 | Summary: nginx-plugin for collectd | |
e3cf1862 | 818 | Summary(pl.UTF-8): Wtyczka nginx dla collectd |
8bf13ddb PG |
819 | Group: Daemons |
820 | Requires: %{name} = %{version}-%{release} | |
821 | ||
822 | %description nginx | |
daff3c99 ER |
823 | This plugin collects the number of connections and requests handled by |
824 | the nginx daemon, a HTTP and mail server/proxy. It queries the page | |
825 | provided by the ngx_http_stub_status_module module, which isn't | |
826 | compiled by default. | |
8bf13ddb | 827 | |
7be39ce7 | 828 | %package notify_desktop |
829 | Summary: notify_desktop for collectd | |
e3cf1862 | 830 | Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd |
7be39ce7 | 831 | Group: Daemons |
832 | Requires: %{name} = %{version}-%{release} | |
6af07819 | 833 | Requires: dbus(org.freedesktop.Notifications) |
7be39ce7 | 834 | |
835 | %description notify_desktop | |
5e965dc7 | 836 | This plugin sends a desktop notification to a notification daemon, as |
6af07819 | 837 | defined in the Desktop Notification Specification. |
7be39ce7 | 838 | |
b4b27e4a | 839 | %package notify_email |
5e965dc7 | 840 | Summary: notify_email-plugin for collectd |
e3cf1862 | 841 | Summary(pl.UTF-8): Wtyczka notify_email dla collectd |
b4b27e4a PG |
842 | Group: Daemons |
843 | Requires: %{name} = %{version}-%{release} | |
844 | ||
845 | %description notify_email | |
854e23ef AF |
846 | The Notify Email plugin uses libESMTP to send notifications to a |
847 | configured email address(es). | |
b4b27e4a | 848 | |
5e965dc7 PG |
849 | %package ntpd |
850 | Summary: ntpd-plugin for collectd | |
e3cf1862 | 851 | Summary(pl.UTF-8): Wtyczka ntpd dla collectd |
5e965dc7 PG |
852 | Group: Daemons |
853 | Requires: %{name} = %{version}-%{release} | |
854 | ||
855 | %description ntpd | |
a9b34e68 PG |
856 | The NTPd plugin queries an NTP server (usually the local one, where |
857 | statistics access is allowed) and extracts : | |
858 | - "local" clock parameters: time offset, error and offset loop, | |
854e23ef AF |
859 | - parameters for each NTP server used to sync time: offset, |
860 | dispersion, delay. | |
5e965dc7 | 861 | |
cc6085e4 | 862 | %package numa |
863 | Summary: numa-plugin for collectd | |
864 | Summary(pl.UTF-8): Wtyczka numa dla collectd | |
865 | Group: Daemons | |
866 | Requires: %{name} = %{version}-%{release} | |
867 | ||
868 | %description numa | |
e19086ca ER |
869 | The numa plugin reports statistics of the Non-Uniform Memory Access |
870 | (NUMA) subsystem of Linux. | |
cc6085e4 | 871 | |
b4b27e4a PG |
872 | %package nut |
873 | Summary: nut-plugin for collectd | |
e3cf1862 | 874 | Summary(pl.UTF-8): Wtyczka nut dla collectd |
b4b27e4a PG |
875 | Group: Daemons |
876 | Requires: %{name} = %{version}-%{release} | |
877 | ||
878 | %description nut | |
5e965dc7 | 879 | UPS statistics using the Network UPS Tools. These statistics include |
daff3c99 ER |
880 | basically everything NUT will give us, including voltages, currents, |
881 | power, frequencies, load, and temperatures. | |
b4b27e4a | 882 | |
a9b34e68 PG |
883 | %package olsrd |
884 | Summary: olsrd plugin for collectd | |
e3cf1862 | 885 | Summary(pl.UTF-8): Wtyczka olsrd dla collectd |
a9b34e68 PG |
886 | Group: Daemons |
887 | Requires: %{name} = %{version}-%{release} | |
a9b34e68 PG |
888 | |
889 | %description olsrd | |
854e23ef AF |
890 | The olsrd plugin reads information about meshed networks from the |
891 | txtinfo plugin of the Optimized Link State Routing daemon (olsrd). | |
a9b34e68 | 892 | |
b8e7f76a PG |
893 | %package openvpn |
894 | Summary: openvpn plugin for collectd | |
e3cf1862 | 895 | Summary(pl.UTF-8): Wtyczka openvpn dla collectd |
b8e7f76a PG |
896 | Group: Daemons |
897 | Requires: %{name} = %{version}-%{release} | |
898 | Requires: openvpn | |
899 | ||
900 | %description openvpn | |
daff3c99 ER |
901 | The OpenVPN plugin reads a status file maintained by OpenVPN and |
902 | gathers traffic statistics about connected clients. | |
b8e7f76a | 903 | |
854e23ef AF |
904 | %package perl |
905 | Summary: perl plugin for collectd | |
906 | Summary(pl.UTF-8): Wtyczka perl dla collectd | |
907 | Group: Daemons | |
908 | Requires: %{name} = %{version}-%{release} | |
909 | Requires: perl-Collectd = %{version}-%{release} | |
910 | ||
911 | %description perl | |
912 | The Perl plugin embeds a Perl interpreter into collectd and exposes | |
913 | the application programming interface (API) to Perl-scripts. This | |
914 | allows to write own plugins in the popular scripting language, which | |
915 | are then loaded and executed by the daemon without the need to start a | |
916 | new process and interpreter every few seconds. Perl-modules written | |
917 | for the Perl plugin are therefore more powerful and efficient than | |
918 | scripts executed by the Exec plugin. | |
919 | ||
907cfb56 PG |
920 | %package ping |
921 | Summary: ping-plugin for collectd | |
e3cf1862 | 922 | Summary(pl.UTF-8): Wtyczka ping dla collectd |
907cfb56 PG |
923 | Group: Daemons |
924 | Requires: %{name} = %{version}-%{release} | |
daff3c99 | 925 | Requires: liboping >= 1.1.2 |
907cfb56 PG |
926 | |
927 | %description ping | |
daff3c99 ER |
928 | The network latency is measured as a roundtrip time. An |
929 | ICMP-echo-request (aka. "ping")is sent to a host and the time needed | |
930 | for his echo-reply (aka. "pong") to arrive is measured. If a reply is | |
931 | not received within one second the plugin will no longer expect a | |
932 | reply and return. This may happen in several circumstances, e. g. the | |
933 | packet is lost, the host is down, a router has dismissed the packet, | |
934 | etc. | |
907cfb56 | 935 | |
b4b27e4a PG |
936 | %package postgresql |
937 | Summary: mysql-plugin for collectd | |
e3cf1862 | 938 | Summary(pl.UTF-8): Moduł postgresql dla collectd. |
b4b27e4a PG |
939 | Group: Daemons |
940 | Requires: %{name} = %{version}-%{release} | |
941 | ||
942 | %description postgresql | |
daff3c99 ER |
943 | The postgresql plugin queries statistics from PostgreSQL databases. It |
944 | keeps a persistent connection to all configured databases and tries to | |
945 | reconnect if the connection has been interrupted. | |
b4b27e4a | 946 | |
4b6e34c7 | 947 | %package powerdns |
948 | Summary: powerdns-plugin for collectd | |
e3cf1862 | 949 | Summary(pl.UTF-8): Wtyczka powerdns dla collectd |
4b6e34c7 | 950 | Group: Daemons |
951 | Requires: %{name} = %{version}-%{release} | |
952 | ||
953 | %description powerdns | |
5e965dc7 | 954 | The powerdns plugin queries statistics from an authoritative PowerDNS |
daff3c99 ER |
955 | nameserver and/or a PowerDNS recursor. Since both offer a wide variety |
956 | of values, many of which are probably meaningless to most users, but | |
957 | may be useful for some. | |
5e965dc7 PG |
958 | |
959 | %package processes | |
960 | Summary: processes-plugin for collectd | |
e3cf1862 | 961 | Summary(pl.UTF-8): Wtyczka processes dla collectd |
5e965dc7 PG |
962 | Group: Daemons |
963 | Requires: %{name} = %{version}-%{release} | |
964 | ||
965 | %description processes | |
daff3c99 ER |
966 | This plugin collects the number of processes, grouped by their state |
967 | (e.g. running, sleeping, zombies, etc.). In addition to that, it can | |
968 | select detailed statistics about selected processes, grouped by name. | |
4b6e34c7 | 969 | |
d94da88b | 970 | %package protocols |
971 | Summary: protocols-plugin for collectd | |
e3cf1862 | 972 | Summary(pl.UTF-8): Wtyczka protocols dla collectd |
d94da88b | 973 | Group: Daemons |
974 | Requires: %{name} = %{version}-%{release} | |
975 | ||
976 | %description protocols | |
daff3c99 ER |
977 | The protocols-plugin provides information about network protocols, |
978 | such as IP, TCP and UDP. | |
d94da88b | 979 | |
a9b34e68 PG |
980 | %package python |
981 | Summary: python-plugin for collectd | |
e3cf1862 | 982 | Summary(pl.UTF-8): Wtyczka python dla collectd |
a9b34e68 PG |
983 | Group: Daemons |
984 | Requires: %{name} = %{version}-%{release} | |
985 | ||
986 | %description python | |
854e23ef AF |
987 | The Python plugin embeds a Python interpreter into collectd and |
988 | exposes the application programming interface (API) to Python-scripts. | |
989 | This allows to write own plugins in the popular scripting language, | |
990 | which are then loaded and executed by the daemon without the need to | |
991 | start a new process and interpreter every few seconds. Python-modules | |
992 | written for the Python plugin are therefore more powerful and | |
993 | efficient than scripts executed by the Exec plugin. | |
994 | ||
995 | %package rrdcached | |
996 | Summary: rrdcached-plugin for collectd | |
997 | Summary(pl.UTF-8): Wtyczka rrdcached dla collectd | |
998 | Group: Daemons | |
999 | Requires: %{name} = %{version}-%{release} | |
1000 | ||
1001 | %description rrdcached | |
1002 | The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached, | |
1003 | to store values to RRD files in an efficient manner. The combination | |
1004 | of the rrdcached plugin and the rrdcached daemon is very similar to | |
1005 | the way the rrdtool plugin works. | |
a9b34e68 | 1006 | |
8bf13ddb PG |
1007 | %package rrdtool |
1008 | Summary: rrdtool-plugin for collectd | |
e3cf1862 | 1009 | Summary(pl.UTF-8): Wtyczka rrdtool dla collectd |
8bf13ddb PG |
1010 | Group: Daemons |
1011 | Requires: %{name} = %{version}-%{release} | |
1012 | Requires: rrdtool | |
1013 | ||
1014 | %description rrdtool | |
a9b34e68 | 1015 | The RRDtool plugin writes values to RRD-files using librrd. |
8bf13ddb PG |
1016 | |
1017 | %package sensors | |
1018 | Summary: sensors-plugin for collectd | |
e3cf1862 | 1019 | Summary(pl.UTF-8): Wtyczka sensors dla collectd |
8bf13ddb PG |
1020 | Group: Daemons |
1021 | Requires: %{name} = %{version}-%{release} | |
1022 | ||
1023 | %description sensors | |
5e965dc7 | 1024 | This plugin uses lm-sensors to read hardware sensors. You will need to |
daff3c99 ER |
1025 | configure lm-sensors before this plugin will collect any usefull and |
1026 | correct data. | |
5e965dc7 | 1027 | |
5e965dc7 PG |
1028 | %package serial |
1029 | Summary: serial-plugin for collectd | |
e3cf1862 | 1030 | Summary(pl.UTF-8): Wtyczka serial dla collectd |
5e965dc7 PG |
1031 | Group: Daemons |
1032 | Requires: %{name} = %{version}-%{release} | |
1033 | ||
1034 | %description serial | |
a9b34e68 | 1035 | The Serial plugin collects the traffic on serial interfaces. |
8bf13ddb PG |
1036 | |
1037 | %package snmp | |
1038 | Summary: snmp-plugin for collectd | |
e3cf1862 | 1039 | Summary(pl.UTF-8): Wtyczka snmp dla collectd |
8bf13ddb PG |
1040 | Group: Daemons |
1041 | Requires: %{name} = %{version}-%{release} | |
1042 | ||
1043 | %description snmp | |
5e965dc7 | 1044 | The snmp plugin queries other hosts using SNMP, the Simple Network |
daff3c99 ER |
1045 | Management Protocol, and translates the value it receives to |
1046 | collectd's internal format and dispatches them. Depending on the write | |
1047 | plugins you have loaded they may be written to disk or submitted to | |
1048 | another instance or whatever you configured. | |
5e965dc7 PG |
1049 | |
1050 | %package swap | |
1051 | Summary: swap-plugin for collectd | |
e3cf1862 | 1052 | Summary(pl.UTF-8): Wtyczka swap dla collectd |
5e965dc7 PG |
1053 | Group: Daemons |
1054 | Requires: %{name} = %{version}-%{release} | |
1055 | ||
1056 | %description swap | |
854e23ef AF |
1057 | The Swap plugin collects the amount of memory currently written onto |
1058 | hard disk or whatever the system calls “swap”. | |
5e965dc7 PG |
1059 | |
1060 | %package syslog | |
1061 | Summary: syslog-plugin for collectd | |
e3cf1862 | 1062 | Summary(pl.UTF-8): Wtyczka syslog dla collectd |
5e965dc7 PG |
1063 | Group: Daemons |
1064 | Requires: %{name} = %{version}-%{release} | |
1065 | ||
1066 | %description syslog | |
a9b34e68 PG |
1067 | The SysLog plugin receives log messages from the daemon and dispatches |
1068 | them to syslog(3). | |
5e965dc7 | 1069 | |
d94da88b | 1070 | %package table |
1071 | Summary: table-plugin for collectd | |
e3cf1862 | 1072 | Summary(pl.UTF-8): Wtyczka table dla collectd |
d94da88b | 1073 | Group: Daemons |
1074 | Requires: %{name} = %{version}-%{release} | |
1075 | ||
1076 | %description table | |
1077 | The table-plugin provides parsing for table-like structured files, | |
1078 | such as many files beneath /proc. | |
1079 | ||
b8e7f76a PG |
1080 | %package target_notification |
1081 | Summary: target_notification-plugin for collectd | |
e3cf1862 | 1082 | Summary(pl.UTF-8): Wtyczka target_notification dla collectd |
b8e7f76a PG |
1083 | Group: Daemons |
1084 | Requires: %{name} = %{version}-%{release} | |
1085 | ||
1086 | %description target_notification | |
1087 | target_notification plugin for collectd. | |
1088 | ||
1089 | %package target_replace | |
1090 | Summary: target_replace-plugin for collectd | |
e3cf1862 | 1091 | Summary(pl.UTF-8): Wtyczka target_replace dla collectd |
b8e7f76a PG |
1092 | Group: Daemons |
1093 | Requires: %{name} = %{version}-%{release} | |
1094 | ||
1095 | %description target_replace | |
1096 | target_replace plugin for collectd. | |
1097 | ||
a9b34e68 PG |
1098 | %package target_scale |
1099 | Summary: target_scale-plugin for collectd | |
e3cf1862 | 1100 | Summary(pl.UTF-8): Wtyczka target_scale dla collectd |
a9b34e68 PG |
1101 | Group: Daemons |
1102 | Requires: %{name} = %{version}-%{release} | |
1103 | ||
1104 | %description target_scale | |
1105 | Target to scale (multiply) values by an arbitrary value. | |
1106 | ||
b8e7f76a PG |
1107 | %package target_set |
1108 | Summary: target_set-plugin for collectd | |
e3cf1862 | 1109 | Summary(pl.UTF-8): Wtyczka target_set dla collectd |
b8e7f76a PG |
1110 | Group: Daemons |
1111 | Requires: %{name} = %{version}-%{release} | |
1112 | ||
1113 | %description target_set | |
1114 | target_set plugin for collectd. | |
1115 | ||
854e23ef AF |
1116 | %package target_v5upgrade |
1117 | Summary: target_v5upgrade-plugin for collectd | |
1118 | Summary(pl.UTF-8): Wtyczka target_v5upgrade dla collectd | |
1119 | Group: Daemons | |
1120 | Requires: %{name} = %{version}-%{release} | |
1121 | ||
1122 | %description target_v5upgrade | |
1123 | The v5 upgrade target can be used to upgrade version 4 data to a | |
1124 | changed version 5 layout. | |
1125 | ||
5e965dc7 PG |
1126 | %package tail |
1127 | Summary: tail-plugin for collectd | |
e3cf1862 | 1128 | Summary(pl.UTF-8): Wtyczka tail dla collectd |
5e965dc7 PG |
1129 | Group: Daemons |
1130 | Requires: %{name} = %{version}-%{release} | |
1131 | ||
1132 | %description tail | |
daff3c99 ER |
1133 | The tail-plugin can be used to "tail" logfiles, i.e. follow them as |
1134 | tail -F does. Each line is given to one or more "matches" which test | |
1135 | if the line is relevant for any statistics using a regular expression. | |
5e965dc7 PG |
1136 | |
1137 | %package tcpconns | |
1138 | Summary: tcpconns-plugin for collectd | |
e3cf1862 | 1139 | Summary(pl.UTF-8): Wtyczka tcpconns dla collectd |
5e965dc7 PG |
1140 | Group: Daemons |
1141 | Requires: %{name} = %{version}-%{release} | |
1142 | ||
1143 | %description tcpconns | |
1144 | The tcpconns-plugin counts the number of TCP connections to or from a | |
daff3c99 ER |
1145 | specified port. Typically the connectioins where you specify the local |
1146 | port are incoming connections while the connections where you specify | |
1147 | the remote port are outgoing connections. | |
5e965dc7 PG |
1148 | |
1149 | %package teamspeak2 | |
1150 | Summary: teamspeak2-plugin for collectd | |
e3cf1862 | 1151 | Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd |
5e965dc7 PG |
1152 | Group: Daemons |
1153 | Requires: %{name} = %{version}-%{release} | |
1154 | ||
1155 | %description teamspeak2 | |
daff3c99 ER |
1156 | The teamspeak2 plugin connects to the query port of a teamspeak2 |
1157 | server and polls interesting global and virtual server data. The | |
1158 | plugin can query only one physical server but unlimited virtual | |
1159 | servers. | |
5e965dc7 | 1160 | |
d94da88b | 1161 | %package ted |
1162 | Summary: ted-plugin for collectd | |
e3cf1862 | 1163 | Summary(pl.UTF-8): Wtyczka ted dla collectd |
d94da88b | 1164 | Group: Daemons |
1165 | Requires: %{name} = %{version}-%{release} | |
1166 | ||
1167 | %description ted | |
daff3c99 ER |
1168 | The TED-plugin reads power consumption measurements from “The Energy |
1169 | Detective” (TED). | |
d94da88b | 1170 | |
5e965dc7 PG |
1171 | %package thermal |
1172 | Summary: thermal-plugin for collectd | |
e3cf1862 | 1173 | Summary(pl.UTF-8): Wtyczka thermal dla collectd |
5e965dc7 PG |
1174 | Group: Daemons |
1175 | Requires: %{name} = %{version}-%{release} | |
1176 | ||
1177 | %description thermal | |
854e23ef AF |
1178 | The thermal plugin reads ACPI thermal zone information from the sysfs |
1179 | or procfs file system, i. e. mostly system temperature information. | |
1180 | ||
1181 | %package threshold | |
1182 | Summary: threshold-plugin for collectd | |
1183 | Summary(pl.UTF-8): Wtyczka threshold dla collectd | |
1184 | Group: Daemons | |
1185 | Requires: %{name} = %{version}-%{release} | |
1186 | ||
1187 | %description threshold | |
1188 | threshold-plugin for collectd. | |
5e965dc7 PG |
1189 | |
1190 | %package unixsock | |
1191 | Summary: unixsock-plugin for collectd | |
e3cf1862 | 1192 | Summary(pl.UTF-8): Wtyczka unixsock dla collectd |
5e965dc7 PG |
1193 | Group: Daemons |
1194 | Requires: %{name} = %{version}-%{release} | |
1195 | ||
1196 | %description unixsock | |
daff3c99 ER |
1197 | The unixsock plugin opens an UNIX-socket over which one can interact |
1198 | with the daemon. This can be used to use the values collected by | |
1199 | collectd in other applications, such as monitoring, or submit | |
1200 | externally collected values to collectd. | |
5e965dc7 | 1201 | |
d94da88b | 1202 | %package uptime |
1203 | Summary: uptime-plugin for collectd | |
e3cf1862 | 1204 | Summary(pl.UTF-8): Wtyczka uptime dla collectd |
d94da88b | 1205 | Group: Daemons |
1206 | Requires: %{name} = %{version}-%{release} | |
1207 | ||
1208 | %description uptime | |
1209 | The uptime-plugin can collect the server's uptime. | |
1210 | ||
5e965dc7 PG |
1211 | %package users |
1212 | Summary: users-plugin for collectd | |
e3cf1862 | 1213 | Summary(pl.UTF-8): Wtyczka users dla collectd |
5e965dc7 PG |
1214 | Group: Daemons |
1215 | Requires: %{name} = %{version}-%{release} | |
1216 | ||
1217 | %description users | |
1218 | Number of users currently logged in. | |
8bf13ddb PG |
1219 | |
1220 | %package uuid | |
1221 | Summary: uuid-plugin for collectd | |
e3cf1862 | 1222 | Summary(pl.UTF-8): Wtyczka uuid dla collectd |
8bf13ddb PG |
1223 | Group: Daemons |
1224 | Requires: %{name} = %{version}-%{release} | |
1225 | ||
1226 | %description uuid | |
daff3c99 ER |
1227 | This plugin, if loaded, causes the Hostname to be taken from the |
1228 | machine's UUID. The UUID is a universally unique designation for the | |
1229 | machine, usually taken from the machine's BIOS. This is most useful if | |
1230 | the machine is running in a virtual environment such as Xen, in which | |
1231 | case the UUID is preserved across shutdowns and migration. | |
5e965dc7 | 1232 | |
854e23ef AF |
1233 | %package varnish |
1234 | Summary: varnish-plugin for collectd | |
1235 | Summary(pl.UTF-8): Wtyczka varnish dla collectd | |
1236 | Group: Daemons | |
1237 | Requires: %{name} = %{version}-%{release} | |
1238 | ||
1239 | %description varnish | |
1240 | The Varnish plugin collects information about Varnish, an HTTP | |
1241 | accelerator. | |
1242 | ||
5e965dc7 PG |
1243 | %package vmem |
1244 | Summary: vmem-plugin for collectd | |
e3cf1862 | 1245 | Summary(pl.UTF-8): Wtyczka vmem dla collectd |
5e965dc7 PG |
1246 | Group: Daemons |
1247 | Requires: %{name} = %{version}-%{release} | |
1248 | ||
1249 | %description vmem | |
daff3c99 ER |
1250 | The vmem plugin collects information about the usage of virtual |
1251 | memory. Since the statistics provided by the Linux kernel are very | |
1252 | detailed, they are collected very detailed. | |
5e965dc7 PG |
1253 | |
1254 | %package vserver | |
1255 | Summary: vserver-plugin for collectd | |
e3cf1862 | 1256 | Summary(pl.UTF-8): Wtyczka vserver dla collectd |
5e965dc7 PG |
1257 | Group: Daemons |
1258 | Requires: %{name} = %{version}-%{release} | |
1259 | ||
1260 | %description vserver | |
daff3c99 ER |
1261 | Collects information about the virtual servers running on a system, |
1262 | using Linux-Vserver. | |
5e965dc7 | 1263 | |
cc6085e4 | 1264 | %package write_graphite |
1265 | Summary: write_graphite-plugin for collectd | |
1266 | Summary(pl.UTF-8): wtyczka write_graphite dla collectd | |
1267 | Group: Daemons | |
1268 | Requires: %{name} = %{version}-%{release} | |
1269 | ||
1270 | %description write_graphite | |
1271 | The Write Graphite plugin stores values in Carbon, the storage layer | |
e19086ca ER |
1272 | of Graphite. The plugin aims to be very efficient. It keeps the TCP |
1273 | connection to Carbon open in order to minimize the connection | |
1274 | handshake overhead. It buffers the data in a buffer to send many lines | |
1275 | at once, rather than generating lots of small network packets. The | |
1276 | size of this buffer (1428 bytes) is dimensioned so that the buffer as | |
1277 | well as the TCP and IP header fit into one Ethernet frame and can | |
1278 | (hopefully) be delivered without fragmentation. | |
cc6085e4 | 1279 | |
a9b34e68 PG |
1280 | %package write_http |
1281 | Summary: write_http-plugin for collectd | |
e3cf1862 | 1282 | Summary(pl.UTF-8): Wtyczka write_http dla collectd |
a9b34e68 PG |
1283 | Group: Daemons |
1284 | Requires: %{name} = %{version}-%{release} | |
1285 | ||
1286 | %description write_http | |
1287 | The Write HTTP plugin sends the values collected by collectd to a | |
1288 | web-server using HTTP POST requests. The data is formatted as PUTVAL | |
1289 | commands. | |
1290 | ||
5e965dc7 PG |
1291 | %package wireless |
1292 | Summary: wireless-plugin for collectd | |
e3cf1862 | 1293 | Summary(pl.UTF-8): Wtyczka wireless dla collectd |
5e965dc7 PG |
1294 | Group: Daemons |
1295 | Requires: %{name} = %{version}-%{release} | |
1296 | ||
1297 | %description wireless | |
a9b34e68 PG |
1298 | The Wireless plugin collects signal quality, signal power and |
1299 | signal-to-noise ratio for wireless LAN cards. | |
8bf13ddb PG |
1300 | |
1301 | %package xmms | |
1302 | Summary: xmms-plugin for collectd | |
e3cf1862 | 1303 | Summary(pl.UTF-8): Wtyczka xmms dla collectd |
8bf13ddb PG |
1304 | Group: Daemons |
1305 | Requires: %{name} = %{version}-%{release} | |
8bf13ddb PG |
1306 | |
1307 | %description xmms | |
a9b34e68 PG |
1308 | The XMMS plugin is a plugin for the XMMS music player. It graphs the |
1309 | bit-rate and sampling rate as you play songs. Not really useful, just | |
1310 | something that got written because we can. | |
8bf13ddb | 1311 | |
f26b05df | 1312 | %package -n perl-Collectd |
1313 | Summary: Perl files from Collectd package | |
1314 | Group: Daemons | |
1315 | ||
1316 | %description -n perl-Collectd | |
1317 | Perl files from Collectd package | |
1318 | ||
373d486f AF |
1319 | %prep |
1320 | %setup -q | |
cdf53ab5 | 1321 | %patch0 -p1 |
1bb84330 | 1322 | %patch1 -p1 |
537d5e17 | 1323 | %patch2 -p1 |
633e4a51 | 1324 | |
bc42c002 | 1325 | %patch5 -p1 |
cc6085e4 | 1326 | #%patch6 -p1 |
526f2b1b | 1327 | |
373d486f | 1328 | %build |
633e4a51 | 1329 | %{__libtoolize} --ltdl |
373d486f AF |
1330 | %{__aclocal} |
1331 | %{__autoconf} | |
1332 | %{__autoheader} | |
1333 | %{__automake} | |
4b6e34c7 | 1334 | |
373d486f | 1335 | %configure \ |
854e23ef | 1336 | CPPFLAGS="-Wno-unused-but-set-variable" \ |
537d5e17 | 1337 | c_cv_have_libperl=yes \ |
1bc16d55 | 1338 | --with-libiptc=/usr \ |
373d486f AF |
1339 | --with-libstatgrab=/usr \ |
1340 | --with-lm-sensors=/usr \ | |
4b6e34c7 | 1341 | --with-libmysql=/usr \ |
537d5e17 AF |
1342 | --enable-perl \ |
1343 | %{__enable_disable dns} \ | |
1344 | %{__enable_disable ipmi} \ | |
1345 | %{__enable_disable iptables} \ | |
6e075de8 | 1346 | %{__with_without java} \ |
537d5e17 AF |
1347 | %{__enable_disable multimeter} \ |
1348 | %{__enable_disable mysql} \ | |
1349 | %{__enable_disable netlink} \ | |
1350 | %{__enable_disable notify notify_desktop} \ | |
1351 | %{__enable_disable libesmtp notify_email} \ | |
b46e10b6 | 1352 | %{__enable_disable modbus } \ |
7a3b7a2c | 1353 | %{__enable_disable libvirt} \ |
537d5e17 AF |
1354 | %{__enable_disable ups nut} \ |
1355 | %{__enable_disable ping} \ | |
1356 | %{__enable_disable pgsql postgresql} \ | |
1357 | %{__enable_disable rrd rrdtool} \ | |
1358 | %{__enable_disable sensors} \ | |
1359 | %{__enable_disable snmp} \ | |
1360 | %{__enable_disable xmms} \ | |
854e23ef | 1361 | %{__enable_disable varnish} \ |
537d5e17 AF |
1362 | %{__enable_disable curl} \ |
1363 | %{__enable_disable curl apache} \ | |
1364 | %{__enable_disable curl ngix} \ | |
1365 | %{__enable_disable curl ascent} \ | |
1366 | %{__disable curl ascent} \ | |
1367 | %{__disable curl bind} \ | |
1368 | %{__disable xml ascent} \ | |
1369 | %{__disable xml bind} \ | |
537d5e17 | 1370 | --disable-ipvs |
4b6e34c7 | 1371 | |
1372 | ||
633e4a51 | 1373 | %{__make} -j1 LDFLAGS="%{rpmldflags} -lstatgrab" \ |
87ba198e | 1374 | BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \ |
f26b05df | 1375 | BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread" |
373d486f AF |
1376 | |
1377 | %install | |
1378 | rm -rf $RPM_BUILD_ROOT | |
711f12a6 | 1379 | install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \ |
f6678d00 | 1380 | $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3} |
373d486f AF |
1381 | |
1382 | %{__make} install \ | |
1383 | DESTDIR=$RPM_BUILD_ROOT | |
81857fc6 | 1384 | |
e105712e | 1385 | touch $RPM_BUILD_ROOT%{_var}/log/collectd.log |
ff0d0ea0 | 1386 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
373d486f | 1387 | |
96376a8d PG |
1388 | # Web frontend: |
1389 | install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir} | |
1390 | install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin | |
197c4197 | 1391 | install %{SOURCE5} $RPM_BUILD_ROOT%{_webappdir}/apache.conf |
96376a8d | 1392 | install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf |
cdf53ab5 | 1393 | install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf |
96376a8d | 1394 | |
f26b05df | 1395 | cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir} |
f6678d00 PG |
1396 | mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf |
1397 | ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf | |
1398 | sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf | |
f26b05df | 1399 | |
711f12a6 | 1400 | ### Configs instalation ### |
b8e7f76a PG |
1401 | for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do |
1402 | egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf | |
4929f1a7 | 1403 | grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf |
cbe0cde9 | 1404 | done |
1405 | ||
711f12a6 PG |
1406 | # Example config in sources: src/collectd.conf |
1407 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf | |
4929f1a7 PG |
1408 | |
1409 | # Overwrite only files which we want to change: | |
1410 | install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf | |
1411 | install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf | |
711f12a6 | 1412 | |
f26b05df | 1413 | mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/ |
f6678d00 | 1414 | mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/ |
f26b05df | 1415 | |
96376a8d PG |
1416 | # Cleanups: |
1417 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la | |
1418 | ||
373d486f AF |
1419 | %clean |
1420 | rm -rf $RPM_BUILD_ROOT | |
1421 | ||
81857fc6 | 1422 | %post |
373d486f AF |
1423 | /sbin/chkconfig --add %{name} |
1424 | %service %{name} restart | |
1425 | ||
81857fc6 | 1426 | %preun |
373d486f AF |
1427 | if [ "$1" = "0" ]; then |
1428 | %service -q %{name} stop | |
1429 | /sbin/chkconfig --del %{name} | |
1430 | fi | |
1431 | ||
b8e7f76a PG |
1432 | %post libs -p /sbin/ldconfig |
1433 | %postun libs -p /sbin/ldconfig | |
1434 | ||
bed4848f PG |
1435 | %define module_scripts() \ |
1436 | %post %1 \ | |
1437 | %service %{name} restart \ | |
1438 | \ | |
1439 | %postun %1 \ | |
1440 | %service %{name} restart | |
1441 | ||
0e2c8900 | 1442 | %module_scripts apache |
5e965dc7 | 1443 | %module_scripts apcups |
0e2c8900 | 1444 | %module_scripts ascent |
5e965dc7 | 1445 | %module_scripts battery |
0e2c8900 | 1446 | %module_scripts bind |
a9b34e68 | 1447 | %module_scripts contextswitch |
d94da88b | 1448 | %module_scripts conntrack |
5e965dc7 | 1449 | %module_scripts cpu |
d94da88b | 1450 | %module_scripts cpufreq |
5e965dc7 | 1451 | %module_scripts csv |
0e2c8900 | 1452 | %module_scripts curl |
854e23ef | 1453 | %module_scripts curl_json |
b8e7f76a | 1454 | %module_scripts dbi |
5e965dc7 PG |
1455 | %module_scripts df |
1456 | %module_scripts disk | |
0e2c8900 | 1457 | %module_scripts dns |
5e965dc7 PG |
1458 | %module_scripts email |
1459 | %module_scripts entropy | |
cc6085e4 | 1460 | %module_scripts ethstat |
5e965dc7 PG |
1461 | %module_scripts exec |
1462 | %module_scripts filecount | |
d94da88b | 1463 | %module_scripts fscache |
bed4848f | 1464 | %module_scripts hddtemp |
5e965dc7 | 1465 | %module_scripts interface |
0e2c8900 TP |
1466 | %module_scripts ipmi |
1467 | %module_scripts iptables | |
5e965dc7 | 1468 | %module_scripts irq |
7a3b7a2c | 1469 | %module_scripts libvirt |
5e965dc7 PG |
1470 | %module_scripts load |
1471 | %module_scripts logfile | |
a9b34e68 PG |
1472 | %module_scripts madwifi |
1473 | %module_scripts match_empty_counter | |
1474 | %module_scripts match_hashed | |
b8e7f76a PG |
1475 | %module_scripts match_regex |
1476 | %module_scripts match_timediff | |
1477 | %module_scripts match_value | |
5e965dc7 | 1478 | %module_scripts mbmon |
cc6085e4 | 1479 | %module_scripts md |
9987a2c5 | 1480 | %module_scripts memcachec |
5e965dc7 PG |
1481 | %module_scripts memcached |
1482 | %module_scripts memory | |
0e2c8900 TP |
1483 | %module_scripts multimeter |
1484 | %module_scripts mysql | |
1485 | %module_scripts netlink | |
5e965dc7 PG |
1486 | %module_scripts network |
1487 | %module_scripts nfs | |
0e2c8900 TP |
1488 | %module_scripts nginx |
1489 | %module_scripts notify_desktop | |
1490 | %module_scripts notify_email | |
5e965dc7 | 1491 | %module_scripts ntpd |
cc6085e4 | 1492 | %module_scripts numa |
0e2c8900 | 1493 | %module_scripts nut |
a9b34e68 | 1494 | %module_scripts olsrd |
b8e7f76a | 1495 | %module_scripts openvpn |
854e23ef | 1496 | %module_scripts perl |
0e2c8900 TP |
1497 | %module_scripts ping |
1498 | %module_scripts postgresql | |
bed4848f | 1499 | %module_scripts powerdns |
5e965dc7 | 1500 | %module_scripts processes |
d94da88b | 1501 | %module_scripts protocols |
a9b34e68 | 1502 | %module_scripts python |
854e23ef | 1503 | %module_scripts rrdcached |
0e2c8900 TP |
1504 | %module_scripts rrdtool |
1505 | %module_scripts sensors | |
5e965dc7 | 1506 | %module_scripts serial |
0e2c8900 | 1507 | %module_scripts snmp |
5e965dc7 PG |
1508 | %module_scripts swap |
1509 | %module_scripts syslog | |
d94da88b | 1510 | %module_scripts table |
5e965dc7 | 1511 | %module_scripts tail |
b8e7f76a PG |
1512 | %module_scripts target_notification |
1513 | %module_scripts target_replace | |
a9b34e68 | 1514 | %module_scripts target_scale |
b8e7f76a | 1515 | %module_scripts target_set |
854e23ef | 1516 | %module_scripts target_v5upgrade |
5e965dc7 PG |
1517 | %module_scripts tcpconns |
1518 | %module_scripts teamspeak2 | |
d94da88b | 1519 | %module_scripts ted |
5e965dc7 | 1520 | %module_scripts thermal |
854e23ef | 1521 | %module_scripts threshold |
5e965dc7 | 1522 | %module_scripts unixsock |
d94da88b | 1523 | %module_scripts uptime |
5e965dc7 | 1524 | %module_scripts users |
bed4848f | 1525 | %module_scripts uuid |
854e23ef | 1526 | %module_scripts varnish |
5e965dc7 PG |
1527 | %module_scripts vmem |
1528 | %module_scripts vserver | |
cc6085e4 | 1529 | %module_scripts write_graphite |
a9b34e68 | 1530 | %module_scripts write_http |
5e965dc7 | 1531 | %module_scripts wireless |
0e2c8900 | 1532 | %module_scripts xmms |
bed4848f | 1533 | |
96376a8d PG |
1534 | %triggerin collection -- apache1 < 1.3.37-3, apache1-base |
1535 | %webapp_register apache %{_webapp} | |
1536 | ||
1537 | %triggerun collection -- apache1 < 1.3.37-3, apache1-base | |
1538 | %webapp_unregister apache %{_webapp} | |
1539 | ||
197c4197 | 1540 | %triggerin collection -- apache-base |
96376a8d PG |
1541 | %webapp_register httpd %{_webapp} |
1542 | ||
197c4197 | 1543 | %triggerun collection -- apache-base |
96376a8d PG |
1544 | %webapp_unregister httpd %{_webapp} |
1545 | ||
73f73519 | 1546 | %triggerin collection -- lighttpd |
cdf53ab5 PG |
1547 | %webapp_register lighttpd %{_webapp} |
1548 | ||
73f73519 | 1549 | %triggerun collection -- lighttpd |
cdf53ab5 PG |
1550 | %webapp_unregister lighttpd %{_webapp} |
1551 | ||
373d486f AF |
1552 | %files |
1553 | %defattr(644,root,root,755) | |
e105712e | 1554 | %doc AUTHORS ChangeLog README TODO contrib |
25bc0190 PG |
1555 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf |
1556 | %dir %{_sysconfdir}/%{name}.d | |
f6678d00 | 1557 | %dir %{_webappdir} |
373d486f | 1558 | %attr(755,root,root) %{_sbindir}/collectd |
e105712e | 1559 | %attr(755,root,root) %{_sbindir}/collectdmon |
854e23ef | 1560 | %attr(755,root,root) %{_bindir}/collectdctl |
18e77dbc | 1561 | %attr(755,root,root) %{_bindir}/collectd-nagios |
854e23ef | 1562 | %dir %{_libdir}/%{name} |
b8e7f76a PG |
1563 | %dir %{_datadir}/%{name} |
1564 | %{_datadir}/%{name}/types.db | |
ff0d0ea0 | 1565 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
373d486f | 1566 | %{_mandir}/man1/collectd.1* |
18e77dbc | 1567 | %{_mandir}/man1/collectd-nagios.1* |
854e23ef | 1568 | %{_mandir}/man1/collectdctl.1* |
80d5b170 | 1569 | %{_mandir}/man1/collectdmon.1* |
373d486f | 1570 | %{_mandir}/man5/collectd.conf.5* |
daff3c99 | 1571 | %{_mandir}/man5/collectd-java.5* |
e105712e | 1572 | %{_mandir}/man5/types.db.5* |
e105712e | 1573 | %dir %{_var}/lib/%{name} |
1574 | ||
b8e7f76a PG |
1575 | %files libs |
1576 | %defattr(644,root,root,755) | |
1577 | %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.* | |
cc9450c3 | 1578 | %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.1 |
b8e7f76a PG |
1579 | |
1580 | %files devel | |
1581 | %defattr(644,root,root,755) | |
1582 | %attr(755,root,root) %{_libdir}/libcollectdclient.so | |
1583 | %{_libdir}/libcollectdclient.la | |
1584 | %dir %{_includedir}/%{name} | |
1585 | %{_includedir}/%{name}/*.h | |
1586 | %{_pkgconfigdir}/libcollectdclient.pc | |
1587 | ||
80d5b170 | 1588 | %files static |
1589 | %defattr(644,root,root,755) | |
1590 | %{_libdir}/libcollectdclient.a | |
1591 | %{_libdir}/%{name}/*.a | |
1592 | ||
5e965dc7 PG |
1593 | %files collection |
1594 | %defattr(644,root,root,755) | |
5e965dc7 PG |
1595 | %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf |
1596 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf | |
1597 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf | |
cdf53ab5 | 1598 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf |
5e965dc7 PG |
1599 | %dir %{_appdir} |
1600 | %dir %{_appdir}/cgi-bin | |
1601 | %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi | |
1602 | ||
f26b05df | 1603 | %files collection3 |
1604 | %defattr(644,root,root,755) | |
f6678d00 PG |
1605 | %doc contrib/collection3/README |
1606 | %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf | |
abf017bf PG |
1607 | %dir %{_appdir}/collection3 |
1608 | %dir %{_appdir}/collection3/bin | |
1609 | %attr(755,root,root) %{_appdir}/collection3/bin/*.cgi | |
f6678d00 | 1610 | %{_appdir}/collection3/etc |
abf017bf PG |
1611 | %{_appdir}/collection3/lib |
1612 | %{_appdir}/collection3/share | |
f26b05df | 1613 | |
8bf13ddb | 1614 | ########## PLUGINS: |
1018cae1 TP |
1615 | %if %{with xml} |
1616 | %if %{with curl} | |
61ccc70a TP |
1617 | %files apache |
1618 | %defattr(640,root,root,755) | |
1619 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf | |
1620 | %attr(755,root,root) %{_libdir}/%{name}/apache.so | |
1018cae1 TP |
1621 | %endif |
1622 | %endif | |
61ccc70a | 1623 | |
5e965dc7 PG |
1624 | %files apcups |
1625 | %defattr(644,root,root,755) | |
1626 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf | |
1627 | %attr(755,root,root) %{_libdir}/%{name}/apcups.so | |
1628 | ||
1018cae1 | 1629 | %if %{with curl} |
8bf13ddb | 1630 | %files ascent |
61ccc70a | 1631 | %defattr(640,root,root,755) |
711f12a6 | 1632 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf |
8bf13ddb | 1633 | %attr(755,root,root) %{_libdir}/%{name}/ascent.so |
1018cae1 | 1634 | %endif |
18e77dbc | 1635 | |
5e965dc7 | 1636 | %files battery |
5fafedfc | 1637 | %defattr(644,root,root,755) |
5e965dc7 PG |
1638 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf |
1639 | %attr(755,root,root) %{_libdir}/%{name}/battery.so | |
1640 | ||
1018cae1 TP |
1641 | %if %{with xml} |
1642 | %if %{with curl} | |
b8e7f76a PG |
1643 | %files bind |
1644 | %defattr(644,root,root,755) | |
1645 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf | |
1646 | %attr(755,root,root) %{_libdir}/%{name}/bind.so | |
1018cae1 TP |
1647 | %endif |
1648 | %endif | |
b8e7f76a | 1649 | |
a9b34e68 PG |
1650 | %files contextswitch |
1651 | %defattr(644,root,root,755) | |
1652 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf | |
1653 | %attr(755,root,root) %{_libdir}/%{name}/contextswitch.so | |
1654 | ||
d94da88b | 1655 | %files conntrack |
1656 | %defattr(644,root,root,755) | |
1657 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf | |
1658 | %attr(755,root,root) %{_libdir}/%{name}/conntrack.so | |
1659 | ||
5e965dc7 PG |
1660 | %files cpu |
1661 | %defattr(644,root,root,755) | |
1662 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf | |
1663 | %attr(755,root,root) %{_libdir}/%{name}/cpu.so | |
1664 | ||
1665 | %files cpufreq | |
1666 | %defattr(644,root,root,755) | |
1667 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf | |
1668 | %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so | |
1669 | ||
1670 | %files csv | |
1671 | %defattr(644,root,root,755) | |
1672 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf | |
1673 | %attr(755,root,root) %{_libdir}/%{name}/csv.so | |
1674 | ||
1018cae1 | 1675 | %if %{with curl} |
b8e7f76a | 1676 | %files curl |
61ccc70a | 1677 | %defattr(640,root,root,755) |
b8e7f76a PG |
1678 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf |
1679 | %attr(755,root,root) %{_libdir}/%{name}/curl.so | |
fa204bb4 CM |
1680 | %if %{with xml} |
1681 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf | |
1682 | %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so | |
1683 | %endif | |
854e23ef AF |
1684 | |
1685 | %files curl_json | |
1686 | %defattr(640,root,root,755) | |
1687 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf | |
1688 | %attr(755,root,root) %{_libdir}/%{name}/curl_json.so | |
1018cae1 | 1689 | %endif |
b8e7f76a PG |
1690 | |
1691 | %files dbi | |
61ccc70a | 1692 | %defattr(640,root,root,755) |
b8e7f76a PG |
1693 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf |
1694 | %attr(755,root,root) %{_libdir}/%{name}/dbi.so | |
1695 | ||
5e965dc7 PG |
1696 | %files df |
1697 | %defattr(644,root,root,755) | |
1698 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf | |
1699 | %attr(755,root,root) %{_libdir}/%{name}/df.so | |
1700 | ||
1701 | %files disk | |
1702 | %defattr(644,root,root,755) | |
1703 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf | |
1704 | %attr(755,root,root) %{_libdir}/%{name}/disk.so | |
5fafedfc | 1705 | |
7e70ab62 | 1706 | %if %{with dns} |
8bf13ddb PG |
1707 | %files dns |
1708 | %defattr(644,root,root,755) | |
711f12a6 | 1709 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf |
8bf13ddb | 1710 | %attr(755,root,root) %{_libdir}/%{name}/dns.so |
7e70ab62 | 1711 | %endif |
8bf13ddb | 1712 | |
5e965dc7 PG |
1713 | %files email |
1714 | %defattr(644,root,root,755) | |
1715 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf | |
1716 | %attr(755,root,root) %{_libdir}/%{name}/email.so | |
1717 | %{_mandir}/man5/collectd-email.5* | |
1718 | ||
1719 | %files entropy | |
1720 | %defattr(644,root,root,755) | |
1721 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf | |
1722 | %attr(755,root,root) %{_libdir}/%{name}/entropy.so | |
1723 | ||
cc6085e4 | 1724 | %files ethstat |
1725 | %defattr(644,root,root,755) | |
1726 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ethstat.conf | |
1727 | %attr(755,root,root) %{_libdir}/%{name}/ethstat.so | |
1728 | ||
5e965dc7 PG |
1729 | %files exec |
1730 | %defattr(644,root,root,755) | |
1731 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf | |
1732 | %attr(755,root,root) %{_libdir}/%{name}/exec.so | |
1733 | %{_mandir}/man5/collectd-exec.5* | |
1734 | ||
1735 | %files filecount | |
1736 | %defattr(644,root,root,755) | |
1737 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf | |
1738 | %attr(755,root,root) %{_libdir}/%{name}/filecount.so | |
1739 | ||
d94da88b | 1740 | %files fscache |
1741 | %defattr(644,root,root,755) | |
1742 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf | |
1743 | %attr(755,root,root) %{_libdir}/%{name}/fscache.so | |
1744 | ||
8bf13ddb PG |
1745 | %files hddtemp |
1746 | %defattr(644,root,root,755) | |
711f12a6 | 1747 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf |
8bf13ddb PG |
1748 | %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so |
1749 | ||
5e965dc7 PG |
1750 | %files interface |
1751 | %defattr(644,root,root,755) | |
1752 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf | |
1753 | %attr(755,root,root) %{_libdir}/%{name}/interface.so | |
1754 | ||
87ba198e | 1755 | %if %{with ipmi} |
1756 | %files ipmi | |
1757 | %defattr(644,root,root,755) | |
711f12a6 | 1758 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf |
87ba198e | 1759 | %attr(755,root,root) %{_libdir}/%{name}/ipmi.so |
1760 | %endif | |
1761 | ||
5e965dc7 PG |
1762 | %if %{with iptables} |
1763 | %files iptables | |
1764 | %defattr(644,root,root,755) | |
1765 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf | |
1766 | %attr(755,root,root) %{_libdir}/%{name}/iptables.so | |
1767 | %endif | |
1768 | ||
1769 | %files irq | |
1770 | %defattr(644,root,root,755) | |
1771 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf | |
1772 | %attr(755,root,root) %{_libdir}/%{name}/irq.so | |
1773 | ||
1eb8d64b | 1774 | %if %{with libvirt} |
7a3b7a2c AF |
1775 | %files libvirt |
1776 | %defattr(644,root,root,755) | |
633e4a51 AM |
1777 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/virt.conf |
1778 | %attr(755,root,root) %{_libdir}/%{name}/virt.so | |
1eb8d64b | 1779 | %endif |
7a3b7a2c | 1780 | |
5e965dc7 PG |
1781 | %files load |
1782 | %defattr(644,root,root,755) | |
1783 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf | |
1784 | %attr(755,root,root) %{_libdir}/%{name}/load.so | |
1785 | ||
1786 | %files logfile | |
1787 | %defattr(644,root,root,755) | |
1788 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf | |
1789 | %attr(755,root,root) %{_libdir}/%{name}/logfile.so | |
4929f1a7 | 1790 | %{_var}/log/collectd.log |
5e965dc7 | 1791 | |
a9b34e68 PG |
1792 | %files madwifi |
1793 | %defattr(644,root,root,755) | |
1794 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf | |
1795 | %attr(755,root,root) %{_libdir}/%{name}/madwifi.so | |
b5cac6d2 | 1796 | |
a9b34e68 PG |
1797 | %files match_empty_counter |
1798 | %defattr(644,root,root,755) | |
1799 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf | |
1800 | %attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so | |
1801 | ||
1802 | %files match_hashed | |
1803 | %defattr(644,root,root,755) | |
1804 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf | |
1805 | %attr(755,root,root) %{_libdir}/%{name}/match_hashed.so | |
1806 | ||
b8e7f76a PG |
1807 | %files match_regex |
1808 | %defattr(644,root,root,755) | |
1809 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf | |
1810 | %attr(755,root,root) %{_libdir}/%{name}/match_regex.so | |
1811 | ||
1812 | %files match_timediff | |
1813 | %defattr(644,root,root,755) | |
1814 | %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so | |
80d5b170 | 1815 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf |
b8e7f76a PG |
1816 | |
1817 | %files match_value | |
1818 | %defattr(644,root,root,755) | |
1819 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf | |
1820 | %attr(755,root,root) %{_libdir}/%{name}/match_value.so | |
1821 | ||
5e965dc7 PG |
1822 | %files mbmon |
1823 | %defattr(644,root,root,755) | |
1824 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf | |
1825 | %attr(755,root,root) %{_libdir}/%{name}/mbmon.so | |
1826 | ||
cc6085e4 | 1827 | %files md |
1828 | %defattr(644,root,root,755) | |
1829 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/md.conf | |
1830 | %attr(755,root,root) %{_libdir}/%{name}/md.so | |
1831 | ||
9987a2c5 PG |
1832 | %files memcachec |
1833 | %defattr(644,root,root,755) | |
1834 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf | |
1835 | %attr(755,root,root) %{_libdir}/%{name}/memcachec.so | |
1836 | ||
5e965dc7 PG |
1837 | %files memcached |
1838 | %defattr(644,root,root,755) | |
1839 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf | |
1840 | %attr(755,root,root) %{_libdir}/%{name}/memcached.so | |
1841 | ||
1842 | %files memory | |
1843 | %defattr(644,root,root,755) | |
1844 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf | |
1845 | %attr(755,root,root) %{_libdir}/%{name}/memory.so | |
1846 | ||
b46e10b6 | 1847 | %if %{with modbus} |
1848 | %files modbus | |
1849 | %defattr(644,root,root,755) | |
1850 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/modbus.conf | |
1851 | %attr(755,root,root) %{_libdir}/%{name}/modbus.so | |
1852 | %endif | |
1853 | ||
5e965dc7 PG |
1854 | %if %{with multimeter} |
1855 | %files multimeter | |
1856 | %defattr(644,root,root,755) | |
1857 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf | |
1858 | %attr(755,root,root) %{_libdir}/%{name}/multimeter.so | |
1859 | %endif | |
1860 | ||
1018cae1 | 1861 | %if %{with mysql} |
18e77dbc | 1862 | %files mysql |
61ccc70a | 1863 | %defattr(640,root,root,755) |
711f12a6 | 1864 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf |
18e77dbc | 1865 | %attr(755,root,root) %{_libdir}/%{name}/mysql.so |
1018cae1 | 1866 | %endif |
8bf13ddb | 1867 | |
5e965dc7 PG |
1868 | %if %{with netlink} |
1869 | %files netlink | |
1870 | %defattr(644,root,root,755) | |
1871 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf | |
1872 | %attr(755,root,root) %{_libdir}/%{name}/netlink.so | |
1873 | %endif | |
1874 | ||
1875 | %files network | |
1876 | %defattr(644,root,root,755) | |
1877 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf | |
1878 | %attr(755,root,root) %{_libdir}/%{name}/network.so | |
1879 | ||
1880 | %files nfs | |
1881 | %defattr(644,root,root,755) | |
1882 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf | |
1883 | %attr(755,root,root) %{_libdir}/%{name}/nfs.so | |
1884 | ||
1018cae1 | 1885 | %if %{with curl} |
8bf13ddb | 1886 | %files nginx |
61ccc70a | 1887 | %defattr(640,root,root,755) |
711f12a6 | 1888 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf |
8bf13ddb | 1889 | %attr(755,root,root) %{_libdir}/%{name}/nginx.so |
1018cae1 | 1890 | %endif |
8bf13ddb | 1891 | |
1018cae1 | 1892 | %if %{with notify} |
7be39ce7 | 1893 | %files notify_desktop |
1894 | %defattr(644,root,root,755) | |
711f12a6 | 1895 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf |
7be39ce7 | 1896 | %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so |
1018cae1 | 1897 | %endif |
7be39ce7 | 1898 | |
1018cae1 | 1899 | %if %{with libesmtp} |
b4b27e4a | 1900 | %files notify_email |
61ccc70a | 1901 | %defattr(640,root,root,755) |
711f12a6 | 1902 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf |
b4b27e4a | 1903 | %attr(755,root,root) %{_libdir}/%{name}/notify_email.so |
1018cae1 | 1904 | %endif |
b4b27e4a | 1905 | |
5e965dc7 PG |
1906 | %files ntpd |
1907 | %defattr(644,root,root,755) | |
1908 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf | |
1909 | %attr(755,root,root) %{_libdir}/%{name}/ntpd.so | |
1910 | ||
cc6085e4 | 1911 | %files numa |
1912 | %defattr(644,root,root,755) | |
1913 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/numa.conf | |
1914 | %attr(755,root,root) %{_libdir}/%{name}/numa.so | |
1915 | ||
1018cae1 | 1916 | %if %{with ups} |
b4b27e4a PG |
1917 | %files nut |
1918 | %defattr(644,root,root,755) | |
711f12a6 | 1919 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf |
b4b27e4a | 1920 | %attr(755,root,root) %{_libdir}/%{name}/nut.so |
1018cae1 | 1921 | %endif |
b4b27e4a | 1922 | |
a9b34e68 PG |
1923 | %files olsrd |
1924 | %defattr(644,root,root,755) | |
1925 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf | |
1926 | %attr(755,root,root) %{_libdir}/%{name}/olsrd.so | |
1927 | ||
b8e7f76a PG |
1928 | %files openvpn |
1929 | %defattr(644,root,root,755) | |
1930 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf | |
1931 | %attr(755,root,root) %{_libdir}/%{name}/openvpn.so | |
1932 | ||
854e23ef AF |
1933 | %files perl |
1934 | %defattr(644,root,root,755) | |
1935 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf | |
1936 | %attr(755,root,root) %{_libdir}/%{name}/perl.so | |
1937 | %{_mandir}/man5/collectd-perl.5* | |
1938 | ||
1018cae1 | 1939 | %if %{with ping} |
907cfb56 PG |
1940 | %files ping |
1941 | %defattr(644,root,root,755) | |
711f12a6 | 1942 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf |
907cfb56 | 1943 | %attr(755,root,root) %{_libdir}/%{name}/ping.so |
1018cae1 | 1944 | %endif |
907cfb56 | 1945 | |
b5cac6d2 | 1946 | %if %{with pgsql} |
b4b27e4a | 1947 | %files postgresql |
61ccc70a | 1948 | %defattr(640,root,root,755) |
711f12a6 | 1949 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf |
b4b27e4a | 1950 | %attr(755,root,root) %{_libdir}/%{name}/postgresql.so |
8a56fd06 | 1951 | %{_datadir}/%{name}/postgresql_default.conf |
1018cae1 | 1952 | %endif |
b4b27e4a | 1953 | |
4b6e34c7 | 1954 | %files powerdns |
1955 | %defattr(644,root,root,755) | |
711f12a6 | 1956 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf |
4b6e34c7 | 1957 | %attr(755,root,root) %{_libdir}/%{name}/powerdns.so |
1958 | ||
5e965dc7 PG |
1959 | %files processes |
1960 | %defattr(644,root,root,755) | |
1961 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf | |
1962 | %attr(755,root,root) %{_libdir}/%{name}/processes.so | |
1963 | ||
d94da88b | 1964 | %files protocols |
1965 | %defattr(644,root,root,755) | |
1966 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf | |
1967 | %attr(755,root,root) %{_libdir}/%{name}/protocols.so | |
1968 | ||
a9b34e68 PG |
1969 | %files python |
1970 | %defattr(644,root,root,755) | |
1971 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf | |
1972 | %attr(755,root,root) %{_libdir}/%{name}/python.so | |
1973 | %{_mandir}/man5/collectd-python.5* | |
1974 | ||
1018cae1 | 1975 | %if %{with rrd} |
854e23ef AF |
1976 | %files rrdcached |
1977 | %defattr(644,root,root,755) | |
1978 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf | |
1979 | %attr(755,root,root) %{_libdir}/%{name}/rrdcached.so | |
1980 | ||
8bf13ddb PG |
1981 | %files rrdtool |
1982 | %defattr(644,root,root,755) | |
711f12a6 | 1983 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf |
8bf13ddb | 1984 | %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so |
1018cae1 | 1985 | %endif |
8bf13ddb | 1986 | |
1018cae1 | 1987 | %if %{with sensors} |
8bf13ddb PG |
1988 | %files sensors |
1989 | %defattr(644,root,root,755) | |
711f12a6 | 1990 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf |
8bf13ddb | 1991 | %attr(755,root,root) %{_libdir}/%{name}/sensors.so |
1018cae1 | 1992 | %endif |
8bf13ddb | 1993 | |
5e965dc7 PG |
1994 | %files serial |
1995 | %defattr(644,root,root,755) | |
1996 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf | |
1997 | %attr(755,root,root) %{_libdir}/%{name}/serial.so | |
1998 | ||
1018cae1 | 1999 | %if %{with snmp} |
8bf13ddb PG |
2000 | %files snmp |
2001 | %defattr(644,root,root,755) | |
711f12a6 | 2002 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf |
8bf13ddb | 2003 | %attr(755,root,root) %{_libdir}/%{name}/snmp.so |
5e965dc7 | 2004 | %{_mandir}/man5/collectd-snmp.5* |
1018cae1 | 2005 | %endif |
5e965dc7 PG |
2006 | |
2007 | %files swap | |
2008 | %defattr(644,root,root,755) | |
2009 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf | |
2010 | %attr(755,root,root) %{_libdir}/%{name}/swap.so | |
2011 | ||
2012 | %files syslog | |
2013 | %defattr(644,root,root,755) | |
2014 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf | |
2015 | %attr(755,root,root) %{_libdir}/%{name}/syslog.so | |
2016 | ||
d94da88b | 2017 | %files table |
2018 | %defattr(644,root,root,755) | |
2019 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf | |
2020 | %attr(755,root,root) %{_libdir}/%{name}/table.so | |
2021 | ||
5e965dc7 PG |
2022 | %files tail |
2023 | %defattr(644,root,root,755) | |
2024 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf | |
2025 | %attr(755,root,root) %{_libdir}/%{name}/tail.so | |
2026 | ||
b8e7f76a PG |
2027 | %files target_notification |
2028 | %defattr(644,root,root,755) | |
2029 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf | |
2030 | %attr(755,root,root) %{_libdir}/%{name}/target_notification.so | |
2031 | ||
2032 | %files target_replace | |
2033 | %defattr(644,root,root,755) | |
2034 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf | |
2035 | %attr(755,root,root) %{_libdir}/%{name}/target_replace.so | |
2036 | ||
a9b34e68 PG |
2037 | %files target_scale |
2038 | %defattr(644,root,root,755) | |
2039 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf | |
2040 | %attr(755,root,root) %{_libdir}/%{name}/target_scale.so | |
2041 | ||
b8e7f76a PG |
2042 | %files target_set |
2043 | %defattr(644,root,root,755) | |
2044 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf | |
2045 | %attr(755,root,root) %{_libdir}/%{name}/target_set.so | |
2046 | ||
854e23ef AF |
2047 | %files target_v5upgrade |
2048 | %defattr(644,root,root,755) | |
2049 | %attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so | |
2050 | ||
5e965dc7 PG |
2051 | %files tcpconns |
2052 | %defattr(644,root,root,755) | |
2053 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf | |
2054 | %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so | |
2055 | ||
2056 | %files teamspeak2 | |
2057 | %defattr(644,root,root,755) | |
2058 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf | |
2059 | %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so | |
2060 | ||
d94da88b | 2061 | %files ted |
2062 | %defattr(644,root,root,755) | |
2063 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf | |
2064 | %attr(755,root,root) %{_libdir}/%{name}/ted.so | |
2065 | ||
5e965dc7 PG |
2066 | %files thermal |
2067 | %defattr(644,root,root,755) | |
2068 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf | |
2069 | %attr(755,root,root) %{_libdir}/%{name}/thermal.so | |
2070 | ||
854e23ef AF |
2071 | %files threshold |
2072 | %defattr(644,root,root,755) | |
2073 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf | |
2074 | %attr(755,root,root) %{_libdir}/%{name}/threshold.so | |
2075 | %{_mandir}/man5/collectd-threshold.5* | |
2076 | ||
5e965dc7 PG |
2077 | %files unixsock |
2078 | %defattr(644,root,root,755) | |
2079 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf | |
2080 | %attr(755,root,root) %{_libdir}/%{name}/unixsock.so | |
2081 | %{_mandir}/man5/collectd-unixsock.5* | |
2082 | ||
d94da88b | 2083 | %files uptime |
2084 | %defattr(644,root,root,755) | |
2085 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf | |
2086 | %attr(755,root,root) %{_libdir}/%{name}/uptime.so | |
2087 | ||
5e965dc7 PG |
2088 | %files users |
2089 | %defattr(644,root,root,755) | |
2090 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf | |
2091 | %attr(755,root,root) %{_libdir}/%{name}/users.so | |
8bf13ddb PG |
2092 | |
2093 | %files uuid | |
2094 | %defattr(644,root,root,755) | |
711f12a6 | 2095 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf |
8bf13ddb PG |
2096 | %attr(755,root,root) %{_libdir}/%{name}/uuid.so |
2097 | ||
59c04f42 | 2098 | %if %{with varnish} |
854e23ef AF |
2099 | %files varnish |
2100 | %defattr(644,root,root,755) | |
2101 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf | |
2102 | %attr(755,root,root) %{_libdir}/%{name}/varnish.so | |
59c04f42 | 2103 | %endif |
854e23ef | 2104 | |
5e965dc7 PG |
2105 | %files vmem |
2106 | %defattr(644,root,root,755) | |
2107 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf | |
2108 | %attr(755,root,root) %{_libdir}/%{name}/vmem.so | |
2109 | ||
2110 | %files vserver | |
2111 | %defattr(644,root,root,755) | |
2112 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf | |
2113 | %attr(755,root,root) %{_libdir}/%{name}/vserver.so | |
2114 | ||
2115 | %files wireless | |
2116 | %defattr(644,root,root,755) | |
2117 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf | |
2118 | %attr(755,root,root) %{_libdir}/%{name}/wireless.so | |
2119 | ||
cc6085e4 | 2120 | %files write_graphite |
2121 | %defattr(644,root,root,755) | |
2122 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_graphite.conf | |
2123 | %attr(755,root,root) %{_libdir}/%{name}/write_graphite.so | |
2124 | ||
a9b34e68 PG |
2125 | %files write_http |
2126 | %defattr(644,root,root,755) | |
2127 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf | |
2128 | %attr(755,root,root) %{_libdir}/%{name}/write_http.so | |
2129 | ||
1018cae1 | 2130 | %if %{with xmms} |
8bf13ddb PG |
2131 | %files xmms |
2132 | %defattr(644,root,root,755) | |
711f12a6 | 2133 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf |
8bf13ddb | 2134 | %attr(755,root,root) %{_libdir}/%{name}/xmms.so |
1018cae1 | 2135 | %endif |
f26b05df | 2136 | |
2137 | %files -n perl-Collectd | |
2138 | %defattr(644,root,root,755) | |
2139 | %{perl_vendorlib}/Collectd.pm | |
2140 | %{perl_vendorlib}/Collectd | |
f6678d00 | 2141 | %{_mandir}/man3/*.3* |