2 # - package contrib scripts as %doc
3 # - perl modules with Collectd classes package to separate package
5 # apple_sensors . . . no (obvious)
6 # ipvs . . . . . . . no (ip_vs.h not found - llh to be fixed)
7 # libvirt . . . . . . no (requires library)
8 # multimeter . . . . no ?
9 # onewire . . . . . . no (needs libowfs)
10 # perl . . . . . . . no (needs libperl)
11 # tape . . . . . . . no ?
14 %bcond_without dns # ???
15 %bcond_without ipmi # ipmi plugin package
16 %bcond_without iptables # iptables plugin
17 %bcond_with multimeter # multimeter plugin
18 %bcond_without netlink # netlink plugin
20 #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
22 %undefine with_iptables
23 %undefine with_netlink
25 Summary: Collects system information in RRD files
26 Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
32 Source0: http://collectd.org/files/%{name}-%{version}.tar.gz
33 # Source0-md5: ab900d15662859b8793abf99eda15c29
36 Source3: %{name}-http.conf
37 Source4: %{name}-lighttpd.conf
38 Source10: %{name}-ascent.conf
39 Source11: %{name}-apache.conf
40 Source12: %{name}-dns.conf
41 Source13: %{name}-hddtemp.conf
42 Source14: %{name}-ipmi.conf
43 Source15: %{name}-mysql.conf
44 Source16: %{name}-nginx.conf
45 Source17: %{name}-notify_desktop.conf
46 Source18: %{name}-notify_email.conf
47 Source19: %{name}-nut.conf
48 Source20: %{name}-ping.conf
49 Source21: %{name}-postgresql.conf
50 Source22: %{name}-powerdns.conf
51 Source23: %{name}-rrdtool.conf
52 Source24: %{name}-sensors.conf
53 Source25: %{name}-snmp.conf
54 Source26: %{name}-uuid.conf
55 Source27: %{name}-xmms.conf
56 Source28: %{name}-tcpconns.conf
57 Source29: %{name}-teamspeak2.conf
58 Source30: %{name}-thermal.conf
59 Source31: %{name}-unixsock.conf
60 Source32: %{name}-users.conf
61 Source33: %{name}-vmem.conf
62 Source34: %{name}-vserver.conf
63 Source35: %{name}-wireless.conf
64 Source36: %{name}-apcups.conf
65 Source37: %{name}-battery.conf
66 Source38: %{name}-cpufreq.conf
67 Source39: %{name}-cpu.conf
68 Source40: %{name}-csv.conf
69 Source41: %{name}-df.conf
70 Source42: %{name}-disk.conf
71 Source43: %{name}-email.conf
72 Source44: %{name}-entropy.conf
73 Source45: %{name}-exec.conf
74 Source46: %{name}-filecount.conf
75 Source47: %{name}-interface.conf
76 Source48: %{name}-iptables.conf
77 Source49: %{name}-irq.conf
78 Source51: %{name}-load.conf
79 Source52: %{name}-logfile.conf
80 Source53: %{name}-mbmon.conf
81 Source54: %{name}-memcached.conf
82 Source55: %{name}-memory.conf
83 Source56: %{name}-multimeter.conf
84 Source57: %{name}-netlink.conf
85 Source58: %{name}-network.conf
86 Source59: %{name}-nfs.conf
87 Source60: %{name}-ntpd.conf
88 Source61: %{name}-processes.conf
89 Source62: %{name}-serial.conf
90 Source63: %{name}-swap.conf
91 Source64: %{name}-syslog.conf
92 Source65: %{name}-tail.conf
93 Patch0: %{name}-collection.patch
94 URL: http://collectd.org/
95 %{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
96 BuildRequires: autoconf
97 BuildRequires: automake
98 BuildRequires: curl-devel
99 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
100 BuildRequires: libesmtp-devel
101 BuildRequires: libnetlink-devel
102 BuildRequires: libnotify-devel
103 BuildRequires: liboping-devel
104 BuildRequires: libpcap-devel
105 BuildRequires: libstatgrab-devel >= 0.12
106 BuildRequires: libtool
107 BuildRequires: lm_sensors-devel
108 BuildRequires: mysql-devel
109 BuildRequires: nut-devel
110 BuildRequires: perl-devel
111 BuildRequires: rpmbuild(macros) >= 1.268
112 BuildRequires: rrdtool-devel
113 BuildRequires: net-snmp-devel
114 BuildRequires: xmms-devel
115 Requires(post,preun): /sbin/chkconfig
117 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
119 %define _pkglibdir /var/lib/%{name}
120 %define _webapps /etc/webapps
121 %define _webapp %{name}
122 %define _webappdir %{_webapps}/%{_webapp}
123 %define _appdir %{_datadir}/%{_webapp}
126 collectd is a small daemon which collects system information every 10
127 seconds and writes the results in an RRD-file.
129 In contrast to most similar software, collectd is not a script but
130 written in plain C for performance and portability. As a daemon it
131 stays in memory, so there is no need to start up a heavy interpreter
132 every time new values should be logged. This allows collectd to have a
133 10 second resolution while being nice to the system.
135 %description -l pl.UTF-8
136 collectd to mały demon zbierający co 10 sekund informacje o systemie i
137 zapisujący wyniki do pliku RRD.
139 W odróżnieniu od innych podobnych programów collectd nie jest
140 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
141 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
142 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
143 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
144 sekund i nie obciążać zbytnio systemu.
147 Summary: apache-plugin for collectd
148 Summary(pl_PL.UTF-8): Wtyczka apache dla collectd
150 Requires: %{name} = %{version}-%{release}
153 This plugin collectd data provided by Apache's `mod_status'.
155 %description apache -l pl.UTF-8
156 Wtyczka collectd zbierająca informacje udostępniane przez moduł
160 Summary: APC UPS plugin for collectd
161 Summary(pl_PL.UTF-8): Wtyczka APC UPS dla collectd
163 Requires: %{name} = %{version}-%{release}
166 APC UPS plugin for collectd.
169 Summary: ascent-plugin for collectd
170 Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd
172 Requires: %{name} = %{version}-%{release}
175 ascent plugin for collectd.
178 Summary: battery plugin for collectd
179 Summary(pl_PL.UTF-8): Wtyczka battery dla collectd
181 Requires: %{name} = %{version}-%{release}
184 This plugin collects the battery's charge, the drawn current and the
188 Summary: Web script for collectiond
189 Summary(pl_PL.UTF-8): Web script for collectiond
190 Group: Applications/WWW
191 Requires: %{name} = %{version}-%{release}
193 Requires: perl(Data::Dumper)
194 Requires: perl(HTML::Entities)
196 Requires: perl(URI::Escape)
197 Requires: webserver(cgi)
198 # It might be not the best choice:
199 Suggests: fonts-TTF-RedHat-liberation
201 %description collection
202 Web script for collectiond
205 Summary: cpu-plugin for collectd
206 Summary(pl_PL.UTF-8): Wtyczka cpu dla collectd
208 Requires: %{name} = %{version}-%{release}
211 The cpu-plugin collects the amount of time spent by the CPU in various states,
212 most notably executing user code, executing system code, waiting for IO
213 operations and being idle.
216 Summary: cpufreq-plugin for collectd
217 Summary(pl_PL.UTF-8): Wtyczka cpufreq dla collectd
219 Requires: %{name} = %{version}-%{release}
222 Collects the current CPU's frequency, mostly for mobile computers.
225 Summary: CSV output plugin for collectd
226 Summary(pl_PL.UTF-8): Wtyczka wyjściowa CSV dla collectd
228 Requires: %{name} = %{version}-%{release}
231 CSV output plugin for collectd.
234 Summary: df-plugin for collectd
235 Summary(pl_PL.UTF-8): Wtyczka df dla collectd
237 Requires: %{name} = %{version}-%{release}
240 The df-plugin collects file system usage information, i. e. basically how
241 much space on a mounted partition is used and how much is available. It's
242 named after and very similar to the df(1) UNIX command that's been around
246 Summary: disk-plugin for collectd
247 Summary(pl_PL.UTF-8): Wtyczka disk dla collectd
249 Requires: %{name} = %{version}-%{release}
252 This plugin collects performance statistics of harddisks and, where
253 supported, partitions.
256 Summary: dns-plugin for collectd
257 Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
259 Requires: %{name} = %{version}-%{release}
260 Requires: perl-rrdtool
263 This plugin has a similar functionality to dnstop: It uses libpcap to get
264 a copy of all traffic from/to port UDP/53 (that's the DNS port), interprets
265 the packets and collects statistics of your DNS traffic.
268 Summary: email-plugin for collectd
269 Summary(pl_PL.UTF-8): Wtyczka email dla collectd
271 Requires: %{name} = %{version}-%{release}
274 The email plugin opens an UNIX-socket over which one can submit email
275 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. mails
276 received/handled, spam scores and matched spam checks.
278 This plugin is intended to be used with the the
279 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which is
280 included in contrib/, but is of course not limited to that use.
283 Summary: entropy-plugin for collectd
284 Summary(pl_PL.UTF-8): Wtyczka entropy dla collectd
286 Requires: %{name} = %{version}-%{release}
289 entropy plugin for collectd.
292 Summary: exec-plugin for collectd
293 Summary(pl_PL.UTF-8): Wtyczka exec dla collectd
295 Requires: %{name} = %{version}-%{release}
298 The exec plugin forks of an executable either to receive values or to
299 dispatch notifications to the outside world.
302 Summary: filecount-plugin for collectd
303 Summary(pl_PL.UTF-8): Wtyczka filecount dla collectd
305 Requires: %{name} = %{version}-%{release}
307 %description filecount
308 The filecount-plugin does something very simple: Count the number of files
309 in a directory and all its subdirectories. This can be used for a variety of
310 statistics, for example the queue length of an MTA, the number of PHP
311 sessions of a web server or simply the number of files in your home
315 Summary: hddtemp-plugin for collectd
316 Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
318 Requires: %{name} = %{version}-%{release}
321 Temperature of harddisks. The temperatures are provided via S.M.A.R.T. and
322 queried by the external hddtemp-daemon.
325 Summary: interface-plugin for collectd
326 Summary(pl_PL.UTF-8): Wtyczka interface dla collectd
328 Requires: %{name} = %{version}-%{release}
330 %description interface
331 The interface-plugin collects information about the traffic (octets), packets
332 and errors of interfaces.
335 Summary: iptables-plugin for collectd
336 Summary(pl_PL.UTF-8): Wtyczka iptables dla collectd
338 Requires: %{name} = %{version}-%{release}
340 %description iptables
341 With this plugin you can gather statistics from your ip_tables based
342 packetfilter (aka. firewall). It can collect the byte- and packet-counters
343 of selected rules and submit them to collectd. You can select rules that
344 should be collected wither by its position (e.g. "the fourth rule in the
345 INPUT queue in the filter table") or by its comment (using the COMMENT
346 match). This means that depending on your firewall layout you can collect
347 certain services (such as the amount of web-traffic), source or destination
348 hosts or networks, dropped packets and much more.
351 Summary: ipmi-plugin for collectd
352 Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
354 Requires: %{name} = %{version}-%{release}
357 ipmi plugin for collectd.
359 %description ipmi -l pl.UTF-8
360 Wtyczka ipmi dla collectd.
363 Summary: IRQs-plugin for collectd
364 Summary(pl_PL.UTF-8): Wtyczka IRQs dla collectd
366 Requires: %{name} = %{version}-%{release}
369 IRQs plugin for collectd.
372 Summary: load-plugin for collectd
373 Summary(pl_PL.UTF-8): Wtyczka load dla collectd
375 Requires: %{name} = %{version}-%{release}
378 Collects the system load. These numbers give a rough overview over the
379 utilization of a machine, though their meaning is mostly overrated.
382 Summary: logfile-plugin for collectd
383 Summary(pl_PL.UTF-8): Wtyczka logfile dla collectd
385 Requires: %{name} = %{version}-%{release}
388 Logfile plugin for collectd.
390 %module_scripts mbmon
392 Summary: mbmon-plugin for collectd
393 Summary(pl_PL.UTF-8): Wtyczka mbmon dla collectd
395 Requires: %{name} = %{version}-%{release}
398 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
401 Summary: memcached-plugin for collectd
402 Summary(pl_PL.UTF-8): Wtyczka memcached dla collectd
404 Requires: %{name} = %{version}-%{release}
406 %description memcached
407 The memcached plugin connects to a memcached daemon and collects the number
408 of connections and requests handled by the daemon, the CPU resources consumed,
409 number of items cached, number of threads, and bytes sent and received.
412 Summary: memory-plugin for collectd
413 Summary(pl_PL.UTF-8): Wtyczka memory dla collectd
415 Requires: %{name} = %{version}-%{release}
418 Collects physical memory utilization for collectd.
421 Summary: multimeter-plugin for collectd
422 Summary(pl_PL.UTF-8): Wtyczka multimeter dla collectd
424 Requires: %{name} = %{version}-%{release}
426 %description multimeter
427 Multimeter plugin for collectd.
430 Summary: mysql-plugin for collectd
431 Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
433 Requires: %{name} = %{version}-%{release}
436 MySQL querying plugin. This plugins provides data of issued commands,
437 called handlers and database traffic.
439 %description mysql -l pl.UTF-8
440 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
441 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
444 Summary: netlink-plugin for collectd
445 Summary(pl_PL.UTF-8): Wtyczka netlink dla collectd
447 Requires: %{name} = %{version}-%{release}
450 This plugin will open a netlink socket to the Linux kernel and use it to get
451 statistics for interfaces, qdiscs, classes, and, if you can make use of it,
452 filters. Since in most setups many of the statistics this plugin can collect
453 aren't of interest, you can select which information to gather using the
457 Summary: network-plugin for collectd
458 Summary(pl_PL.UTF-8): Wtyczka network dla collectd
460 Requires: %{name} = %{version}-%{release}
463 nginx plugin for collectd.
466 Summary: NFS-plugin for collectd
467 Summary(pl_PL.UTF-8): Wtyczka NFS dla collectd
469 Requires: %{name} = %{version}-%{release}
472 The nfs plugin counts the number of procedure calls of the different NFS
476 Summary: nginx-plugin for collectd
477 Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
479 Requires: %{name} = %{version}-%{release}
482 This plugin collects the number of connections and requests handled by the
483 nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
484 the ngx_http_stub_status_module module, which isn't compiled by default.
486 %package notify_desktop
487 Summary: notify_desktop for collectd
488 Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
490 Requires: %{name} = %{version}-%{release}
492 %description notify_desktop
493 This plugin sends a desktop notification to a notification daemon, as
494 defined in the Desktop Notification Specification. To actually display the
495 notifications, notification-daemon is required and collectd has to be able
496 to access the X server.
498 %package notify_email
499 Summary: notify_email-plugin for collectd
500 Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
502 Requires: %{name} = %{version}-%{release}
504 %description notify_email
505 notify_email plugin for collectd.
508 Summary: ntpd-plugin for collectd
509 Summary(pl_PL.UTF-8): Wtyczka ntpd dla collectd
511 Requires: %{name} = %{version}-%{release}
514 NTPd plugin for collectd.
517 Summary: nut-plugin for collectd
518 Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
520 Requires: %{name} = %{version}-%{release}
523 UPS statistics using the Network UPS Tools. These statistics include
524 basically everything NUT will give us, including voltages, currents, power,
525 frequencies, load, and temperatures.
528 Summary: ping-plugin for collectd
529 Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
531 Requires: %{name} = %{version}-%{release}
534 The network latency is measured as a roundtrip time. An ICMP-echo-request
535 (aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
536 "pong") to arrive is measured. If a reply is not received within one second
537 the plugin will no longer expect a reply and return. This may happen in
538 several circumstances, e. g. the packet is lost, the host is down, a router
539 has dismissed the packet, etc.
542 Summary: mysql-plugin for collectd
543 Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
545 Requires: %{name} = %{version}-%{release}
547 %description postgresql
548 The postgresql plugin queries statistics from PostgreSQL databases. It keeps
549 a persistent connection to all configured databases and tries to reconnect
550 if the connection has been interrupted.
553 Summary: powerdns-plugin for collectd
554 Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
556 Requires: %{name} = %{version}-%{release}
558 %description powerdns
559 The powerdns plugin queries statistics from an authoritative PowerDNS
560 nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
561 values, many of which are probably meaningless to most users, but may be
565 Summary: processes-plugin for collectd
566 Summary(pl_PL.UTF-8): Wtyczka processes dla collectd
568 Requires: %{name} = %{version}-%{release}
570 %description processes
571 This plugin collects the number of processes, grouped by their state (e.g.
572 running, sleeping, zombies, etc.). In addition to that, it can select
573 detailed statistics about selected processes, grouped by name.
576 Summary: rrdtool-plugin for collectd
577 Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
579 Requires: %{name} = %{version}-%{release}
583 RRDTOOL plugin for collectd.
586 Summary: sensors-plugin for collectd
587 Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
589 Requires: %{name} = %{version}-%{release}
592 This plugin uses lm-sensors to read hardware sensors. You will need to
593 configure lm-sensors before this plugin will collect any usefull and correct
596 %module_scripts serial
598 Summary: serial-plugin for collectd
599 Summary(pl_PL.UTF-8): Wtyczka serial dla collectd
601 Requires: %{name} = %{version}-%{release}
604 Serial plugin for collectd.
607 Summary: snmp-plugin for collectd
608 Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
610 Requires: %{name} = %{version}-%{release}
613 The snmp plugin queries other hosts using SNMP, the Simple Network
614 Management Protocol, and translates the value it receives to collectd's
615 internal format and dispatches them. Depending on the write plugins you have
616 loaded they may be written to disk or submitted to another instance or
617 whatever you configured.
620 Summary: swap-plugin for collectd
621 Summary(pl_PL.UTF-8): Wtyczka swap dla collectd
623 Requires: %{name} = %{version}-%{release}
626 Swap space plugin for collectd.
629 Summary: syslog-plugin for collectd
630 Summary(pl_PL.UTF-8): Wtyczka syslog dla collectd
632 Requires: %{name} = %{version}-%{release}
635 Syslog plugin for collectd.
638 Summary: tail-plugin for collectd
639 Summary(pl_PL.UTF-8): Wtyczka tail dla collectd
641 Requires: %{name} = %{version}-%{release}
644 The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
645 does. Each line is given to one or more "matches" which test if the line is
646 relevant for any statistics using a regular expression.
649 Summary: tcpconns-plugin for collectd
650 Summary(pl_PL.UTF-8): Wtyczka tcpconns dla collectd
652 Requires: %{name} = %{version}-%{release}
654 %description tcpconns
655 The tcpconns-plugin counts the number of TCP connections to or from a
656 specified port. Typically the connectioins where you specify the local port
657 are incoming connections while the connections where you specify the remote
658 port are outgoing connections.
661 Summary: teamspeak2-plugin for collectd
662 Summary(pl_PL.UTF-8): Wtyczka teamspeak2 dla collectd
664 Requires: %{name} = %{version}-%{release}
666 %description teamspeak2
667 The teamspeak2 plugin connects to the query port of a teamspeak2 server and
668 polls interesting global and virtual server data. The plugin can query only
669 one physical server but unlimited virtual servers.
672 Summary: thermal-plugin for collectd
673 Summary(pl_PL.UTF-8): Wtyczka thermal dla collectd
675 Requires: %{name} = %{version}-%{release}
678 Thermal plugin for collectd.
681 Summary: unixsock-plugin for collectd
682 Summary(pl_PL.UTF-8): Wtyczka unixsock dla collectd
684 Requires: %{name} = %{version}-%{release}
686 %description unixsock
687 The unixsock plugin opens an UNIX-socket over which one can interact with
688 the daemon. This can be used to use the values collected by collectd in
689 other applications, such as monitoring, or submit externally collected
693 Summary: users-plugin for collectd
694 Summary(pl_PL.UTF-8): Wtyczka users dla collectd
696 Requires: %{name} = %{version}-%{release}
699 Number of users currently logged in.
702 Summary: uuid-plugin for collectd
703 Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
705 Requires: %{name} = %{version}-%{release}
708 This plugin, if loaded, causes the Hostname to be taken from the machine's
709 UUID. The UUID is a universally unique designation for the machine, usually
710 taken from the machine's BIOS. This is most useful if the machine is
711 running in a virtual environment such as Xen, in which case the UUID is
712 preserved across shutdowns and migration.
715 Summary: vmem-plugin for collectd
716 Summary(pl_PL.UTF-8): Wtyczka vmem dla collectd
718 Requires: %{name} = %{version}-%{release}
721 The vmem plugin collects information about the usage of virtual memory.
722 Since the statistics provided by the Linux kernel are very detailed, they
723 are collected very detailed.
726 Summary: vserver-plugin for collectd
727 Summary(pl_PL.UTF-8): Wtyczka vserver dla collectd
729 Requires: %{name} = %{version}-%{release}
732 Collects information about the virtual servers running on a system, using
736 Summary: wireless-plugin for collectd
737 Summary(pl_PL.UTF-8): Wtyczka wireless dla collectd
739 Requires: %{name} = %{version}-%{release}
741 %description wireless
742 Wireless plugin for collectd.
745 Summary: xmms-plugin for collectd
746 Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
748 Requires: %{name} = %{version}-%{release}
751 This plugin collectd data provided by XMMS.
765 --with-libstatgrab=/usr \
766 --with-lm-sensors=/usr \
767 --with-libmysql=/usr \
768 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
769 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
770 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
771 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
772 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
778 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
779 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
780 BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
783 rm -rf $RPM_BUILD_ROOT
784 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
785 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
788 DESTDIR=$RPM_BUILD_ROOT
790 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
791 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
794 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
795 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
796 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
797 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
798 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
800 ### Configs instalation ###
801 # Example config in sources: src/collectd.conf
802 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
803 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ascent.conf
804 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/apache.conf
805 %{?with_dns:install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/dns.conf}
806 install %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/hddtemp.conf
807 %{?with_ipmi:install %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ipmi.conf}
808 install %{SOURCE15} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/mysql.conf
809 install %{SOURCE16} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/nginx.conf
810 install %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/notify_desktop.conf
811 install %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/notify_email.conf
812 install %{SOURCE19} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/nut.conf
813 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ping.conf
814 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/postgresql.conf
815 install %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/powerdns.conf
816 install %{SOURCE23} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
817 install %{SOURCE24} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/sensors.conf
818 install %{SOURCE25} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/snmp.conf
819 install %{SOURCE26} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/uuid.conf
820 install %{SOURCE27} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/xmms.conf
821 install %{SOURCE28} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/tcpconns.conf
822 install %{SOURCE29} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/teamspeak2.conf
823 install %{SOURCE30} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/thermal.conf
824 install %{SOURCE31} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/unixsock.conf
825 install %{SOURCE32} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/users.conf
826 install %{SOURCE33} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/vmem.conf
827 install %{SOURCE34} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/vserver.conf
828 install %{SOURCE35} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/wireless.conf
829 install %{SOURCE36} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/apcups.conf
830 install %{SOURCE37} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/battery.conf
831 install %{SOURCE38} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/cpufreq.conf
832 install %{SOURCE39} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/cpu.conf
833 install %{SOURCE40} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/csv.conf
834 install %{SOURCE41} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
835 install %{SOURCE42} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/disk.conf
836 install %{SOURCE43} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/email.conf
837 install %{SOURCE44} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/entropy.conf
838 install %{SOURCE45} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/exec.conf
839 install %{SOURCE46} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/filecount.conf
840 install %{SOURCE47} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/interface.conf
841 %{?with_iptables:install %{SOURCE48} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/iptables.conf}
842 install %{SOURCE49} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/irq.conf
843 install %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/load.conf
844 install %{SOURCE52} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/logfile.conf
845 install %{SOURCE53} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/mbmon.conf
846 install %{SOURCE54} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/memcached.conf
847 install %{SOURCE55} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/memory.conf
848 %{?with_multimeter:install %{SOURCE56} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/multimeter.conf}
849 %{?with_netlink:install %{SOURCE57} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/netlink.conf}
850 install %{SOURCE58} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/network.conf
851 install %{SOURCE59} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/nfs.conf
852 install %{SOURCE60} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ntpd.conf
853 install %{SOURCE61} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/processes.conf
854 install %{SOURCE62} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/serial.conf
855 install %{SOURCE63} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/swap.conf
856 install %{SOURCE64} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/syslog.conf
857 install %{SOURCE65} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/tail.conf
860 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
863 rm -rf $RPM_BUILD_ROOT
866 /sbin/chkconfig --add %{name}
867 %service %{name} restart
870 if [ "$1" = "0" ]; then
871 %service -q %{name} stop
872 /sbin/chkconfig --del %{name}
875 %define module_scripts() \
877 %service %{name} restart \
880 %service %{name} restart
882 %module_scripts apache
883 %module_scripts apcups
884 %module_scripts ascent
885 %module_scripts battery
886 %module_scripts cpufreq
891 %{?with_dns:%module_scripts dns}
892 %module_scripts email
893 %module_scripts entropy
895 %module_scripts filecount
896 %module_scripts hddtemp
897 %module_scripts interface
898 %{?with_ipmi:%module_scripts ipmi}
899 %{?with_iptables:%module_scripts iptables}
902 %module_scripts logfile
903 %module_scripts mbmon
904 %module_scripts memcached
905 %module_scripts memory
906 %{?with_multimeter:%module_scripts multimeter}
907 %module_scripts mysql
908 %{?with_netlink:%module_scripts netlink}
909 %module_scripts network
911 %module_scripts nginx
912 %module_scripts notify_desktop
913 %module_scripts notify_email
917 %module_scripts postgresql
918 %module_scripts powerdns
919 %module_scripts processes
920 %module_scripts rrdtool
921 %module_scripts sensors
922 %module_scripts serial
925 %module_scripts syslog
927 %module_scripts tcpconns
928 %module_scripts teamspeak2
929 %module_scripts thermal
930 %module_scripts unixsock
931 %module_scripts users
934 %module_scripts vserver
935 %module_scripts wireless
938 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
939 %webapp_register apache %{_webapp}
941 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
942 %webapp_unregister apache %{_webapp}
944 %triggerin collection -- apache < 2.2.0, apache-base
945 %webapp_register httpd %{_webapp}
947 %triggerun collection -- apache < 2.2.0, apache-base
948 %webapp_unregister httpd %{_webapp}
950 %triggerin -- lighttpd
951 %webapp_register lighttpd %{_webapp}
953 %triggerun -- lighttpd
954 %webapp_unregister lighttpd %{_webapp}
957 %defattr(644,root,root,755)
958 %doc AUTHORS ChangeLog README TODO contrib
959 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
960 %dir %{_sysconfdir}/%{name}.d
961 %attr(755,root,root) %{_sbindir}/collectd
962 %attr(755,root,root) %{_sbindir}/collectdmon
963 %attr(755,root,root) %{_bindir}/collectd-nagios
964 %dir %{_libdir}/%{name}
965 %{_libdir}/%{name}/types.db
966 %attr(754,root,root) /etc/rc.d/init.d/%{name}
967 %{_mandir}/man1/collectd.1*
968 %{_mandir}/man1/collectd-nagios.1*
969 %{_mandir}/man5/collectd.conf.5*
970 %{_mandir}/man5/collectd-perl.5*
971 %{_mandir}/man1/collectdmon.1*
972 %{_mandir}/man5/types.db.5*
973 %{_var}/log/collectd.log
974 %dir %{_var}/lib/%{name}
977 %defattr(644,root,root,755)
979 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
980 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
981 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
982 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
984 %dir %{_appdir}/cgi-bin
985 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
989 %defattr(644,root,root,755)
990 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
991 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
994 %defattr(644,root,root,755)
995 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
996 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
999 %defattr(644,root,root,755)
1000 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1001 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1004 %defattr(644,root,root,755)
1005 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1006 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1009 %defattr(644,root,root,755)
1010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1011 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1014 %defattr(644,root,root,755)
1015 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1016 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1019 %defattr(644,root,root,755)
1020 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1021 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1024 %defattr(644,root,root,755)
1025 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1026 %attr(755,root,root) %{_libdir}/%{name}/df.so
1029 %defattr(644,root,root,755)
1030 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1031 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1034 %defattr(644,root,root,755)
1035 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1036 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1039 %defattr(644,root,root,755)
1040 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1041 %attr(755,root,root) %{_libdir}/%{name}/email.so
1042 %{_mandir}/man5/collectd-email.5*
1045 %defattr(644,root,root,755)
1046 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1047 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1050 %defattr(644,root,root,755)
1051 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1052 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1053 %{_mandir}/man5/collectd-exec.5*
1056 %defattr(644,root,root,755)
1057 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1058 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1061 %defattr(644,root,root,755)
1062 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1063 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1066 %defattr(644,root,root,755)
1067 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1068 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1072 %defattr(644,root,root,755)
1073 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1074 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1077 %if %{with iptables}
1079 %defattr(644,root,root,755)
1080 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1081 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1085 %defattr(644,root,root,755)
1086 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1087 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1090 %defattr(644,root,root,755)
1091 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1092 %attr(755,root,root) %{_libdir}/%{name}/load.so
1095 %defattr(644,root,root,755)
1096 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1097 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1100 %defattr(644,root,root,755)
1101 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1102 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1105 %defattr(644,root,root,755)
1106 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1107 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1110 %defattr(644,root,root,755)
1111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1112 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1114 %if %{with multimeter}
1116 %defattr(644,root,root,755)
1117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1118 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1122 %defattr(644,root,root,755)
1123 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1124 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1128 %defattr(644,root,root,755)
1129 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1130 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1134 %defattr(644,root,root,755)
1135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1136 %attr(755,root,root) %{_libdir}/%{name}/network.so
1139 %defattr(644,root,root,755)
1140 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1141 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1144 %defattr(644,root,root,755)
1145 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1146 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1148 %files notify_desktop
1149 %defattr(644,root,root,755)
1150 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1151 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1154 %defattr(644,root,root,755)
1155 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1156 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1159 %defattr(644,root,root,755)
1160 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1161 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1164 %defattr(644,root,root,755)
1165 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1166 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1169 %defattr(644,root,root,755)
1170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1171 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1174 %defattr(644,root,root,755)
1175 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1176 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1179 %defattr(644,root,root,755)
1180 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1181 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1184 %defattr(644,root,root,755)
1185 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1186 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1189 %defattr(644,root,root,755)
1190 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1191 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1194 %defattr(644,root,root,755)
1195 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1196 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1199 %defattr(644,root,root,755)
1200 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1201 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1204 %defattr(644,root,root,755)
1205 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1206 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1207 %{_mandir}/man5/collectd-snmp.5*
1210 %defattr(644,root,root,755)
1211 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1212 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1215 %defattr(644,root,root,755)
1216 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1217 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1220 %defattr(644,root,root,755)
1221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1222 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1225 %defattr(644,root,root,755)
1226 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1227 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1230 %defattr(644,root,root,755)
1231 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1232 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1235 %defattr(644,root,root,755)
1236 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1237 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1240 %defattr(644,root,root,755)
1241 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1242 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1243 %{_mandir}/man5/collectd-unixsock.5*
1246 %defattr(644,root,root,755)
1247 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1248 %attr(755,root,root) %{_libdir}/%{name}/users.so
1251 %defattr(644,root,root,755)
1252 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1253 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1256 %defattr(644,root,root,755)
1257 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1258 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1261 %defattr(644,root,root,755)
1262 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1263 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1266 %defattr(644,root,root,755)
1267 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1268 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1271 %defattr(644,root,root,755)
1272 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1273 %attr(755,root,root) %{_libdir}/%{name}/xmms.so