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