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