]> git.pld-linux.org Git - packages/collectd.git/blame - collectd.spec
- hddtemp plugin S: hddtemp-hddtempd
[packages/collectd.git] / collectd.spec
CommitLineData
373d486f 1# TODO:
373d486f 2# - package contrib scripts as %doc
bed4848f
PG
3# - perl modules with Collectd classes package to separate package
4# - Disabled modules:
95c10a4d 5# apple_sensors . . . no (obvious)
95c10a4d 6# ipvs . . . . . . . no (ip_vs.h not found - llh to be fixed)
95c10a4d 7# libvirt . . . . . . no (requires library)
bed4848f 8# multimeter . . . . no ?
5e965dc7 9# onewire . . . . . . no (needs libowfs)
95c10a4d 10# perl . . . . . . . no (needs libperl)
95c10a4d 11# tape . . . . . . . no ?
4929f1a7 12# - logrotate file for logfile plugin
30751942 13# - %desc -l pl for plugins
34fc103e
JB
14#
15# Conditional build:
16%bcond_without dns # ???
17%bcond_without ipmi # ipmi plugin package
18%bcond_without iptables # iptables plugin
19%bcond_with multimeter # multimeter plugin
20%bcond_without netlink # netlink plugin
21#
4b6e34c7 22#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
23%ifarch %{x8664}
24%undefine with_iptables
25%undefine with_netlink
26%endif
7df111b4 27Summary: Collects system information in RRD files
322f1351 28Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
373d486f 29Name: collectd
aedbf1de 30Version: 4.5.1
73f73519 31Release: 3
373d486f 32License: GPL v2
81857fc6 33Group: Daemons
f6984413 34Source0: http://collectd.org/files/%{name}-%{version}.tar.gz
aedbf1de 35# Source0-md5: ab900d15662859b8793abf99eda15c29
f6984413 36Source1: %{name}.conf
ec8f9a12 37Source2: %{name}.init
96376a8d 38Source3: %{name}-http.conf
cdf53ab5 39Source4: %{name}-lighttpd.conf
4929f1a7
PG
40Source10: %{name}-df.conf
41Source11: %{name}-rrdtool.conf
cdf53ab5 42Patch0: %{name}-collection.patch
f6984413 43URL: http://collectd.org/
aedbf1de 44%{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
373d486f
AF
45BuildRequires: autoconf
46BuildRequires: automake
762d0c28 47BuildRequires: curl-devel
13d220ef 48%{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
0b998ec1 49BuildRequires: libesmtp-devel
e105712e 50BuildRequires: libnetlink-devel
0b998ec1 51BuildRequires: libnotify-devel
907cfb56 52BuildRequires: liboping-devel
762d0c28 53BuildRequires: libpcap-devel
8bf13ddb 54BuildRequires: libstatgrab-devel >= 0.12
373d486f 55BuildRequires: libtool
3a1b5393 56BuildRequires: lm_sensors-devel
762d0c28 57BuildRequires: mysql-devel
87ba198e 58BuildRequires: nut-devel
18e77dbc 59BuildRequires: perl-devel
c7024cdb 60BuildRequires: rpmbuild(macros) >= 1.268
762d0c28 61BuildRequires: rrdtool-devel
4b6e34c7 62BuildRequires: net-snmp-devel
8bf13ddb 63BuildRequires: xmms-devel
7df111b4 64Requires(post,preun): /sbin/chkconfig
c7024cdb 65Requires: rc-scripts
373d486f
AF
66BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67
30751942
TP
68%define _pkglibdir %{_sharedstatedir}/%{name}
69%define _webapps /etc/webapps
70%define _webapp %{name}
71%define _webappdir %{_webapps}/%{_webapp}
72%define _appdir %{_datadir}/%{_webapp}
9259a6ab 73
373d486f 74%description
7df111b4
JB
75collectd is a small daemon which collects system information every 10
76seconds and writes the results in an RRD-file.
77
78In contrast to most similar software, collectd is not a script but
79written in plain C for performance and portability. As a daemon it
80stays in memory, so there is no need to start up a heavy interpreter
81every time new values should be logged. This allows collectd to have a
8210 second resolution while being nice to the system.
83
19cbcad3 84%description -l pl.UTF-8
c7024cdb
ER
85collectd to mały demon zbierający co 10 sekund informacje o systemie i
86zapisujący wyniki do pliku RRD.
373d486f 87
19cbcad3
JR
88W odróżnieniu od innych podobnych programów collectd nie jest
89skryptem, lecz jest napisany w czystym C z myślą o wydajności i
90przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
c7024cdb
ER
91urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
92zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
93sekund i nie obciążać zbytnio systemu.
373d486f 94
18e77dbc 95%package apache
273ffc81
JB
96Summary: apache-plugin for collectd
97Summary(pl_PL.UTF-8): Wtyczka apache dla collectd
18e77dbc 98Group: Daemons
273ffc81 99Requires: %{name} = %{version}-%{release}
18e77dbc 100
101%description apache
102This plugin collectd data provided by Apache's `mod_status'.
103
104%description apache -l pl.UTF-8
273ffc81
JB
105Wtyczka collectd zbierająca informacje udostępniane przez moduł
106'mod_status' Apacha.
18e77dbc 107
5e965dc7
PG
108%package apcups
109Summary: APC UPS plugin for collectd
110Summary(pl_PL.UTF-8): Wtyczka APC UPS dla collectd
111Group: Daemons
112Requires: %{name} = %{version}-%{release}
113
114%description apcups
115APC UPS plugin for collectd.
116
117%package ascent
118Summary: ascent-plugin for collectd
119Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd
120Group: Daemons
121Requires: %{name} = %{version}-%{release}
122
123%description ascent
124ascent plugin for collectd.
125
126%package battery
127Summary: battery plugin for collectd
128Summary(pl_PL.UTF-8): Wtyczka battery dla collectd
129Group: Daemons
130Requires: %{name} = %{version}-%{release}
131
132%description battery
133This plugin collects the battery's charge, the drawn current and the
134battery's voltage.
135
133ab397 136%package collection
30751942
TP
137Summary: Web script for collectd
138Summary(pl_PL.UTF-8): Web script for collectd
5fafedfc 139Group: Applications/WWW
140Requires: %{name} = %{version}-%{release}
cdf53ab5
PG
141Requires: perl(CGI)
142Requires: perl(Data::Dumper)
143Requires: perl(HTML::Entities)
144Requires: perl(RRDs)
145Requires: perl(URI::Escape)
146Requires: webserver(cgi)
16598688 147Suggests: fonts-TTF-DejaVu
5fafedfc 148
133ab397 149%description collection
30751942 150Web script for collectd.
5fafedfc 151
5e965dc7
PG
152%package cpu
153Summary: cpu-plugin for collectd
154Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd
155Group: Daemons
156Requires: %{name} = %{version}-%{release}
157
158%description cpu
159The cpu-plugin collects the amount of time spent by the CPU in various states,
160most notably executing user code, executing system code, waiting for IO
161operations and being idle.
162
163%package cpufreq
164Summary: cpufreq-plugin for collectd
165Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd
166Group: Daemons
167Requires: %{name} = %{version}-%{release}
168
169%description cpufreq
170Collects the current CPU's frequency, mostly for mobile computers.
171
172%package csv
173Summary: CSV output plugin for collectd
174Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd
175Group: Daemons
176Requires: %{name} = %{version}-%{release}
177
178%description csv
179CSV output plugin for collectd.
180
181%package df
182Summary: df-plugin for collectd
183Summary(pl_PL.UTF-8): Wtyczka df dla collectd
184Group: Daemons
185Requires: %{name} = %{version}-%{release}
186
187%description df
188The df-plugin collects file system usage information, i. e. basically how
189much space on a mounted partition is used and how much is available. It's
190named after and very similar to the df(1) UNIX command that's been around
191forever.
192
193%package disk
194Summary: disk-plugin for collectd
195Summary(pl_PL.UTF-8): Wtyczka disk dla collectd
196Group: Daemons
197Requires: %{name} = %{version}-%{release}
198
199%description disk
200This plugin collects performance statistics of harddisks and, where
201supported, partitions.
202
8bf13ddb
PG
203%package dns
204Summary: dns-plugin for collectd
205Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
206Group: Daemons
207Requires: %{name} = %{version}-%{release}
3a1b5393 208Requires: perl-rrdtool
ef79d9ea 209
8bf13ddb 210%description dns
5e965dc7
PG
211This plugin has a similar functionality to dnstop: It uses libpcap to get
212a copy of all traffic from/to port UDP/53 (that's the DNS port), interprets
213the packets and collects statistics of your DNS traffic.
214
215%package email
216Summary: email-plugin for collectd
217Summary(pl_PL.UTF-8): Wtyczka email dla collectd
218Group: Daemons
219Requires: %{name} = %{version}-%{release}
220
221%description email
222The email plugin opens an UNIX-socket over which one can submit email
223statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. mails
224received/handled, spam scores and matched spam checks.
225
226This plugin is intended to be used with the the
227Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which is
228included in contrib/, but is of course not limited to that use.
229
230%package entropy
231Summary: entropy-plugin for collectd
232Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd
233Group: Daemons
234Requires: %{name} = %{version}-%{release}
235
236%description entropy
237entropy plugin for collectd.
238
239%package exec
240Summary: exec-plugin for collectd
241Summary(pl_PL.UTF-8): Wtyczka exec dla collectd
242Group: Daemons
243Requires: %{name} = %{version}-%{release}
244
245%description exec
246The exec plugin forks of an executable either to receive values or to
247dispatch notifications to the outside world.
248
249%package filecount
250Summary: filecount-plugin for collectd
251Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd
252Group: Daemons
253Requires: %{name} = %{version}-%{release}
254
255%description filecount
256The filecount-plugin does something very simple: Count the number of files
257in a directory and all its subdirectories. This can be used for a variety of
258statistics, for example the queue length of an MTA, the number of PHP
259sessions of a web server or simply the number of files in your home
260directory.
8bf13ddb
PG
261
262%package hddtemp
263Summary: hddtemp-plugin for collectd
264Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
265Group: Daemons
266Requires: %{name} = %{version}-%{release}
b73c1be9 267Suggests: hddtemp-hddtempd
8bf13ddb
PG
268
269%description hddtemp
5e965dc7
PG
270Temperature of harddisks. The temperatures are provided via S.M.A.R.T. and
271queried by the external hddtemp-daemon.
272
273%package interface
274Summary: interface-plugin for collectd
275Summary(pl_PL.UTF-8): Wtyczka interface dla collectd
276Group: Daemons
277Requires: %{name} = %{version}-%{release}
278
279%description interface
280The interface-plugin collects information about the traffic (octets), packets
281and errors of interfaces.
282
283%package iptables
284Summary: iptables-plugin for collectd
285Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd
286Group: Daemons
287Requires: %{name} = %{version}-%{release}
288
289%description iptables
290With this plugin you can gather statistics from your ip_tables based
291packetfilter (aka. firewall). It can collect the byte- and packet-counters
292of selected rules and submit them to collectd. You can select rules that
293should be collected wither by its position (e.g. "the fourth rule in the
294INPUT queue in the filter table") or by its comment (using the COMMENT
295match). This means that depending on your firewall layout you can collect
296certain services (such as the amount of web-traffic), source or destination
297hosts or networks, dropped packets and much more.
8bf13ddb 298
87ba198e 299%package ipmi
300Summary: ipmi-plugin for collectd
301Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
302Group: Daemons
303Requires: %{name} = %{version}-%{release}
304
305%description ipmi
306ipmi plugin for collectd.
307
34fc103e
JB
308%description ipmi -l pl.UTF-8
309Wtyczka ipmi dla collectd.
310
5e965dc7
PG
311%package irq
312Summary: IRQs-plugin for collectd
313Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd
314Group: Daemons
315Requires: %{name} = %{version}-%{release}
316
317%description irq
318IRQs plugin for collectd.
319
320%package load
321Summary: load-plugin for collectd
322Summary(pl_PL.UTF-8): Wtyczka load dla collectd
323Group: Daemons
324Requires: %{name} = %{version}-%{release}
325
326%description load
327Collects the system load. These numbers give a rough overview over the
328utilization of a machine, though their meaning is mostly overrated.
329
330%package logfile
331Summary: logfile-plugin for collectd
332Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd
333Group: Daemons
334Requires: %{name} = %{version}-%{release}
335
336%description logfile
337Logfile plugin for collectd.
338
339%module_scripts mbmon
340%package mbmon
341Summary: mbmon-plugin for collectd
342Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd
343Group: Daemons
344Requires: %{name} = %{version}-%{release}
345
346%description mbmon
347The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
348
349%package memcached
350Summary: memcached-plugin for collectd
351Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd
352Group: Daemons
353Requires: %{name} = %{version}-%{release}
354
355%description memcached
356The memcached plugin connects to a memcached daemon and collects the number
357of connections and requests handled by the daemon, the CPU resources consumed,
358number of items cached, number of threads, and bytes sent and received.
359
360%package memory
361Summary: memory-plugin for collectd
362Summary(pl_PL.UTF-8): Wtyczka memory dla collectd
363Group: Daemons
364Requires: %{name} = %{version}-%{release}
365
366%description memory
367Collects physical memory utilization for collectd.
368
369%package multimeter
370Summary: multimeter-plugin for collectd
371Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd
372Group: Daemons
373Requires: %{name} = %{version}-%{release}
374
375%description multimeter
376Multimeter plugin for collectd.
377
18e77dbc 378%package mysql
273ffc81
JB
379Summary: mysql-plugin for collectd
380Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
18e77dbc 381Group: Daemons
273ffc81 382Requires: %{name} = %{version}-%{release}
18e77dbc 383
384%description mysql
273ffc81 385MySQL querying plugin. This plugins provides data of issued commands,
18e77dbc 386called handlers and database traffic.
387
388%description mysql -l pl.UTF-8
273ffc81
JB
389Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
390poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
18e77dbc 391
5e965dc7
PG
392%package netlink
393Summary: netlink-plugin for collectd
394Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd
395Group: Daemons
396Requires: %{name} = %{version}-%{release}
397
398%description netlink
399This plugin will open a netlink socket to the Linux kernel and use it to get
400statistics for interfaces, qdiscs, classes, and, if you can make use of it,
401filters. Since in most setups many of the statistics this plugin can collect
402aren't of interest, you can select which information to gather using the
403configuration.
404
405%package network
406Summary: network-plugin for collectd
407Summary(pl_PL.UTF-8): Wtyczka network dla collectd
408Group: Daemons
409Requires: %{name} = %{version}-%{release}
410
411%description network
412nginx plugin for collectd.
413
414%package nfs
415Summary: NFS-plugin for collectd
416Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd
417Group: Daemons
418Requires: %{name} = %{version}-%{release}
419
420%description nfs
421The nfs plugin counts the number of procedure calls of the different NFS
422procedures.
423
8bf13ddb
PG
424%package nginx
425Summary: nginx-plugin for collectd
426Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
427Group: Daemons
428Requires: %{name} = %{version}-%{release}
429
430%description nginx
5e965dc7
PG
431This plugin collects the number of connections and requests handled by the
432nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
433the ngx_http_stub_status_module module, which isn't compiled by default.
8bf13ddb 434
7be39ce7 435%package notify_desktop
436Summary: notify_desktop for collectd
437Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
438Group: Daemons
439Requires: %{name} = %{version}-%{release}
440
441%description notify_desktop
5e965dc7
PG
442This plugin sends a desktop notification to a notification daemon, as
443defined in the Desktop Notification Specification. To actually display the
444notifications, notification-daemon is required and collectd has to be able
445to access the X server.
7be39ce7 446
b4b27e4a 447%package notify_email
5e965dc7 448Summary: notify_email-plugin for collectd
b4b27e4a
PG
449Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
450Group: Daemons
451Requires: %{name} = %{version}-%{release}
452
453%description notify_email
454notify_email plugin for collectd.
455
5e965dc7
PG
456%package ntpd
457Summary: ntpd-plugin for collectd
458Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd
459Group: Daemons
460Requires: %{name} = %{version}-%{release}
461
462%description ntpd
463NTPd plugin for collectd.
464
b4b27e4a
PG
465%package nut
466Summary: nut-plugin for collectd
467Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
468Group: Daemons
469Requires: %{name} = %{version}-%{release}
470
471%description nut
5e965dc7
PG
472UPS statistics using the Network UPS Tools. These statistics include
473basically everything NUT will give us, including voltages, currents, power,
474frequencies, load, and temperatures.
b4b27e4a 475
907cfb56
PG
476%package ping
477Summary: ping-plugin for collectd
478Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
479Group: Daemons
480Requires: %{name} = %{version}-%{release}
481
482%description ping
5e965dc7
PG
483The network latency is measured as a roundtrip time. An ICMP-echo-request
484(aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
485"pong") to arrive is measured. If a reply is not received within one second
486the plugin will no longer expect a reply and return. This may happen in
487several circumstances, e. g. the packet is lost, the host is down, a router
488has dismissed the packet, etc.
907cfb56 489
b4b27e4a
PG
490%package postgresql
491Summary: mysql-plugin for collectd
492Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
493Group: Daemons
494Requires: %{name} = %{version}-%{release}
495
496%description postgresql
5e965dc7
PG
497The postgresql plugin queries statistics from PostgreSQL databases. It keeps
498a persistent connection to all configured databases and tries to reconnect
499if the connection has been interrupted.
b4b27e4a 500
4b6e34c7 501%package powerdns
502Summary: powerdns-plugin for collectd
503Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
504Group: Daemons
505Requires: %{name} = %{version}-%{release}
506
507%description powerdns
5e965dc7
PG
508The powerdns plugin queries statistics from an authoritative PowerDNS
509nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
510values, many of which are probably meaningless to most users, but may be
511useful for some.
512
513%package processes
514Summary: processes-plugin for collectd
515Summary(pl_PL.UTF-8): Wtyczka processes dla collectd
516Group: Daemons
517Requires: %{name} = %{version}-%{release}
518
519%description processes
520This plugin collects the number of processes, grouped by their state (e.g.
521running, sleeping, zombies, etc.). In addition to that, it can select
522detailed statistics about selected processes, grouped by name.
4b6e34c7 523
8bf13ddb
PG
524%package rrdtool
525Summary: rrdtool-plugin for collectd
526Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
527Group: Daemons
528Requires: %{name} = %{version}-%{release}
529Requires: rrdtool
530
531%description rrdtool
532RRDTOOL plugin for collectd.
533
534%package sensors
535Summary: sensors-plugin for collectd
536Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
537Group: Daemons
538Requires: %{name} = %{version}-%{release}
539
540%description sensors
5e965dc7
PG
541This plugin uses lm-sensors to read hardware sensors. You will need to
542configure lm-sensors before this plugin will collect any usefull and correct
543data.
544
545%module_scripts serial
546%package serial
547Summary: serial-plugin for collectd
548Summary(pl_PL.UTF-8): Wtyczka serial dla collectd
549Group: Daemons
550Requires: %{name} = %{version}-%{release}
551
552%description serial
553Serial plugin for collectd.
8bf13ddb
PG
554
555%package snmp
556Summary: snmp-plugin for collectd
557Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
558Group: Daemons
559Requires: %{name} = %{version}-%{release}
560
561%description snmp
5e965dc7
PG
562The snmp plugin queries other hosts using SNMP, the Simple Network
563Management Protocol, and translates the value it receives to collectd's
564internal format and dispatches them. Depending on the write plugins you have
565loaded they may be written to disk or submitted to another instance or
566whatever you configured.
567
568%package swap
569Summary: swap-plugin for collectd
570Summary(pl_PL.UTF-8): Wtyczka swap dla collectd
571Group: Daemons
572Requires: %{name} = %{version}-%{release}
573
574%description swap
575Swap space plugin for collectd.
576
577%package syslog
578Summary: syslog-plugin for collectd
579Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd
580Group: Daemons
581Requires: %{name} = %{version}-%{release}
582
583%description syslog
584Syslog plugin for collectd.
585
586%package tail
587Summary: tail-plugin for collectd
588Summary(pl_PL.UTF-8): Wtyczka tail dla collectd
589Group: Daemons
590Requires: %{name} = %{version}-%{release}
591
592%description tail
593The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
594does. Each line is given to one or more "matches" which test if the line is
595relevant for any statistics using a regular expression.
596
597%package tcpconns
598Summary: tcpconns-plugin for collectd
599Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd
600Group: Daemons
601Requires: %{name} = %{version}-%{release}
602
603%description tcpconns
604The tcpconns-plugin counts the number of TCP connections to or from a
605specified port. Typically the connectioins where you specify the local port
606are incoming connections while the connections where you specify the remote
607port are outgoing connections.
608
609%package teamspeak2
610Summary: teamspeak2-plugin for collectd
611Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd
612Group: Daemons
613Requires: %{name} = %{version}-%{release}
614
615%description teamspeak2
616The teamspeak2 plugin connects to the query port of a teamspeak2 server and
617polls interesting global and virtual server data. The plugin can query only
618one physical server but unlimited virtual servers.
619
620%package thermal
621Summary: thermal-plugin for collectd
622Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd
623Group: Daemons
624Requires: %{name} = %{version}-%{release}
625
626%description thermal
627Thermal plugin for collectd.
628
629%package unixsock
630Summary: unixsock-plugin for collectd
631Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd
632Group: Daemons
633Requires: %{name} = %{version}-%{release}
634
635%description unixsock
636The unixsock plugin opens an UNIX-socket over which one can interact with
637the daemon. This can be used to use the values collected by collectd in
638other applications, such as monitoring, or submit externally collected
639values to collectd.
640
641%package users
642Summary: users-plugin for collectd
643Summary(pl_PL.UTF-8): Wtyczka users dla collectd
644Group: Daemons
645Requires: %{name} = %{version}-%{release}
646
647%description users
648Number of users currently logged in.
8bf13ddb
PG
649
650%package uuid
651Summary: uuid-plugin for collectd
652Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
653Group: Daemons
654Requires: %{name} = %{version}-%{release}
655
656%description uuid
5e965dc7
PG
657This plugin, if loaded, causes the Hostname to be taken from the machine's
658UUID. The UUID is a universally unique designation for the machine, usually
659taken from the machine's BIOS. This is most useful if the machine is
660running in a virtual environment such as Xen, in which case the UUID is
661preserved across shutdowns and migration.
662
663%package vmem
664Summary: vmem-plugin for collectd
665Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd
666Group: Daemons
667Requires: %{name} = %{version}-%{release}
668
669%description vmem
670The vmem plugin collects information about the usage of virtual memory.
671Since the statistics provided by the Linux kernel are very detailed, they
672are collected very detailed.
673
674%package vserver
675Summary: vserver-plugin for collectd
676Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd
677Group: Daemons
678Requires: %{name} = %{version}-%{release}
679
680%description vserver
681Collects information about the virtual servers running on a system, using
682Linux-Vserver.
683
684%package wireless
685Summary: wireless-plugin for collectd
686Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd
687Group: Daemons
688Requires: %{name} = %{version}-%{release}
689
690%description wireless
691Wireless plugin for collectd.
8bf13ddb
PG
692
693%package xmms
694Summary: xmms-plugin for collectd
695Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
696Group: Daemons
697Requires: %{name} = %{version}-%{release}
8bf13ddb
PG
698
699%description xmms
700This plugin collectd data provided by XMMS.
701
373d486f
AF
702%prep
703%setup -q
cdf53ab5 704%patch0 -p1
526f2b1b 705
373d486f
AF
706%build
707%{__libtoolize}
708%{__aclocal}
709%{__autoconf}
710%{__autoheader}
711%{__automake}
4b6e34c7 712
373d486f
AF
713%configure \
714 --with-libstatgrab=/usr \
715 --with-lm-sensors=/usr \
4b6e34c7 716 --with-libmysql=/usr \
34fc103e
JB
717 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
718 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
719 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
720 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
95c10a4d 721 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
aedbf1de
PG
722 --disable-ipvs \
723 --disable-libvirt \
724 --disable-perl
4b6e34c7 725
726
87ba198e 727%{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
728 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
729 BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
373d486f
AF
730
731%install
732rm -rf $RPM_BUILD_ROOT
711f12a6 733install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
96376a8d 734 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
373d486f
AF
735
736%{__make} install \
737 DESTDIR=$RPM_BUILD_ROOT
81857fc6 738
e105712e 739touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
ff0d0ea0 740install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
373d486f 741
96376a8d
PG
742# Web frontend:
743install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
744install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
745install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
746install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
cdf53ab5 747install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
96376a8d 748
711f12a6 749### Configs instalation ###
cbe0cde9 750for i in `egrep "^LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
751 egrep "LoadPlugin $i$" src/collectd.conf > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
4929f1a7 752 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
cbe0cde9 753done
754
711f12a6
PG
755# Example config in sources: src/collectd.conf
756install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
4929f1a7
PG
757
758# Overwrite only files which we want to change:
759install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
760install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
711f12a6 761
96376a8d
PG
762# Cleanups:
763rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
764
373d486f
AF
765%clean
766rm -rf $RPM_BUILD_ROOT
767
81857fc6 768%post
373d486f
AF
769/sbin/chkconfig --add %{name}
770%service %{name} restart
771
81857fc6 772%preun
373d486f
AF
773if [ "$1" = "0" ]; then
774 %service -q %{name} stop
775 /sbin/chkconfig --del %{name}
776fi
777
bed4848f
PG
778%define module_scripts() \
779%post %1 \
780%service %{name} restart \
781\
782%postun %1 \
783%service %{name} restart
784
bed4848f 785%module_scripts apache
5e965dc7
PG
786%module_scripts apcups
787%module_scripts ascent
788%module_scripts battery
789%module_scripts cpufreq
790%module_scripts cpu
791%module_scripts csv
792%module_scripts df
793%module_scripts disk
794%{?with_dns:%module_scripts dns}
795%module_scripts email
796%module_scripts entropy
797%module_scripts exec
798%module_scripts filecount
bed4848f 799%module_scripts hddtemp
5e965dc7
PG
800%module_scripts interface
801%{?with_ipmi:%module_scripts ipmi}
802%{?with_iptables:%module_scripts iptables}
803%module_scripts irq
804%module_scripts load
805%module_scripts logfile
806%module_scripts mbmon
807%module_scripts memcached
808%module_scripts memory
809%{?with_multimeter:%module_scripts multimeter}
bed4848f 810%module_scripts mysql
5e965dc7
PG
811%{?with_netlink:%module_scripts netlink}
812%module_scripts network
813%module_scripts nfs
bed4848f
PG
814%module_scripts nginx
815%module_scripts notify_desktop
816%module_scripts notify_email
5e965dc7 817%module_scripts ntpd
bed4848f
PG
818%module_scripts nut
819%module_scripts ping
820%module_scripts postgresql
821%module_scripts powerdns
5e965dc7 822%module_scripts processes
bed4848f
PG
823%module_scripts rrdtool
824%module_scripts sensors
5e965dc7 825%module_scripts serial
bed4848f 826%module_scripts snmp
5e965dc7
PG
827%module_scripts swap
828%module_scripts syslog
829%module_scripts tail
830%module_scripts tcpconns
831%module_scripts teamspeak2
832%module_scripts thermal
833%module_scripts unixsock
834%module_scripts users
bed4848f 835%module_scripts uuid
5e965dc7
PG
836%module_scripts vmem
837%module_scripts vserver
838%module_scripts wireless
bed4848f
PG
839%module_scripts xmms
840
96376a8d
PG
841%triggerin collection -- apache1 < 1.3.37-3, apache1-base
842%webapp_register apache %{_webapp}
843
844%triggerun collection -- apache1 < 1.3.37-3, apache1-base
845%webapp_unregister apache %{_webapp}
846
847%triggerin collection -- apache < 2.2.0, apache-base
848%webapp_register httpd %{_webapp}
849
850%triggerun collection -- apache < 2.2.0, apache-base
851%webapp_unregister httpd %{_webapp}
852
73f73519 853%triggerin collection -- lighttpd
cdf53ab5
PG
854%webapp_register lighttpd %{_webapp}
855
73f73519 856%triggerun collection -- lighttpd
cdf53ab5
PG
857%webapp_unregister lighttpd %{_webapp}
858
373d486f
AF
859%files
860%defattr(644,root,root,755)
e105712e 861%doc AUTHORS ChangeLog README TODO contrib
25bc0190
PG
862%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
863%dir %{_sysconfdir}/%{name}.d
373d486f 864%attr(755,root,root) %{_sbindir}/collectd
e105712e 865%attr(755,root,root) %{_sbindir}/collectdmon
18e77dbc 866%attr(755,root,root) %{_bindir}/collectd-nagios
373d486f 867%dir %{_libdir}/%{name}
e6f53b24 868%{_libdir}/%{name}/types.db
ff0d0ea0 869%attr(754,root,root) /etc/rc.d/init.d/%{name}
373d486f 870%{_mandir}/man1/collectd.1*
18e77dbc 871%{_mandir}/man1/collectd-nagios.1*
373d486f 872%{_mandir}/man5/collectd.conf.5*
18e77dbc 873%{_mandir}/man5/collectd-perl.5*
e105712e 874%{_mandir}/man1/collectdmon.1*
875%{_mandir}/man5/types.db.5*
e105712e 876%dir %{_var}/lib/%{name}
877
5e965dc7
PG
878%files collection
879%defattr(644,root,root,755)
880%dir %{_webappdir}
881%config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
882%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
883%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
cdf53ab5 884%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
5e965dc7
PG
885%dir %{_appdir}
886%dir %{_appdir}/cgi-bin
887%attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
888
8bf13ddb 889########## PLUGINS:
5e965dc7
PG
890%files apcups
891%defattr(644,root,root,755)
892%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
893%attr(755,root,root) %{_libdir}/%{name}/apcups.so
894
8bf13ddb
PG
895%files ascent
896%defattr(644,root,root,755)
711f12a6 897%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
8bf13ddb 898%attr(755,root,root) %{_libdir}/%{name}/ascent.so
18e77dbc 899
900%files apache
901%defattr(644,root,root,755)
711f12a6 902%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
18e77dbc 903%attr(755,root,root) %{_libdir}/%{name}/apache.so
904
5e965dc7 905%files battery
5fafedfc 906%defattr(644,root,root,755)
5e965dc7
PG
907%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
908%attr(755,root,root) %{_libdir}/%{name}/battery.so
909
910%files cpu
911%defattr(644,root,root,755)
912%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
913%attr(755,root,root) %{_libdir}/%{name}/cpu.so
914
915%files cpufreq
916%defattr(644,root,root,755)
917%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
918%attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
919
920%files csv
921%defattr(644,root,root,755)
922%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
923%attr(755,root,root) %{_libdir}/%{name}/csv.so
924
925%files df
926%defattr(644,root,root,755)
927%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
928%attr(755,root,root) %{_libdir}/%{name}/df.so
929
930%files disk
931%defattr(644,root,root,755)
932%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
933%attr(755,root,root) %{_libdir}/%{name}/disk.so
5fafedfc 934
8bf13ddb
PG
935%files dns
936%defattr(644,root,root,755)
711f12a6 937%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
8bf13ddb
PG
938%attr(755,root,root) %{_libdir}/%{name}/dns.so
939
5e965dc7
PG
940%files email
941%defattr(644,root,root,755)
942%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
943%attr(755,root,root) %{_libdir}/%{name}/email.so
944%{_mandir}/man5/collectd-email.5*
945
946%files entropy
947%defattr(644,root,root,755)
948%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
949%attr(755,root,root) %{_libdir}/%{name}/entropy.so
950
951%files exec
952%defattr(644,root,root,755)
953%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
954%attr(755,root,root) %{_libdir}/%{name}/exec.so
955%{_mandir}/man5/collectd-exec.5*
956
957%files filecount
958%defattr(644,root,root,755)
959%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
960%attr(755,root,root) %{_libdir}/%{name}/filecount.so
961
8bf13ddb
PG
962%files hddtemp
963%defattr(644,root,root,755)
711f12a6 964%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
8bf13ddb
PG
965%attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
966
5e965dc7
PG
967%files interface
968%defattr(644,root,root,755)
969%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
970%attr(755,root,root) %{_libdir}/%{name}/interface.so
971
87ba198e 972%if %{with ipmi}
973%files ipmi
974%defattr(644,root,root,755)
711f12a6 975%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
87ba198e 976%attr(755,root,root) %{_libdir}/%{name}/ipmi.so
977%endif
978
5e965dc7
PG
979%if %{with iptables}
980%files iptables
981%defattr(644,root,root,755)
982%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
983%attr(755,root,root) %{_libdir}/%{name}/iptables.so
984%endif
985
986%files irq
987%defattr(644,root,root,755)
988%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
989%attr(755,root,root) %{_libdir}/%{name}/irq.so
990
991%files load
992%defattr(644,root,root,755)
993%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
994%attr(755,root,root) %{_libdir}/%{name}/load.so
995
996%files logfile
997%defattr(644,root,root,755)
998%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
999%attr(755,root,root) %{_libdir}/%{name}/logfile.so
4929f1a7 1000%{_var}/log/collectd.log
5e965dc7
PG
1001
1002%files mbmon
1003%defattr(644,root,root,755)
1004%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1005%attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1006
1007%files memcached
1008%defattr(644,root,root,755)
1009%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1010%attr(755,root,root) %{_libdir}/%{name}/memcached.so
1011
1012%files memory
1013%defattr(644,root,root,755)
1014%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1015%attr(755,root,root) %{_libdir}/%{name}/memory.so
1016
1017%if %{with multimeter}
1018%files multimeter
1019%defattr(644,root,root,755)
1020%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1021%attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1022%endif
1023
18e77dbc 1024%files mysql
1025%defattr(644,root,root,755)
711f12a6 1026%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
18e77dbc 1027%attr(755,root,root) %{_libdir}/%{name}/mysql.so
8bf13ddb 1028
5e965dc7
PG
1029%if %{with netlink}
1030%files netlink
1031%defattr(644,root,root,755)
1032%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1033%attr(755,root,root) %{_libdir}/%{name}/netlink.so
1034%endif
1035
1036%files network
1037%defattr(644,root,root,755)
1038%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1039%attr(755,root,root) %{_libdir}/%{name}/network.so
1040
1041%files nfs
1042%defattr(644,root,root,755)
1043%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1044%attr(755,root,root) %{_libdir}/%{name}/nfs.so
1045
8bf13ddb
PG
1046%files nginx
1047%defattr(644,root,root,755)
711f12a6 1048%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
8bf13ddb
PG
1049%attr(755,root,root) %{_libdir}/%{name}/nginx.so
1050
7be39ce7 1051%files notify_desktop
1052%defattr(644,root,root,755)
711f12a6 1053%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
7be39ce7 1054%attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1055
b4b27e4a
PG
1056%files notify_email
1057%defattr(644,root,root,755)
711f12a6 1058%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
b4b27e4a
PG
1059%attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1060
5e965dc7
PG
1061%files ntpd
1062%defattr(644,root,root,755)
1063%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1064%attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1065
b4b27e4a
PG
1066%files nut
1067%defattr(644,root,root,755)
711f12a6 1068%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
b4b27e4a
PG
1069%attr(755,root,root) %{_libdir}/%{name}/nut.so
1070
907cfb56
PG
1071%files ping
1072%defattr(644,root,root,755)
711f12a6 1073%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
907cfb56
PG
1074%attr(755,root,root) %{_libdir}/%{name}/ping.so
1075
b4b27e4a
PG
1076%files postgresql
1077%defattr(644,root,root,755)
711f12a6 1078%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
b4b27e4a
PG
1079%attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1080
4b6e34c7 1081%files powerdns
1082%defattr(644,root,root,755)
711f12a6 1083%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
4b6e34c7 1084%attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1085
5e965dc7
PG
1086%files processes
1087%defattr(644,root,root,755)
1088%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1089%attr(755,root,root) %{_libdir}/%{name}/processes.so
1090
8bf13ddb
PG
1091%files rrdtool
1092%defattr(644,root,root,755)
711f12a6 1093%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
8bf13ddb
PG
1094%attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1095
1096%files sensors
1097%defattr(644,root,root,755)
711f12a6 1098%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
8bf13ddb
PG
1099%attr(755,root,root) %{_libdir}/%{name}/sensors.so
1100
5e965dc7
PG
1101%files serial
1102%defattr(644,root,root,755)
1103%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1104%attr(755,root,root) %{_libdir}/%{name}/serial.so
1105
8bf13ddb
PG
1106%files snmp
1107%defattr(644,root,root,755)
711f12a6 1108%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
8bf13ddb 1109%attr(755,root,root) %{_libdir}/%{name}/snmp.so
5e965dc7
PG
1110%{_mandir}/man5/collectd-snmp.5*
1111
1112%files swap
1113%defattr(644,root,root,755)
1114%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1115%attr(755,root,root) %{_libdir}/%{name}/swap.so
1116
1117%files syslog
1118%defattr(644,root,root,755)
1119%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1120%attr(755,root,root) %{_libdir}/%{name}/syslog.so
1121
1122%files tail
1123%defattr(644,root,root,755)
1124%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1125%attr(755,root,root) %{_libdir}/%{name}/tail.so
1126
1127%files tcpconns
1128%defattr(644,root,root,755)
1129%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1130%attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1131
1132%files teamspeak2
1133%defattr(644,root,root,755)
1134%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1135%attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1136
1137%files thermal
1138%defattr(644,root,root,755)
1139%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1140%attr(755,root,root) %{_libdir}/%{name}/thermal.so
1141
1142%files unixsock
1143%defattr(644,root,root,755)
1144%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1145%attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1146%{_mandir}/man5/collectd-unixsock.5*
1147
1148%files users
1149%defattr(644,root,root,755)
1150%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1151%attr(755,root,root) %{_libdir}/%{name}/users.so
8bf13ddb
PG
1152
1153%files uuid
1154%defattr(644,root,root,755)
711f12a6 1155%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
8bf13ddb
PG
1156%attr(755,root,root) %{_libdir}/%{name}/uuid.so
1157
5e965dc7
PG
1158%files vmem
1159%defattr(644,root,root,755)
1160%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1161%attr(755,root,root) %{_libdir}/%{name}/vmem.so
1162
1163%files vserver
1164%defattr(644,root,root,755)
1165%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1166%attr(755,root,root) %{_libdir}/%{name}/vserver.so
1167
1168%files wireless
1169%defattr(644,root,root,755)
1170%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1171%attr(755,root,root) %{_libdir}/%{name}/wireless.so
1172
8bf13ddb
PG
1173%files xmms
1174%defattr(644,root,root,755)
711f12a6 1175%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
8bf13ddb 1176%attr(755,root,root) %{_libdir}/%{name}/xmms.so
This page took 0.29675 seconds and 4 git commands to generate.