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