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