libpcp: optimise DSO lookups for local context mode startup
[pcp.git] / build / rpm / fedora.spec
blob9b9ecdd6f9a80469895f6e7ff481c210283d3bfe
1 Summary: System-level performance monitoring and performance management
2 Name: pcp
3 Version: 3.11.6
4 %global buildversion 1
6 Release: %{buildversion}%{?dist}
7 License: GPLv2+ and LGPLv2.1+ and CC-BY
8 URL: http://www.pcp.io
9 Group: Applications/System
10 # https://bintray.com/artifact/download/pcp/source/pcp-%{version}.src.tar.gz
11 Source0: %{name}-%{version}.src.tar.gz
12 # https://bintray.com/artifact/download/netflixoss/downloads/vector.tar.gz
13 Source1: vector-1.1.0.tar.gz
14 # https://github.com/performancecopilot/pcp-webjs/archive/x.y.z.tar.gz
15 Source2: pcp-webjs-3.11.2.tar.gz
17 %global disable_snmp 0
19 # There are no papi/libpfm devel packages for s390 nor for some rhels, disable
20 %ifarch s390 s390x
21 %global disable_papi 1
22 %global disable_perfevent 1
23 %else
24 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
25 %global disable_papi 0
26 %else
27 %global disable_papi 1
28 %endif
29 %if 0%{?fedora} >= 20 || 0%{?rhel} > 6
30 %global disable_perfevent 0
31 %else
32 %global disable_perfevent 1
33 %endif
34 %endif
36 %global disable_microhttpd 0
37 %global disable_cairo 0
39 %global disable_python2 0
40 # Default for epel5 is python24, so use the (optional) python26 packages
41 %if 0%{?rhel} == 5
42 %global default_python 26
43 %endif
44 # No python3 development environment before el8
45 %if 0%{?rhel} == 0 || 0%{?rhel} > 7
46 %global disable_python3 0
47 # Do we wish to mandate python3 use in pcp? (f22+ and el8+)
48 %if 0%{?fedora} >= 22 || 0%{?rhel} > 7
49 %global default_python 3
50 %endif
51 %else
52 %global disable_python3 1
53 %endif
55 # support for pmdajson
56 %if 0%{?rhel} == 0 || 0%{?rhel} > 6
57 %if !%{disable_python2} || !%{disable_python3}
58 %global disable_json 0
59 %else
60 %global disable_json 1
61 %endif
62 %else
63 %global disable_json 1
64 %endif
66 # support for pmdarpm
67 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
68 %global disable_rpm 0
69 %else
70 %global disable_rpm 1
71 %endif
73 # Qt development and runtime environment missing components before el6
74 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
75 %global disable_qt 0
76 %else
77 %global disable_qt 1
78 %endif
80 # systemd services and pmdasystemd
81 %if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
82 %global disable_systemd 0
83 %else
84 %global disable_systemd 1
85 %endif
87 # systemtap static probing, missing before el6 and on some architectures
88 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
89 %global disable_sdt 0
90 %else
91 %ifnarch ppc ppc64
92 %global disable_sdt 0
93 %else
94 %global disable_sdt 1
95 %endif
96 %endif
98 # rpm producing "noarch" packages
99 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
100 %global disable_noarch 0
101 %else
102 %global disable_noarch 1
103 %endif
105 # prevent conflicting binary and man page install for pcp(1)
106 Conflicts: librapi
108 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
109 # https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
110 BuildRequires: gcc gcc-c++
111 BuildRequires: procps autoconf bison flex
112 BuildRequires: nss-devel
113 BuildRequires: rpm-devel
114 BuildRequires: avahi-devel
115 BuildRequires: zlib-devel
116 %if !%{disable_python2}
117 %if 0%{?default_python} != 3
118 BuildRequires: python%{?default_python}-devel
119 %else
120 BuildRequires: python-devel
121 %endif
122 %endif
123 %if !%{disable_python3}
124 BuildRequires: python3-devel
125 %endif
126 BuildRequires: ncurses-devel
127 BuildRequires: readline-devel
128 BuildRequires: cyrus-sasl-devel
129 %if !%{disable_papi}
130 BuildRequires: papi-devel
131 %endif
132 %if !%{disable_perfevent}
133 BuildRequires: libpfm-devel >= 4
134 %endif
135 %if !%{disable_microhttpd}
136 BuildRequires: libmicrohttpd-devel
137 %endif
138 %if !%{disable_cairo}
139 BuildRequires: cairo-devel
140 %endif
141 %if !%{disable_sdt}
142 BuildRequires: systemtap-sdt-devel
143 %endif
144 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
145 BuildRequires: perl-devel perl-generators
146 %endif
147 BuildRequires: perl(ExtUtils::MakeMaker)
148 BuildRequires: initscripts man
149 %if !%{disable_systemd}
150 BuildRequires: systemd-devel
151 %endif
152 %if !%{disable_qt}
153 BuildRequires: desktop-file-utils
154 BuildRequires: qt4-devel >= 4.4
155 %endif
157 Requires: bash gawk sed grep fileutils findutils initscripts which
158 Requires: pcp-libs = %{version}-%{release}
159 Obsoletes: pcp-gui-debuginfo
160 Obsoletes: pcp-pmda-nvidia
162 # Obsoletes for distros that already have single install pmda's with compat package
163 Obsoletes: pcp-compat
165 Requires: pcp-libs = %{version}-%{release}
166 Obsoletes: pcp-gui-debuginfo
168 %global tapsetdir %{_datadir}/systemtap/tapset
170 %global _confdir %{_sysconfdir}/pcp
171 %global _logsdir %{_localstatedir}/log/pcp
172 %global _pmnsdir %{_localstatedir}/lib/pcp/pmns
173 %global _tempsdir %{_localstatedir}/lib/pcp/tmp
174 %global _pmdasdir %{_localstatedir}/lib/pcp/pmdas
175 %global _testsdir %{_localstatedir}/lib/pcp/testsuite
176 %global _pixmapdir %{_datadir}/pcp-gui/pixmaps
177 %global _booksdir %{_datadir}/doc/pcp-doc
179 %if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
180 %global _with_doc --with-docdir=%{_docdir}/%{name}
181 %endif
183 %if !%{disable_systemd}
184 %global _initddir %{_datadir}/pcp/lib
185 %else
186 %global _initddir %{_sysconfdir}/rc.d/init.d
187 %global _with_initd --with-rcdir=%{_initddir}
188 %endif
190 # we never want Infiniband on s390 platforms
191 %ifarch s390 s390x
192 %global disable_infiniband 1
193 %else
194 # we never want Infiniband on RHEL5 or earlier
195 %if 0%{?rhel} != 0 && 0%{?rhel} < 6
196 %global disable_infiniband 1
197 %else
198 %global disable_infiniband 0
199 %endif
200 %endif
202 %if %{disable_infiniband}
203 %global _with_ib --with-infiniband=no
204 %endif
206 %if !%{disable_papi}
207 %global _with_papi --with-papi=yes
208 %endif
210 %if !%{disable_perfevent}
211 %global _with_perfevent --with-perfevent=yes
212 %endif
214 %if %{disable_json}
215 %global _with_json --with-pmdajson=no
216 %else
217 %global _with_json --with-pmdajson=yes
218 %endif
220 %if %{disable_snmp}
221 %global _with_snmp --with-pmdasnmp=no
222 %else
223 %global _with_snmp --with-pmdasnmp=yes
224 %endif
226 %global pmda_remove() %{expand:
227 if [ "%1" -eq 0 ]
228 then
229 if [ -f "%{_confdir}/pmcd/pmcd.conf" ] && [ -f "%{_pmdasdir}/%2/domain.h" ]
230 then
231 (cd %{_pmdasdir}/%2/ && ./Remove >/dev/null 2>&1)
236 %description
237 Performance Co-Pilot (PCP) provides a framework and services to support
238 system-level performance monitoring and performance management.
240 The PCP open source release provides a unifying abstraction for all of
241 the interesting performance data in a system, and allows client
242 applications to easily retrieve and process any subset of that data.
245 # pcp-conf
247 %package conf
248 License: LGPLv2+
249 Group: System Environment/Libraries
250 Summary: Performance Co-Pilot run-time configuration
251 URL: http://www.pcp.io
253 # http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
254 Conflicts: pcp-libs < 3.9
256 %description conf
257 Performance Co-Pilot (PCP) run-time configuration
260 # pcp-libs
262 %package libs
263 License: LGPLv2+
264 Group: System Environment/Libraries
265 Summary: Performance Co-Pilot run-time libraries
266 URL: http://www.pcp.io
267 Requires: pcp-conf = %{version}-%{release}
269 %description libs
270 Performance Co-Pilot (PCP) run-time libraries
273 # pcp-libs-devel
275 %package libs-devel
276 License: GPLv2+ and LGPLv2.1+
277 Group: Development/Libraries
278 Summary: Performance Co-Pilot (PCP) development headers
279 URL: http://www.pcp.io
280 #Requires: pcp = %{version}-%{release}
281 #Requires: pcp-libs = %{version}-%{release}
283 %description libs-devel
284 Performance Co-Pilot (PCP) headers, for development
287 # pcp-devel
289 %package devel
290 License: GPLv2+ and LGPLv2.1+
291 Group: Development/Libraries
292 Summary: Performance Co-Pilot (PCP) development tools and documentation
293 URL: http://www.pcp.io
294 Requires: pcp = %{version}-%{release}
295 Requires: pcp-libs = %{version}-%{release}
296 Requires: pcp-libs-devel = %{version}-%{release}
298 %description devel
299 Performance Co-Pilot (PCP) documentation and tools for development.
302 # pcp-testsuite
304 %package testsuite
305 License: GPLv2+
306 Group: Development/Libraries
307 Summary: Performance Co-Pilot (PCP) test suite
308 URL: http://www.pcp.io
309 Requires: pcp = %{version}-%{release}
310 Requires: pcp-libs = %{version}-%{release}
311 Requires: pcp-libs-devel = %{version}-%{release}
312 Requires: pcp-devel = %{version}-%{release}
313 Obsoletes: pcp-gui-testsuite
315 %description testsuite
316 Quality assurance test suite for Performance Co-Pilot (PCP).
319 # pcp-manager
321 %package manager
322 License: GPLv2+
323 Group: Applications/System
324 Summary: Performance Co-Pilot (PCP) manager daemon
325 URL: http://www.pcp.io
326 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
328 %description manager
329 An optional daemon (pmmgr) that manages a collection of pmlogger and
330 pmie daemons, for a set of discovered local and remote hosts running
331 the performance metrics collection daemon (pmcd). It ensures these
332 daemons are running when appropriate, and manages their log rotation
333 needs. It is an alternative to the cron-based pmlogger/pmie service
334 scripts.
336 %if !%{disable_microhttpd}
338 # pcp-webapi
340 %package webapi
341 License: GPLv2+
342 Group: Applications/System
343 Summary: Performance Co-Pilot (PCP) web API service
344 URL: http://www.pcp.io
345 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
347 %description webapi
348 Provides a daemon (pmwebd) that binds a large subset of the Performance
349 Co-Pilot (PCP) client API (PMAPI) to RESTful web applications using the
350 HTTP (PMWEBAPI) protocol.
351 %endif
354 # pcp-webjs and pcp-webapp packages
356 %package webjs
357 License: ASL2.0 and MIT and CC-BY
358 Group: Applications/Internet
359 %if !%{disable_noarch}
360 BuildArch: noarch
361 %endif
362 Requires: pcp-webapp-graphite pcp-webapp-grafana pcp-webapp-vector
363 Summary: Performance Co-Pilot (PCP) web applications
364 URL: http://www.pcp.io
366 %description webjs
367 Javascript web application content for the Performance Co-Pilot (PCP)
368 web service.
370 %package webapp-vector
371 License: ASL2.0
372 Group: Applications/Internet
373 %if !%{disable_noarch}
374 BuildArch: noarch
375 %endif
376 Summary: Vector web application for Performance Co-Pilot (PCP)
377 URL: https://github.com/Netflix/vector
379 %description webapp-vector
380 Vector web application for the Performance Co-Pilot (PCP).
382 %package webapp-grafana
383 License: ASL2.0
384 Group: Applications/Internet
385 Conflicts: pcp-webjs < 3.10.4
386 %if !%{disable_noarch}
387 BuildArch: noarch
388 %endif
389 Summary: Grafana web application for Performance Co-Pilot (PCP)
390 URL: https://grafana.org
392 %description webapp-grafana
393 Grafana is an open source, feature rich metrics dashboard and graph
394 editor. This package provides a Grafana that uses the Performance
395 Co-Pilot (PCP) as the data repository. Other Grafana backends are
396 not used.
398 Grafana can render time series dashboards at the browser via flot.js
399 (more interactive, slower, for beefy browsers) or alternately at the
400 server via png (less interactive, faster).
402 %package webapp-graphite
403 License: ASL2.0
404 Group: Applications/Internet
405 Conflicts: pcp-webjs < 3.10.4
406 %if !%{disable_noarch}
407 BuildArch: noarch
408 %endif
409 Summary: Graphite web application for Performance Co-Pilot (PCP)
410 URL: http://graphite.readthedocs.org
412 %description webapp-graphite
413 Graphite is a highly scalable real-time graphing system. This package
414 provides a graphite version that uses the Performance Co-Pilot (PCP)
415 as the data repository, and Graphites web interface renders it. The
416 Carbon and Whisper subsystems of Graphite are not included nor used.
419 # perl-PCP-PMDA. This is the PCP agent perl binding.
421 %package -n perl-PCP-PMDA
422 License: GPLv2+
423 Group: Development/Libraries
424 Summary: Performance Co-Pilot (PCP) Perl bindings and documentation
425 URL: http://www.pcp.io
426 Requires: pcp-libs = %{version}-%{release}
427 Requires: perl
429 %description -n perl-PCP-PMDA
430 The PCP::PMDA Perl module contains the language bindings for
431 building Performance Metric Domain Agents (PMDAs) using Perl.
432 Each PMDA exports performance data for one specific domain, for
433 example the operating system kernel, Cisco routers, a database,
434 an application, etc.
437 # perl-PCP-MMV
439 %package -n perl-PCP-MMV
440 License: GPLv2+
441 Group: Development/Libraries
442 Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values
443 URL: http://www.pcp.io
444 Requires: pcp-libs = %{version}-%{release}
446 %description -n perl-PCP-MMV
447 The PCP::MMV module contains the Perl language bindings for
448 building scripts instrumented with the Performance Co-Pilot
449 (PCP) Memory Mapped Value (MMV) mechanism.
450 This mechanism allows arbitrary values to be exported from an
451 instrumented script into the PCP infrastructure for monitoring
452 and analysis with pmchart, pmie, pmlogger and other PCP tools.
455 # perl-PCP-LogImport
457 %package -n perl-PCP-LogImport
458 License: GPLv2+
459 Group: Development/Libraries
460 Summary: Performance Co-Pilot (PCP) Perl bindings for importing external data into PCP archives
461 URL: http://www.pcp.io
462 Requires: pcp-libs = %{version}-%{release}
464 %description -n perl-PCP-LogImport
465 The PCP::LogImport module contains the Perl language bindings for
466 importing data in various 3rd party formats into PCP archives so
467 they can be replayed with standard PCP monitoring tools.
470 # perl-PCP-LogSummary
472 %package -n perl-PCP-LogSummary
473 License: GPLv2+
474 Group: Development/Libraries
475 Summary: Performance Co-Pilot (PCP) Perl bindings for post-processing output of pmlogsummary
476 URL: http://www.pcp.io
477 Requires: pcp-libs = %{version}-%{release}
479 %description -n perl-PCP-LogSummary
480 The PCP::LogSummary module provides a Perl module for using the
481 statistical summary data produced by the Performance Co-Pilot
482 pmlogsummary utility. This utility produces various averages,
483 minima, maxima, and other calculations based on the performance
484 data stored in a PCP archive. The Perl interface is ideal for
485 exporting this data into third-party tools (e.g. spreadsheets).
488 # pcp-import-sar2pcp
490 %package import-sar2pcp
491 License: LGPLv2+
492 Group: Applications/System
493 Summary: Performance Co-Pilot tools for importing sar data into PCP archive logs
494 URL: http://www.pcp.io
495 Requires: pcp-libs = %{version}-%{release}
496 Requires: perl-PCP-LogImport = %{version}-%{release}
497 Requires: sysstat
498 Requires: perl(XML::TokeParser)
500 %description import-sar2pcp
501 Performance Co-Pilot (PCP) front-end tools for importing sar data
502 into standard PCP archive logs for replay with any PCP monitoring tool.
505 # pcp-import-iostat2pcp
507 %package import-iostat2pcp
508 License: LGPLv2+
509 Group: Applications/System
510 Summary: Performance Co-Pilot tools for importing iostat data into PCP archive logs
511 URL: http://www.pcp.io
512 Requires: pcp-libs = %{version}-%{release}
513 Requires: perl-PCP-LogImport = %{version}-%{release}
514 Requires: sysstat
516 %description import-iostat2pcp
517 Performance Co-Pilot (PCP) front-end tools for importing iostat data
518 into standard PCP archive logs for replay with any PCP monitoring tool.
521 # pcp-import-mrtg2pcp
523 %package import-mrtg2pcp
524 License: LGPLv2+
525 Group: Applications/System
526 Summary: Performance Co-Pilot tools for importing MTRG data into PCP archive logs
527 URL: http://www.pcp.io
528 Requires: pcp-libs = %{version}-%{release}
529 Requires: perl-PCP-LogImport = %{version}-%{release}
531 %description import-mrtg2pcp
532 Performance Co-Pilot (PCP) front-end tools for importing MTRG data
533 into standard PCP archive logs for replay with any PCP monitoring tool.
536 # pcp-import-ganglia2pcp
538 %package import-ganglia2pcp
539 License: LGPLv2+
540 Group: Applications/System
541 Summary: Performance Co-Pilot tools for importing ganglia data into PCP archive logs
542 URL: http://www.pcp.io
543 Requires: pcp-libs = %{version}-%{release}
544 Requires: perl-PCP-LogImport = %{version}-%{release}
546 %description import-ganglia2pcp
547 Performance Co-Pilot (PCP) front-end tools for importing ganglia data
548 into standard PCP archive logs for replay with any PCP monitoring tool.
551 # pcp-export-zabbix-agent
553 %package export-zabbix-agent
554 License: GPLv2+
555 Group: Applications/System
556 Summary: Module for exporting PCP metrics to Zabbix agent
557 URL: http://www.pcp.io
558 Requires: pcp-libs = %{version}-%{release}
560 %description export-zabbix-agent
561 Performance Co-Pilot (PCP) module for exporting metrics from PCP to
562 Zabbix via the Zabbix agent - see zbxpcp(3) for further details.
564 %if !%{disable_python2} || !%{disable_python3}
566 # pcp-export-pcp2graphite
568 %package export-pcp2graphite
569 License: GPLv2+
570 Group: Applications/System
571 Summary: Performance Co-Pilot tools for exporting PCP metrics to Graphite
572 URL: http://www.pcp.io
573 Requires: pcp-libs >= %{version}-%{release}
574 %if !%{disable_python3}
575 Requires: python3-pcp = %{version}-%{release}
576 %else
577 Requires: python-pcp = %{version}-%{release}
578 %endif
580 %description export-pcp2graphite
581 Performance Co-Pilot (PCP) front-end tools for exporting metric values
582 to graphite (http://graphite.readthedocs.org).
584 # pcp-export-pcp2influxdb
586 %package export-pcp2influxdb
587 License: GPLv2+
588 Group: Applications/System
589 Summary: Performance Co-Pilot tools for exporting PCP metrics to InfluxDB
590 URL: http://www.pcp.io
591 Requires: pcp-libs >= %{version}-%{release}
592 %if !%{disable_python3}
593 Requires: python3-pcp = %{version}-%{release}
594 Requires: python3-requests
595 %else
596 Requires: python-pcp = %{version}-%{release}
597 Requires: python-requests
598 %endif
600 %description export-pcp2influxdb
601 Performance Co-Pilot (PCP) front-end tools for exporting metric values
602 to InfluxDB (https://influxdata.com/time-series-platform/influxdb).
603 %endif
606 # pcp-import-collectl2pcp
608 %package import-collectl2pcp
609 License: LGPLv2+
610 Group: Applications/System
611 Summary: Performance Co-Pilot tools for importing collectl log files into PCP archive logs
612 URL: http://www.pcp.io
613 Requires: pcp-libs = %{version}-%{release}
615 %description import-collectl2pcp
616 Performance Co-Pilot (PCP) front-end tools for importing collectl data
617 into standard PCP archive logs for replay with any PCP monitoring tool.
619 %if !%{disable_papi}
621 # pcp-pmda-papi
623 %package pmda-papi
624 License: GPLv2+
625 Group: Applications/System
626 Summary: Performance Co-Pilot (PCP) metrics for Performance API and hardware counters
627 URL: http://www.pcp.io
628 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
629 BuildRequires: papi-devel
631 %description pmda-papi
632 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
633 collecting hardware counters statistics through PAPI (Performance API).
634 %endif
636 %if !%{disable_perfevent}
638 # pcp-pmda-perfevent
640 %package pmda-perfevent
641 License: GPLv2+
642 Group: Applications/System
643 Summary: Performance Co-Pilot (PCP) metrics for hardware counters
644 URL: http://www.pcp.io
645 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
646 Requires: libpfm >= 4
647 BuildRequires: libpfm-devel >= 4
649 %description pmda-perfevent
650 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
651 collecting hardware counters statistics through libpfm.
652 %endif
654 %if !%{disable_infiniband}
656 # pcp-pmda-infiniband
658 %package pmda-infiniband
659 License: GPLv2+
660 Group: Applications/System
661 Summary: Performance Co-Pilot (PCP) metrics for Infiniband HCAs and switches
662 URL: http://www.pcp.io
663 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
664 Requires: libibmad >= 1.3.7 libibumad >= 1.3.7
665 BuildRequires: libibmad-devel >= 1.3.7 libibumad-devel >= 1.3.7
667 %description pmda-infiniband
668 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
669 collecting Infiniband statistics. By default, it monitors the local HCAs
670 but can also be configured to monitor remote GUIDs such as IB switches.
671 %endif
674 # pcp-pmda-activemq
676 %package pmda-activemq
677 License: GPLv2+
678 Group: Applications/System
679 Summary: Performance Co-Pilot (PCP) metrics for ActiveMQ
680 URL: http://www.pcp.io
681 Requires: perl-PCP-PMDA = %{version}-%{release}
682 Requires: perl(LWP::UserAgent)
684 %description pmda-activemq
685 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
686 collecting metrics about the ActiveMQ message broker.
687 #end pcp-pmda-activemq
690 # pcp-pmda-bonding
692 %package pmda-bonding
693 License: GPLv2+
694 Group: Applications/System
695 Summary: Performance Co-Pilot (PCP) metrics for Bonded network interfaces
696 URL: http://www.pcp.io
697 Requires: perl-PCP-PMDA = %{version}-%{release}
699 %description pmda-bonding
700 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
701 collecting metrics about bonded network interfaces.
702 #end pcp-pmda-bonding
705 # pcp-pmda-dbping
707 %package pmda-dbping
708 License: GPLv2+
709 Group: Applications/System
710 Summary: Performance Co-Pilot (PCP) metrics for Database response times and Availablility
711 URL: http://www.pcp.io
712 Requires: perl-PCP-PMDA = %{version}-%{release}
714 %description pmda-dbping
715 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
716 collecting metrics about the Database response times and Availablility.
717 #end pcp-pmda-dbping
720 # pcp-pmda-ds389
722 %package pmda-ds389
723 License: GPLv2+
724 Group: Applications/System
725 Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Servers
726 URL: http://www.pcp.io
727 Requires: perl-PCP-PMDA = %{version}-%{release}
728 Requires: perl-LDAP
730 %description pmda-ds389
731 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
732 collecting metrics about a 389 Directory Server.
733 #end pcp-pmda-ds389
736 # pcp-pmda-ds389log
738 %package pmda-ds389log
739 License: GPLv2+
740 Group: Applications/System
741 Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Server Loggers
742 URL: http://www.pcp.io
743 Requires: perl-PCP-PMDA = %{version}-%{release}
744 Requires: perl-Date-Manip
746 %description pmda-ds389log
747 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
748 collecting metrics from a 389 Directory Server log.
749 #end pcp-pmda-ds389log
752 # pcp-pmda-elasticsearch
754 %package pmda-elasticsearch
755 License: GPLv2+
756 Group: Applications/System
757 Summary: Performance Co-Pilot (PCP) metrics for Elasticsearch
758 URL: http://www.pcp.io
759 Requires: perl-PCP-PMDA = %{version}-%{release}
760 Requires: perl(LWP::UserAgent)
761 BuildRequires: perl(LWP::UserAgent)
763 %description pmda-elasticsearch
764 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
765 collecting metrics about Elasticsearch.
766 #end pcp-pmda-elasticsearch
769 # pcp-pmda-gpfs
771 %package pmda-gpfs
772 License: GPLv2+
773 Group: Applications/System
774 Summary: Performance Co-Pilot (PCP) metrics for GPFS Filesystem
775 URL: http://www.pcp.io
776 Requires: perl-PCP-PMDA = %{version}-%{release}
778 %description pmda-gpfs
779 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
780 collecting metrics about the GPFS filesystem.
781 #end pcp-pmda-gpfs
784 # pcp-pmda-gpsd
786 %package pmda-gpsd
787 License: GPLv2+
788 Group: Applications/System
789 Summary: Performance Co-Pilot (PCP) metrics for a GPS Daemon
790 URL: http://www.pcp.io
791 Requires: perl-PCP-PMDA = %{version}-%{release}
793 %description pmda-gpsd
794 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
795 collecting metrics about a GPS Daemon.
796 #end pcp-pmda-gpsd
799 # pcp-pmda-kvm
801 %package pmda-kvm
802 License: GPLv2+
803 Group: Applications/System
804 Summary: Performance Co-Pilot (PCP) metrics for KVM
805 URL: http://www.pcp.io
806 Requires: perl-PCP-PMDA = %{version}-%{release}
808 %description pmda-kvm
809 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
810 collecting metrics about the Kernel based Virtual Machine.
811 #end pcp-pmda-kvm
814 # pcp-pmda-lustre
816 %package pmda-lustre
817 License: GPLv2+
818 Group: Applications/System
819 Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem
820 URL: http://www.pcp.io
821 Requires: perl-PCP-PMDA = %{version}-%{release}
823 %description pmda-lustre
824 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
825 collecting metrics about the Lustre Filesystem.
826 #end pcp-pmda-lustre
829 # pcp-pmda-lustrecomm
831 %package pmda-lustrecomm
832 License: GPLv2+
833 Group: Applications/System
834 Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem Comms
835 URL: http://www.pcp.io
836 Requires: pcp = %{version}-%{release}
837 Requires: pcp-libs = %{version}-%{release}
839 %description pmda-lustrecomm
840 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
841 collecting metrics about the Lustre Filesystem Comms.
842 #end pcp-pmda-lustrecomm
845 # pcp-pmda-memcache
847 %package pmda-memcache
848 License: GPLv2+
849 Group: Applications/System
850 Summary: Performance Co-Pilot (PCP) metrics for Memcached
851 URL: http://www.pcp.io
852 Requires: perl-PCP-PMDA = %{version}-%{release}
854 %description pmda-memcache
855 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
856 collecting metrics about Memcached.
857 #end pcp-pmda-memcache
860 # pcp-pmda-mysql
862 %package pmda-mysql
863 License: GPLv2+
864 Group: Applications/System
865 Summary: Performance Co-Pilot (PCP) metrics for MySQL
866 URL: http://www.pcp.io
867 Requires: perl-PCP-PMDA = %{version}-%{release}
868 Requires: perl(DBI) perl(DBD::mysql)
869 BuildRequires: perl(DBI) perl(DBD::mysql)
871 %description pmda-mysql
872 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
873 collecting metrics about the MySQL database.
874 #end pcp-pmda-mysql
877 # pcp-pmda-named
879 %package pmda-named
880 License: GPLv2+
881 Group: Applications/System
882 Summary: Performance Co-Pilot (PCP) metrics for Named
883 URL: http://www.pcp.io
884 Requires: perl-PCP-PMDA = %{version}-%{release}
886 %description pmda-named
887 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
888 collecting metrics about the Named nameserver.
889 #end pcp-pmda-named
891 # pcp-pmda-netfilter
893 %package pmda-netfilter
894 License: GPLv2+
895 Group: Applications/System
896 Summary: Performance Co-Pilot (PCP) metrics for Netfilter framework
897 URL: http://www.pcp.io
898 Requires: perl-PCP-PMDA = %{version}-%{release}
900 %description pmda-netfilter
901 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
902 collecting metrics about the Netfilter packet filtering framework.
903 #end pcp-pmda-netfilter
906 # pcp-pmda-news
908 %package pmda-news
909 License: GPLv2+
910 Group: Applications/System
911 Summary: Performance Co-Pilot (PCP) metrics for Usenet News
912 URL: http://www.pcp.io
913 Requires: perl-PCP-PMDA = %{version}-%{release}
915 %description pmda-news
916 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
917 collecting metrics about Usenet News.
918 #end pcp-pmda-news
921 # pcp-pmda-nginx
923 %package pmda-nginx
924 License: GPLv2+
925 Group: Applications/System
926 Summary: Performance Co-Pilot (PCP) metrics for the Nginx Webserver
927 URL: http://www.pcp.io
928 Requires: perl-PCP-PMDA = %{version}-%{release}
929 Requires: perl(LWP::UserAgent)
930 BuildRequires: perl(LWP::UserAgent)
932 %description pmda-nginx
933 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
934 collecting metrics about the Nginx Webserver.
935 #end pcp-pmda-nginx
938 # pcp-pmda-nfsclient
940 %package pmda-nfsclient
941 License: GPLv2+
942 Group: Applications/System
943 Summary: Performance Co-Pilot (PCP) metrics for NFS Clients
944 URL: http://www.pcp.io
945 Requires: perl-PCP-PMDA = %{version}-%{release}
947 %description pmda-nfsclient
948 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
949 collecting metrics for NFS Clients.
950 #end pcp-pmda-nfsclient
953 # pcp-pmda-oracle
955 %package pmda-oracle
956 License: GPLv2+
957 Group: Applications/System
958 Summary: Performance Co-Pilot (PCP) metrics for the Oracle database
959 URL: http://www.pcp.io
960 Requires: perl-PCP-PMDA = %{version}-%{release}
961 Requires: perl(DBI)
962 BuildRequires: perl(DBI)
964 %description pmda-oracle
965 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
966 collecting metrics about the Oracle database.
967 #end pcp-pmda-oracle
970 # pcp-pmda-pdns
972 %package pmda-pdns
973 License: GPLv2+
974 Group: Applications/System
975 Summary: Performance Co-Pilot (PCP) metrics for PowerDNS
976 URL: http://www.pcp.io
977 Requires: perl-PCP-PMDA = %{version}-%{release}
979 %description pmda-pdns
980 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
981 collecting metrics about the PowerDNS.
982 #end pcp-pmda-pdns
985 # pcp-pmda-postfix
987 %package pmda-postfix
988 License: GPLv2+
989 Group: Applications/System
990 Summary: Performance Co-Pilot (PCP) metrics for the Postfix (MTA)
991 URL: http://www.pcp.io
992 Requires: perl-PCP-PMDA = %{version}-%{release}
993 %if 0%{?fedora} > 16 || 0%{?rhel} > 5
994 Requires: postfix-perl-scripts
995 BuildRequires: postfix-perl-scripts
996 %endif
997 %if 0%{?rhel} <= 5
998 Requires: postfix
999 BuildRequires: postfix
1000 %endif
1001 %if "%{_vendor}" == "suse"
1002 Requires: postfix-doc
1003 BuildRequires: postfix-doc
1004 %endif
1006 %description pmda-postfix
1007 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1008 collecting metrics about the Postfix (MTA).
1009 #end pcp-pmda-postfix
1012 # pcp-pmda-postgresql
1014 %package pmda-postgresql
1015 License: GPLv2+
1016 Group: Applications/System
1017 Summary: Performance Co-Pilot (PCP) metrics for PostgreSQL
1018 URL: http://www.pcp.io
1019 Requires: perl-PCP-PMDA = %{version}-%{release}
1020 Requires: perl(DBI) perl(DBD::Pg)
1021 BuildRequires: perl(DBI) perl(DBD::Pg)
1023 %description pmda-postgresql
1024 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1025 collecting metrics about the PostgreSQL database.
1026 #end pcp-pmda-postgresql
1029 # pcp-pmda-rsyslog
1031 %package pmda-rsyslog
1032 License: GPLv2+
1033 Group: Applications/System
1034 Summary: Performance Co-Pilot (PCP) metrics for Rsyslog
1035 URL: http://www.pcp.io
1036 Requires: perl-PCP-PMDA = %{version}-%{release}
1038 %description pmda-rsyslog
1039 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1040 collecting metrics about Rsyslog.
1041 #end pcp-pmda-rsyslog
1044 # pcp-pmda-samba
1046 %package pmda-samba
1047 License: GPLv2+
1048 Group: Applications/System
1049 Summary: Performance Co-Pilot (PCP) metrics for Samba
1050 URL: http://www.pcp.io
1051 Requires: perl-PCP-PMDA = %{version}-%{release}
1053 %description pmda-samba
1054 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1055 collecting metrics about Samba.
1056 #end pcp-pmda-samba
1059 # pcp-pmda-slurm
1061 %package pmda-slurm
1062 License: GPLv2+
1063 Group: Applications/System
1064 Summary: Performance Co-Pilot (PCP) metrics for NFS Clients
1065 URL: http://www.pcp.io
1066 Requires: perl-PCP-PMDA = %{version}-%{release}
1068 %description pmda-slurm
1069 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1070 collecting metrics from the SLURM Workload Manager.
1071 #end pcp-pmda-slurm
1073 %if !%{disable_snmp}
1075 # pcp-pmda-snmp
1077 %package pmda-snmp
1078 License: GPLv2+
1079 Group: Applications/System
1080 Summary: Performance Co-Pilot (PCP) metrics for Simple Network Management Protocol
1081 URL: http://www.pcp.io
1082 Requires: perl-PCP-PMDA = %{version}-%{release}
1083 # There are no perl-Net-SNMP packages in rhel, disable unless non-rhel or epel5
1084 %if 0%{?rhel} == 0 || 0%{?rhel} < 6
1085 Requires: perl(Net::SNMP)
1086 %endif
1088 %description pmda-snmp
1089 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1090 collecting metrics about SNMP.
1091 #end pcp-pmda-snmp
1092 %endif
1095 # pcp-pmda-vmware
1097 %package pmda-vmware
1098 License: GPLv2+
1099 Group: Applications/System
1100 Summary: Performance Co-Pilot (PCP) metrics for VMware
1101 URL: http://www.pcp.io
1102 Requires: perl-PCP-PMDA = %{version}-%{release}
1104 %description pmda-vmware
1105 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1106 collecting metrics for VMware.
1107 #end pcp-pmda-vmware
1110 # pcp-pmda-zimbra
1112 %package pmda-zimbra
1113 License: GPLv2+
1114 Group: Applications/System
1115 Summary: Performance Co-Pilot (PCP) metrics for Zimbra
1116 URL: http://www.pcp.io
1117 Requires: perl-PCP-PMDA = %{version}-%{release}
1119 %description pmda-zimbra
1120 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1121 collecting metrics about Zimbra.
1122 #end pcp-pmda-zimbra
1125 # pcp-pmda-dm
1127 %package pmda-dm
1128 License: GPLv2+
1129 Group: Applications/System
1130 Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client
1131 URL: http://www.pcp.io
1132 Requires: pcp-libs = %{version}-%{release}
1133 %description pmda-dm
1134 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1135 collecting metrics about the Device Mapper Cache and Thin Client.
1136 # end pcp-pmda-dm
1139 %if !%{disable_python2} || !%{disable_python3}
1141 # pcp-pmda-gluster
1143 %package pmda-gluster
1144 License: GPLv2+
1145 Group: Applications/System
1146 Summary: Performance Co-Pilot (PCP) metrics for the Gluster filesystem
1147 URL: http://www.pcp.io
1148 %if !%{disable_python3}
1149 Requires: python3-pcp
1150 %else
1151 Requires: python-pcp
1152 %endif
1153 %description pmda-gluster
1154 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1155 collecting metrics about the gluster filesystem.
1156 # end pcp-pmda-gluster
1159 # pcp-pmda-zswap
1161 %package pmda-zswap
1162 License: GPLv2+
1163 Group: Applications/System
1164 Summary: Performance Co-Pilot (PCP) metrics for compressed swap
1165 URL: http://www.pcp.io
1166 %if !%{disable_python3}
1167 Requires: python3-pcp
1168 %else
1169 Requires: python-pcp
1170 %endif
1171 %description pmda-zswap
1172 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1173 collecting metrics about compressed swap.
1174 # end pcp-pmda-zswap
1177 # pcp-pmda-unbound
1179 %package pmda-unbound
1180 License: GPLv2+
1181 Group: Applications/System
1182 Summary: Performance Co-Pilot (PCP) metrics for the Unbound DNS Resolver
1183 URL: http://www.pcp.io
1184 %if !%{disable_python3}
1185 Requires: python3-pcp
1186 %else
1187 Requires: python-pcp
1188 %endif
1189 %description pmda-unbound
1190 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1191 collecting metrics about the Unbound DNS Resolver.
1192 # end pcp-pmda-unbound
1195 # pcp-pmda-mic
1197 %package pmda-mic
1198 License: GPLv2+
1199 Group: Applications/System
1200 Summary: Performance Co-Pilot (PCP) metrics for Intel MIC cards
1201 URL: http://www.pcp.io
1202 %if !%{disable_python3}
1203 Requires: python3-pcp
1204 %else
1205 Requires: python-pcp
1206 %endif
1207 %description pmda-mic
1208 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1209 collecting metrics about Intel MIC cards.
1210 # end pcp-pmda-mic
1213 # pcp-pmda-libvirt
1215 %package pmda-libvirt
1216 License: GPLv2+
1217 Group: Applications/System
1218 Summary: Performance Co-Pilot (PCP) metrics for virtual machines
1219 URL: http://www.pcp.io
1220 %if !%{disable_python3}
1221 Requires: python3-pcp
1222 Requires: libvirt-python3 python3-lxml
1223 BuildRequires: libvirt-python3
1224 %else
1225 Requires: python-pcp
1226 Requires: libvirt-python python-lxml
1227 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
1228 BuildRequires: libvirt-python
1229 %endif
1230 %endif
1231 %description pmda-libvirt
1232 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1233 extracting virtualisation statistics from libvirt about behaviour of guest
1234 and hypervisor machines.
1235 # end pcp-pmda-libvirt
1237 %endif # !%{disable_python2} || !%{disable_python3}
1239 %if !%{disable_json}
1241 # pcp-pmda-json
1243 %package pmda-json
1244 License: GPLv2+
1245 Group: Applications/System
1246 Summary: Performance Co-Pilot (PCP) metrics for JSON data
1247 URL: http://www.pcp.io
1248 %if !%{disable_python3}
1249 Requires: python3-pcp
1250 Requires: python3-jsonpointer python3-six
1251 BuildRequires: python3-jsonpointer python3-six
1252 %else
1253 Requires: python-pcp
1254 Requires: python-jsonpointer python-six
1255 BuildRequires: python-jsonpointer python-six
1256 %endif
1257 %description pmda-json
1258 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1259 collecting metrics output in JSON.
1260 # end pcp-pmda-json
1261 %endif # !%{disable_json}
1264 # C pmdas
1265 # pcp-pmda-apache
1267 %package pmda-apache
1268 License: GPLv2+
1269 Group: Applications/System
1270 Summary: Performance Co-Pilot (PCP) metrics for the Apache webserver
1271 URL: http://www.pcp.io
1272 Requires: pcp-libs = %{version}-%{release}
1273 %description pmda-apache
1274 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1275 collecting metrics about the Apache webserver.
1276 # end pcp-pmda-apache
1279 # pcp-pmda-bash
1281 %package pmda-bash
1282 License: GPLv2+
1283 Group: Applications/System
1284 Summary: Performance Co-Pilot (PCP) metrics for the Bash shell
1285 URL: http://www.pcp.io
1286 Requires: pcp-libs = %{version}-%{release}
1287 %description pmda-bash
1288 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1289 collecting metrics about the Bash shell.
1290 # end pcp-pmda-bash
1293 # pcp-pmda-cifs
1295 %package pmda-cifs
1296 License: GPLv2+
1297 Group: Applications/System
1298 Summary: Performance Co-Pilot (PCP) metrics for the Cifs shell
1299 URL: http://www.pcp.io
1300 Requires: pcp-libs = %{version}-%{release}
1301 %description pmda-cifs
1302 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1303 collecting metrics about the Common Internet Filesytem.
1304 # end pcp-pmda-cifs
1307 # pcp-pmda-cisco
1309 %package pmda-cisco
1310 License: GPLv2+
1311 Group: Applications/System
1312 Summary: Performance Co-Pilot (PCP) metrics for the Cisco shell
1313 URL: http://www.pcp.io
1314 Requires: pcp-libs = %{version}-%{release}
1315 %description pmda-cisco
1316 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1317 collecting metrics about Cisco routers.
1318 # end pcp-pmda-cisco
1321 # pcp-pmda-gfs2
1323 %package pmda-gfs2
1324 License: GPLv2+
1325 Group: Applications/System
1326 Summary: Performance Co-Pilot (PCP) metrics for the Gfs2 shell
1327 URL: http://www.pcp.io
1328 Requires: pcp-libs = %{version}-%{release}
1329 %description pmda-gfs2
1330 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1331 collecting metrics about the Global Filesystem v2.
1332 # end pcp-pmda-gfs2
1335 # pcp-pmda-lmsensors
1337 %package pmda-lmsensors
1338 License: GPLv2+
1339 Group: Applications/System
1340 Summary: Performance Co-Pilot (PCP) metrics for the Lmsensors shell
1341 URL: http://www.pcp.io
1342 Requires: pcp-libs = %{version}-%{release}
1343 %description pmda-lmsensors
1344 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1345 collecting metrics about the Linux hardware monitoring sensors.
1346 # end pcp-pmda-lmsensors
1349 # pcp-pmda-logger
1351 %package pmda-logger
1352 License: GPLv2+
1353 Group: Applications/System
1354 Summary: Performance Co-Pilot (PCP) metrics from arbitrary log files
1355 URL: http://www.pcp.io
1356 Requires: pcp-libs = %{version}-%{release}
1357 %description pmda-logger
1358 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1359 collecting metrics from a specified set of log files (or pipes). The PMDA
1360 supports both sampled and event-style metrics.
1361 # end pcp-pmda-logger
1364 # pcp-pmda-mailq
1366 %package pmda-mailq
1367 License: GPLv2+
1368 Group: Applications/System
1369 Summary: Performance Co-Pilot (PCP) metrics for the Mailq shell
1370 URL: http://www.pcp.io
1371 Requires: pcp-libs = %{version}-%{release}
1372 %description pmda-mailq
1373 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1374 collecting metrics about email queues managed by sendmail.
1375 # end pcp-pmda-mailq
1378 # pcp-pmda-mounts
1380 %package pmda-mounts
1381 License: GPLv2+
1382 Group: Applications/System
1383 Summary: Performance Co-Pilot (PCP) metrics for the Mounts shell
1384 URL: http://www.pcp.io
1385 Requires: pcp-libs = %{version}-%{release}
1386 %description pmda-mounts
1387 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1388 collecting metrics about filesystem mounts.
1389 # end pcp-pmda-mounts
1392 # pcp-pmda-nvidia-gpu
1394 %package pmda-nvidia-gpu
1395 License: GPLv2+
1396 Group: Applications/System
1397 Summary: Performance Co-Pilot (PCP) metrics for the Nvidia shell
1398 URL: http://www.pcp.io
1399 Requires: pcp-libs = %{version}-%{release}
1400 %description pmda-nvidia-gpu
1401 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1402 collecting metrics about the Nvidia gpu metrics.
1403 # end pcp-pmda-nvidia-gpu
1406 # pcp-pmda-roomtemp
1408 %package pmda-roomtemp
1409 License: GPLv2+
1410 Group: Applications/System
1411 Summary: Performance Co-Pilot (PCP) metrics for the Roomtemp shell
1412 URL: http://www.pcp.io
1413 Requires: pcp = %{version}-%{release}
1414 Requires: pcp-libs = %{version}-%{release}
1415 %description pmda-roomtemp
1416 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1417 collecting metrics about the Room temperature metrics.
1418 # end pcp-pmda-roomtemp
1420 %if !%{disable_rpm}
1422 # pcp-pmda-rpm
1424 %package pmda-rpm
1425 License: GPLv2+
1426 Group: Applications/System
1427 Summary: Performance Co-Pilot (PCP) metrics for the Rpm shell
1428 URL: http://www.pcp.io
1429 Requires: pcp = %{version}-%{release}
1430 Requires: pcp-libs = %{version}-%{release}
1431 %description pmda-rpm
1432 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1433 collecting metrics about the rpms.
1434 # end pcp-pmda-rpm
1435 %endif
1438 # pcp-pmda-sendmail
1440 %package pmda-sendmail
1441 License: GPLv2+
1442 Group: Applications/System
1443 Summary: Performance Co-Pilot (PCP) metrics for the Sendmail shell
1444 URL: http://www.pcp.io
1445 Requires: pcp = %{version}-%{release}
1446 Requires: pcp-libs = %{version}-%{release}
1447 %description pmda-sendmail
1448 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1449 collecting metrics about Sendmail traffic metrics.
1450 # end pcp-pmda-sendmail
1453 # pcp-pmda-shping
1455 %package pmda-shping
1456 License: GPLv2+
1457 Group: Applications/System
1458 Summary: Performance Co-Pilot (PCP) metrics for the Shping shell
1459 URL: http://www.pcp.io
1460 Requires: pcp-libs = %{version}-%{release}
1461 %description pmda-shping
1462 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1463 collecting metrics about quality of service and response time measurements of
1464 arbitrary shell commands.
1465 # end pcp-pmda-shping
1468 # pcp-pmda-summary
1470 %package pmda-summary
1471 License: GPLv2+
1472 Group: Applications/System
1473 Summary: Performance Co-Pilot (PCP) metrics for the Summary shell
1474 URL: http://www.pcp.io
1475 Requires: pcp = %{version}-%{release}
1476 Requires: pcp-libs = %{version}-%{release}
1477 %description pmda-summary
1478 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1479 collecting metrics about other installed pmdas.
1480 # end pcp-pmda-summary
1482 %if !%{disable_systemd}
1484 # pcp-pmda-systemd
1486 %package pmda-systemd
1487 License: GPLv2+
1488 Group: Applications/System
1489 Summary: Performance Co-Pilot (PCP) metrics for the Systemd shell
1490 URL: http://www.pcp.io
1491 Requires: pcp-libs = %{version}-%{release}
1492 %description pmda-systemd
1493 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1494 collecting metrics about the Systemd shell.
1495 # end pcp-pmda-systemd
1496 %endif
1499 # pcp-pmda-trace
1501 %package pmda-trace
1502 License: GPLv2+
1503 Group: Applications/System
1504 Summary: Performance Co-Pilot (PCP) metrics for the Trace shell
1505 URL: http://www.pcp.io
1506 Requires: pcp-libs = %{version}-%{release}
1507 %description pmda-trace
1508 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1509 collecting metrics about transaction performance metrics from applications.
1510 # end pcp-pmda-trace
1513 # pcp-pmda-weblog
1515 %package pmda-weblog
1516 License: GPLv2+
1517 Group: Applications/System
1518 Summary: Performance Co-Pilot (PCP) metrics for the Weblog shell
1519 URL: http://www.pcp.io
1520 Requires: pcp = %{version}-%{release}
1521 Requires: pcp-libs = %{version}-%{release}
1522 %description pmda-weblog
1523 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1524 collecting metrics about web server logs.
1525 # end pcp-pmda-weblog
1526 # end C pmdas
1528 # pcp-collector metapackage
1529 %package collector
1530 License: GPLv2+
1531 Group: Applications/System
1532 Summary: Performance Co-Pilot (PCP) Collection meta Package
1533 URL: http://www.pcp.io
1534 Requires: pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
1535 Requires: pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-kvm pcp-pmda-lustre
1536 Requires: pcp-pmda-memcache pcp-pmda-mysql pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
1537 Requires: pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql pcp-pmda-oracle
1538 Requires: pcp-pmda-samba pcp-pmda-slurm pcp-pmda-vmware pcp-pmda-zimbra
1539 Requires: pcp-pmda-dm pcp-pmda-apache
1540 Requires: pcp-pmda-bash pcp-pmda-cisco pcp-pmda-gfs2 pcp-pmda-lmsensors pcp-pmda-mailq pcp-pmda-mounts
1541 Requires: pcp-pmda-nvidia-gpu pcp-pmda-roomtemp pcp-pmda-sendmail pcp-pmda-shping
1542 Requires: pcp-pmda-lustrecomm pcp-pmda-logger
1543 %if !%{disable_python2} || !%{disable_python3}
1544 Requires: pcp-pmda-gluster pcp-pmda-zswap pcp-pmda-unbound pcp-pmda-mic pcp-pmda-libvirt
1545 %endif
1546 %if !%{disable_snmp}
1547 Requires: pcp-pmda-snmp
1548 %endif
1549 %if !%{disable_json}
1550 Requires: pcp-pmda-json
1551 %endif
1552 %if !%{disable_rpm}
1553 Requires: pcp-pmda-rpm
1554 %endif
1555 Requires: pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
1556 %description collector
1557 This meta-package installs the PCP metric collection dependencies. This
1558 includes the vast majority of packages used to collect PCP metrics. The
1559 pcp-collector package also automatically enables and starts the pmcd and
1560 pmlogger services.
1561 # collector
1563 # pcp-monitor metapackage
1564 %package monitor
1565 License: GPLv2+
1566 Group: Applications/System
1567 Summary: Performance Co-Pilot (PCP) Monitoring meta Package
1568 URL: http://www.pcp.io
1569 %if !%{disable_microhttpd}
1570 Requires: pcp-webapi
1571 %endif
1572 %if !%{disable_python2} || !%{disable_python3}
1573 Requires: pcp-system-tools
1574 %endif
1575 %if !%{disable_qt}
1576 Requires: pcp-gui
1577 %endif
1578 %description monitor
1579 This meta-package contains the PCP performance monitoring dependencies. This
1580 includes a large number of packages for analysing PCP metrics in various ways.
1581 # monitor
1583 %if !%{disable_python2}
1585 # python-pcp. This is the PCP library bindings for python.
1587 %package -n python-pcp
1588 License: GPLv2+
1589 Group: Development/Libraries
1590 Summary: Performance Co-Pilot (PCP) Python bindings and documentation
1591 URL: http://www.pcp.io
1592 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
1593 %if 0%{?rhel} == 5
1594 Requires: python%{default_python}
1595 %else
1596 Requires: python
1597 %endif
1599 %description -n python-pcp
1600 This python PCP module contains the language bindings for
1601 Performance Metric API (PMAPI) monitor tools and Performance
1602 Metric Domain Agent (PMDA) collector tools written in Python.
1603 %endif
1605 %if !%{disable_python3}
1607 # python3-pcp. This is the PCP library bindings for python3.
1609 %package -n python3-pcp
1610 License: GPLv2+
1611 Group: Development/Libraries
1612 Summary: Performance Co-Pilot (PCP) Python3 bindings and documentation
1613 URL: http://www.pcp.io
1614 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
1615 Requires: python3
1617 %description -n python3-pcp
1618 This python PCP module contains the language bindings for
1619 Performance Metric API (PMAPI) monitor tools and Performance
1620 Metric Domain Agent (PMDA) collector tools written in Python3.
1621 %endif
1623 %if !%{disable_python2} || !%{disable_python3}
1625 # pcp-system-tools
1627 %package -n pcp-system-tools
1628 License: GPLv2+
1629 Group: Development/Libraries
1630 Summary: Performance Co-Pilot (PCP) System and Monitoring Tools
1631 URL: http://www.pcp.io
1632 %if !%{disable_python3}
1633 Requires: python3-pcp = %{version}-%{release}
1634 %endif
1635 %if !%{disable_python2}
1636 Requires: python-pcp = %{version}-%{release}
1637 %endif
1638 Requires: pcp-libs = %{version}-%{release}
1639 %description -n pcp-system-tools
1640 This PCP module contains additional system monitoring tools written
1641 in python.
1642 %endif #end pcp-system-tools
1644 %if !%{disable_qt}
1646 # pcp-gui package for Qt tools
1648 %package -n pcp-gui
1649 License: GPLv2+ and LGPLv2+ and LGPLv2+ with exceptions
1650 Group: Applications/System
1651 Summary: Visualization tools for the Performance Co-Pilot toolkit
1652 URL: http://www.pcp.io
1653 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
1655 %description -n pcp-gui
1656 Visualization tools for the Performance Co-Pilot toolkit.
1657 The pcp-gui package primarily includes visualization tools for
1658 monitoring systems using live and archived Performance Co-Pilot
1659 (PCP) sources.
1660 %endif
1663 # pcp-doc package
1665 %package -n pcp-doc
1666 License: GPLv2+ and CC-BY
1667 Group: Documentation
1668 %if !%{disable_noarch}
1669 BuildArch: noarch
1670 %endif
1671 Summary: Documentation and tutorial for the Performance Co-Pilot
1672 URL: http://www.pcp.io
1673 # http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
1674 # (all man pages migrated to pcp-doc during great package split of '15)
1675 Conflicts: pcp-pmda-pmda < 3.10.5
1676 Conflicts: pcp-pmda-infiniband < 3.10.5
1678 %description -n pcp-doc
1679 Documentation and tutorial for the Performance Co-Pilot
1680 Performance Co-Pilot (PCP) provides a framework and services to support
1681 system-level performance monitoring and performance management.
1683 The pcp-doc package provides useful information on using and
1684 configuring the Performance Co-Pilot (PCP) toolkit for system
1685 level performance management. It includes tutorials, HOWTOs,
1686 and other detailed documentation about the internals of core
1687 PCP utilities and daemons, and the PCP graphical tools.
1689 %prep
1690 %setup -q
1691 %setup -q -T -D -a 1 -c -n pcp-%{version}/vector
1692 %setup -q -T -D -a 2
1694 %clean
1695 rm -Rf $RPM_BUILD_ROOT
1697 %build
1698 %if !%{disable_python2} && 0%{?default_python} != 3
1699 export PYTHON=python%{?default_python}
1700 %endif
1701 %configure %{?_with_initd} %{?_with_doc} %{?_with_ib} %{?_with_papi} %{?_with_perfevent} %{?_with_json} %{?_with_snmp}
1702 make %{?_smp_mflags} default_pcp
1704 %install
1705 rm -Rf $RPM_BUILD_ROOT
1706 export NO_CHOWN=true DIST_ROOT=$RPM_BUILD_ROOT
1707 make install_pcp
1709 PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
1711 # Fix stuff we do/don't want to ship
1712 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
1714 # remove sheet2pcp until BZ 830923 and BZ 754678 are resolved.
1715 rm -f $RPM_BUILD_ROOT/%{_bindir}/sheet2pcp $RPM_BUILD_ROOT/%{_mandir}/man1/sheet2pcp.1*
1717 # remove {config,platform}sz.h as these are not multilib friendly.
1718 rm -f $RPM_BUILD_ROOT/%{_includedir}/pcp/configsz.h
1719 rm -f $RPM_BUILD_ROOT/%{_includedir}/pcp/platformsz.h
1721 %if %{disable_microhttpd}
1722 rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmwebd
1723 rm -fr $RPM_BUILD_ROOT/%{_initddir}/pmwebd
1724 rm -fr $RPM_BUILD_ROOT/%{_unitdir}/pmwebd.service
1725 rm -f $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin/pmwebd
1726 %endif
1727 # prefer latest released Netflix version over pcp-webjs copy.
1728 rm -fr pcp-webjs/vector
1729 sed -i -e 's/vector [0-9]\.[0-9]*\.[0-9]*/vector/g' pcp-webjs/index.html
1730 mv pcp-webjs/* $RPM_BUILD_ROOT/%{_datadir}/pcp/webapps
1731 rmdir pcp-webjs
1732 mv vector $RPM_BUILD_ROOT/%{_datadir}/pcp/webapps
1734 %if %{disable_infiniband}
1735 # remove pmdainfiniband on platforms lacking IB devel packages.
1736 rm -f $RPM_BUILD_ROOT/%{_pmdasdir}/ib
1737 rm -fr $RPM_BUILD_ROOT/%{_pmdasdir}/infiniband
1738 %endif
1740 %if %{disable_qt}
1741 rm -fr $RPM_BUILD_ROOT/%{_pixmapdir}
1742 rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmsnap
1743 rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmsnap
1744 rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmchart
1745 rm -f $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
1746 rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
1747 rm -f `find $RPM_BUILD_ROOT/%{_mandir}/man1 | grep -E "$PCP_GUI"`
1748 %else
1749 rm -rf $RPM_BUILD_ROOT/usr/share/doc/pcp-gui
1750 desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
1751 %endif
1753 # default chkconfig off for Fedora and RHEL
1754 for f in $RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmwebd,pmmgr,pmproxy}; do
1755 test -f "$f" || continue
1756 sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f
1757 done
1759 # list of PMDAs in the base pkg
1760 ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
1761 grep -E -v '^simple|sample|trivial|txmon' |\
1762 grep -E -v '^perfevent|perfalloc.1' |\
1763 grep -E -v '^ib$|^infiniband' |\
1764 grep -E -v '^papi' |\
1765 grep -E -v '^activemq' |\
1766 grep -E -v '^bonding' |\
1767 grep -E -v '^dbping' |\
1768 grep -E -v '^ds389log'|\
1769 grep -E -v '^ds389' |\
1770 grep -E -v '^elasticsearch' |\
1771 grep -E -v '^gpfs' |\
1772 grep -E -v '^gpsd' |\
1773 grep -E -v '^kvm' |\
1774 grep -E -v '^lustre' |\
1775 grep -E -v '^lustrecomm' |\
1776 grep -E -v '^memcache' |\
1777 grep -E -v '^mysql' |\
1778 grep -E -v '^named' |\
1779 grep -E -v '^netfilter' |\
1780 grep -E -v '^news' |\
1781 grep -E -v '^nfsclient' |\
1782 grep -E -v '^nginx' |\
1783 grep -E -v '^oracle' |\
1784 grep -E -v '^pdns' |\
1785 grep -E -v '^postfix' |\
1786 grep -E -v '^postgresql' |\
1787 grep -E -v '^rsyslog' |\
1788 grep -E -v '^samba' |\
1789 grep -E -v '^slurm' |\
1790 grep -E -v '^snmp' |\
1791 grep -E -v '^vmware' |\
1792 grep -E -v '^zimbra' |\
1793 grep -E -v '^dm' |\
1794 grep -E -v '^apache' |\
1795 grep -E -v '^bash' |\
1796 grep -E -v '^cifs' |\
1797 grep -E -v '^cisco' |\
1798 grep -E -v '^gfs2' |\
1799 grep -E -v '^libvirt' |\
1800 grep -E -v '^lmsensors' |\
1801 grep -E -v '^logger' |\
1802 grep -E -v '^mailq' |\
1803 grep -E -v '^mounts' |\
1804 grep -E -v '^nvidia' |\
1805 grep -E -v '^roomtemp' |\
1806 grep -E -v '^sendmail' |\
1807 grep -E -v '^shping' |\
1808 grep -E -v '^summary' |\
1809 grep -E -v '^trace' |\
1810 grep -E -v '^weblog' |\
1811 grep -E -v '^rpm' |\
1812 grep -E -v '^json' |\
1813 grep -E -v '^mic' |\
1814 grep -E -v '^gluster' |\
1815 grep -E -v '^zswap' |\
1816 grep -E -v '^unbound' |\
1817 sed -e 's#^#'%{_pmdasdir}'\/#' >base_pmdas.list
1819 # all base pcp package files except those split out into sub packages
1820 ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
1821 grep -E -v 'pmiostat|pmcollectl|pmatop|zabbix|zbxpcp' |\
1822 grep -E -v 'pmrep|pcp2graphite|pcp2influxdb' |\
1823 grep -E -v 'pmdbg|pmclient|pmerr|genpmda' |\
1824 sed -e 's#^#'%{_bindir}'\/#' >base_bin.list
1826 # Separate the pcp-system-tools package files.
1828 # pmatop, pmcollectl and pmiostat are back-compat symlinks to their
1829 # pcp(1) sub-command variants so must also be in pcp-system-tools.
1830 %if !%{disable_python2} || !%{disable_python3}
1831 ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
1832 grep -E 'pmiostat|pmcollectl|pmatop|pmrep' |\
1833 sed -e 's#^#'%{_bindir}'\/#' >pcp_system_tools.list
1834 ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
1835 grep -E 'atop|collectl|dmcache|free|iostat|mpstat|numastat|pidstat|verify|uptime|shping' |\
1836 sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >>pcp_system_tools.list
1837 %endif
1839 ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
1840 %if !%{disable_python2} || !%{disable_python3}
1841 grep -E -v 'atop|collectl|dmcache|free|iostat|mpstat|numastat|pidstat|verify|uptime|shping' |\
1842 %endif
1843 sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >base_exec.list
1844 ls -1 $RPM_BUILD_ROOT/%{_booksdir} |\
1845 sed -e 's#^#'%{_booksdir}'\/#' > pcp-doc.list
1846 ls -1 $RPM_BUILD_ROOT/%{_mandir}/man1 |\
1847 sed -e 's#^#'%{_mandir}'\/man1\/#' >>pcp-doc.list
1848 ls -1 $RPM_BUILD_ROOT/%{_mandir}/man5 |\
1849 sed -e 's#^#'%{_mandir}'\/man5\/#' >>pcp-doc.list
1850 ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos/tutorials |\
1851 sed -e 's#^#'%{_datadir}/pcp/demos/tutorials'\/#' >>pcp-doc.list
1852 %if !%{disable_qt}
1853 ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
1854 sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
1855 cat base_bin.list base_exec.list base_man.list |\
1856 grep -E "$PCP_GUI" >> pcp-gui.list
1857 %endif
1858 cat base_pmdas.list base_bin.list base_exec.list base_man.list |\
1859 grep -E -v 'pmdaib|pmmgr|pmweb|pmsnap|2pcp|pmdas/systemd' |\
1860 grep -E -v "$PCP_GUI|pixmaps|pcp-doc|tutorials" |\
1861 grep -E -v %{_confdir} | grep -E -v %{_logsdir} > base.list
1863 # all devel pcp package files except those split out into sub packages
1864 ls -1 $RPM_BUILD_ROOT/%{_mandir}/man3 |\
1865 sed -e 's#^#'%{_mandir}'\/man3\/#' | grep -v '3pm' >>pcp-doc.list
1866 ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos |\
1867 sed -e 's#^#'%{_datadir}'\/pcp\/demos\/#' | grep -E -v tutorials >> devel.list
1868 ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
1869 grep -E 'pmdbg|pmclient|pmerr|genpmda' |\
1870 sed -e 's#^#'%{_bindir}'\/#' >>devel.list
1872 %pre testsuite
1873 test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir}
1874 getent group pcpqa >/dev/null || groupadd -r pcpqa
1875 getent passwd pcpqa >/dev/null || \
1876 useradd -c "PCP Quality Assurance" -g pcpqa -d %{_testsdir} -M -r -s /bin/bash pcpqa 2>/dev/null
1877 chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
1878 exit 0
1880 %post testsuite
1881 chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
1882 exit 0
1884 %pre
1885 getent group pcp >/dev/null || groupadd -r pcp
1886 getent passwd pcp >/dev/null || \
1887 useradd -c "Performance Co-Pilot" -g pcp -d %{_localstatedir}/lib/pcp -M -r -s /sbin/nologin pcp
1888 PCP_CONFIG_DIR=%{_localstatedir}/lib/pcp/config
1889 PCP_SYSCONF_DIR=%{_confdir}
1890 PCP_LOG_DIR=%{_logsdir}
1891 PCP_ETC_DIR=%{_sysconfdir}
1892 # rename crontab files to align with current Fedora packaging guidelines
1893 for crontab in pmlogger pmie
1895 test -f "$PCP_ETC_DIR/cron.d/$crontab" || continue
1896 mv -f "$PCP_ETC_DIR/cron.d/$crontab" "$PCP_ETC_DIR/cron.d/pcp-$crontab"
1897 done
1898 # produce a script to run post-install to move configs to their new homes
1899 save_configs_script()
1901 _new="$1"
1902 shift
1903 for _dir
1905 [ "$_dir" = "$_new" ] && continue
1906 if [ -d "$_dir" ]
1907 then
1908 ( cd "$_dir" ; find . -maxdepth 1 -type f ) | sed -e 's/^\.\///' \
1909 | while read _file
1911 [ "$_file" = "control" ] && continue
1912 _want=true
1913 if [ -f "$_new/$_file" ]
1914 then
1915 # file exists in both directories, pick the more
1916 # recently modified one
1917 _try=`find "$_dir/$_file" -newer "$_new/$_file" -print`
1918 [ -n "$_try" ] || _want=false
1920 $_want && echo cp -p "$_dir/$_file" "$_new/$_file"
1921 done
1923 done
1925 # migrate and clean configs if we have had a previous in-use installation
1926 [ -d "$PCP_LOG_DIR" ] || exit 0 # no configuration file upgrades required
1927 rm -f "$PCP_LOG_DIR/configs.sh"
1928 for daemon in pmie pmlogger
1930 save_configs_script >> "$PCP_LOG_DIR/configs.sh" "$PCP_CONFIG_DIR/$daemon" \
1931 "$PCP_SYSCONF_DIR/$daemon"
1932 done
1933 for daemon in pmcd pmproxy
1935 save_configs_script >> "$PCP_LOG_DIR/configs.sh" "$PCP_SYSCONF_DIR/$daemon"\
1936 "$PCP_CONFIG_DIR/$daemon" /etc/$daemon
1937 done
1938 exit 0
1940 %if !%{disable_microhttpd}
1941 %preun webapi
1942 if [ "$1" -eq 0 ]
1943 then
1944 %if !%{disable_systemd}
1945 systemctl --no-reload disable pmwebd.service >/dev/null 2>&1
1946 systemctl stop pmwebd.service >/dev/null 2>&1
1947 %else
1948 /sbin/service pmwebd stop >/dev/null 2>&1
1949 /sbin/chkconfig --del pmwebd >/dev/null 2>&1
1950 %endif
1952 %endif
1954 %preun manager
1955 if [ "$1" -eq 0 ]
1956 then
1957 %if !%{disable_systemd}
1958 systemctl --no-reload disable pmmgr.service >/dev/null 2>&1
1959 systemctl stop pmmgr.service >/dev/null 2>&1
1960 %else
1961 /sbin/service pmmgr stop >/dev/null 2>&1
1962 /sbin/chkconfig --del pmmgr >/dev/null 2>&1
1963 %endif
1966 %if !%{disable_rpm}
1967 %preun pmda-rpm
1968 %{pmda_remove "$1" "rpm"}
1969 %endif #preun pmda-rpm
1971 %if !%{disable_papi}
1972 %preun pmda-papi
1973 %{pmda_remove "$1" "papi"}
1974 %endif #preun pmda-papi
1976 %if !%{disable_systemd}
1977 %preun pmda-systemd
1978 %{pmda_remove "$1" "systemd"}
1979 %endif #preun pmda-systemd
1981 %if !%{disable_infiniband}
1982 %preun pmda-infiniband
1983 %{pmda_remove "$1" "infiniband"}
1984 %endif #preun pmda-infiniband
1986 %if !%{disable_perfevent}
1987 %preun pmda-perfevent
1988 %{pmda_remove "$1" "perfevent"}
1989 %endif #preun pmda-perfevent
1991 %if !%{disable_json}
1992 %preun pmda-json
1993 %{pmda_remove "$1" "json"}
1994 %endif #preun pmda-json
1996 %preun pmda-nginx
1997 %{pmda_remove "$1" "nginx"}
1999 %preun pmda-oracle
2000 %{pmda_remove "$1" "oracle"}
2002 %preun pmda-postgresql
2003 %{pmda_remove "$1" "postgresql"}
2005 %preun pmda-postfix
2006 %{pmda_remove "$1" "postfix"}
2008 %preun pmda-elasticsearch
2009 %{pmda_remove "$1" "elasticsearch"}
2011 %if !%{disable_snmp}
2012 %preun pmda-snmp
2013 %{pmda_remove "$1" "snmp"}
2014 %endif
2016 %preun pmda-mysql
2017 %{pmda_remove "$1" "mysql"}
2019 %preun pmda-activemq
2020 %{pmda_remove "$1" "activemq"}
2022 %preun pmda-bonding
2023 %{pmda_remove "$1" "bonding"}
2025 %preun pmda-dbping
2026 %{pmda_remove "$1" "dbping"}
2028 %preun pmda-ds389
2029 %{pmda_remove "$1" "ds389"}
2031 %preun pmda-ds389log
2032 %{pmda_remove "$1" "ds389log"}
2034 %preun pmda-gpfs
2035 %{pmda_remove "$1" "gpfs"}
2037 %preun pmda-gpsd
2038 %{pmda_remove "$1" "gpsd"}
2040 %preun pmda-kvm
2041 %{pmda_remove "$1" "kvm"}
2043 %preun pmda-lustre
2044 %{pmda_remove "$1" "lustre"}
2046 %preun pmda-lustrecomm
2047 %{pmda_remove "$1" "lustrecomm"}
2049 %preun pmda-memcache
2050 %{pmda_remove "$1" "memcache"}
2052 %preun pmda-named
2053 %{pmda_remove "$1" "named"}
2055 %preun pmda-netfilter
2056 %{pmda_remove "$1" "netfilter"}
2058 %preun pmda-news
2059 %{pmda_remove "$1" "news"}
2061 %preun pmda-nfsclient
2062 %{pmda_remove "$1" "nfsclient"}
2064 %preun pmda-pdns
2065 %{pmda_remove "$1" "pdns"}
2067 %preun pmda-rsyslog
2068 %{pmda_remove "$1" "rsyslog"}
2070 %preun pmda-samba
2071 %{pmda_remove "$1" "samba"}
2073 %preun pmda-vmware
2074 %{pmda_remove "$1" "vmware"}
2076 %preun pmda-zimbra
2077 %{pmda_remove "$1" "zimbra"}
2079 %preun pmda-dm
2080 %{pmda_remove "$1" "dm"}
2082 %if !%{disable_python2} || !%{disable_python3}
2083 %preun pmda-gluster
2084 %{pmda_remove "$1" "gluster"}
2086 %preun pmda-zswap
2087 %{pmda_remove "$1" "zswap"}
2089 %preun pmda-unbound
2090 %{pmda_remove "$1" "unbound"}
2092 %preun pmda-mic
2093 %{pmda_remove "$1" "mic"}
2095 %preun pmda-libvirt
2096 %{pmda_remove "$1" "libvirt"}
2097 %endif # !%{disable_python[2,3]}
2099 %preun pmda-apache
2100 %{pmda_remove "$1" "apache"}
2102 %preun pmda-bash
2103 %{pmda_remove "$1" "bash"}
2105 %preun pmda-cifs
2106 %{pmda_remove "$1" "cifs"}
2108 %preun pmda-cisco
2109 %{pmda_remove "$1" "cisco"}
2111 %preun pmda-gfs2
2112 %{pmda_remove "$1" "gfs2"}
2114 %preun pmda-lmsensors
2115 %{pmda_remove "$1" "lmsensors"}
2117 %preun pmda-logger
2118 %{pmda_remove "$1" "logger"}
2120 %preun pmda-mailq
2121 %{pmda_remove "$1" "mailq"}
2123 %preun pmda-mounts
2124 %{pmda_remove "$1" "mounts"}
2126 %preun pmda-nvidia-gpu
2127 %{pmda_remove "$1" "nvidia"}
2129 %preun pmda-roomtemp
2130 %{pmda_remove "$1" "roomtemp"}
2132 %preun pmda-sendmail
2133 %{pmda_remove "$1" "sendmail"}
2135 %preun pmda-shping
2136 %{pmda_remove "$1" "shping"}
2138 %preun pmda-summary
2139 %{pmda_remove "$1" "summary"}
2141 %preun pmda-trace
2142 %{pmda_remove "$1" "trace"}
2144 %preun pmda-weblog
2145 %{pmda_remove "$1" "weblog"}
2147 %preun
2148 if [ "$1" -eq 0 ]
2149 then
2150 # stop daemons before erasing the package
2151 %if !%{disable_systemd}
2152 systemctl --no-reload disable pmlogger.service >/dev/null 2>&1
2153 systemctl --no-reload disable pmie.service >/dev/null 2>&1
2154 systemctl --no-reload disable pmproxy.service >/dev/null 2>&1
2155 systemctl --no-reload disable pmcd.service >/dev/null 2>&1
2157 systemctl stop pmlogger.service >/dev/null 2>&1
2158 systemctl stop pmie.service >/dev/null 2>&1
2159 systemctl stop pmproxy.service >/dev/null 2>&1
2160 systemctl stop pmcd.service >/dev/null 2>&1
2161 %else
2162 /sbin/service pmlogger stop >/dev/null 2>&1
2163 /sbin/service pmie stop >/dev/null 2>&1
2164 /sbin/service pmproxy stop >/dev/null 2>&1
2165 /sbin/service pmcd stop >/dev/null 2>&1
2167 /sbin/chkconfig --del pcp >/dev/null 2>&1
2168 /sbin/chkconfig --del pmcd >/dev/null 2>&1
2169 /sbin/chkconfig --del pmlogger >/dev/null 2>&1
2170 /sbin/chkconfig --del pmie >/dev/null 2>&1
2171 /sbin/chkconfig --del pmproxy >/dev/null 2>&1
2172 %endif
2173 # cleanup namespace state/flag, may still exist
2174 PCP_PMNS_DIR=%{_pmnsdir}
2175 rm -f "$PCP_PMNS_DIR/.NeedRebuild" >/dev/null 2>&1
2178 %if !%{disable_microhttpd}
2179 %post webapi
2180 chown -R pcp:pcp %{_logsdir}/pmwebd 2>/dev/null
2181 %if !%{disable_systemd}
2182 systemctl condrestart pmwebd.service >/dev/null 2>&1
2183 %else
2184 /sbin/chkconfig --add pmwebd >/dev/null 2>&1
2185 /sbin/service pmwebd condrestart
2186 %endif
2187 %endif
2189 %post manager
2190 chown -R pcp:pcp %{_logsdir}/pmmgr 2>/dev/null
2191 %if !%{disable_systemd}
2192 systemctl condrestart pmmgr.service >/dev/null 2>&1
2193 %else
2194 /sbin/chkconfig --add pmmgr >/dev/null 2>&1
2195 /sbin/service pmmgr condrestart
2196 %endif
2198 %post collector
2199 %if 0%{?rhel}
2200 %if !%{disable_systemd}
2201 systemctl restart pmcd >/dev/null 2>&1
2202 systemctl restart pmlogger >/dev/null 2>&1
2203 systemctl enable pmcd >/dev/null 2>&1
2204 systemctl enable pmlogger >/dev/null 2>&1
2205 %else
2206 /sbin/chkconfig --add pmcd >/dev/null 2>&1
2207 /sbin/chkconfig --add pmlogger >/dev/null 2>&1
2208 /sbin/service pmcd condrestart
2209 /sbin/service pmlogger condrestart
2210 %endif
2211 %endif
2213 %post
2214 PCP_LOG_DIR=%{_logsdir}
2215 PCP_PMNS_DIR=%{_pmnsdir}
2216 # restore saved configs, if any
2217 test -s "$PCP_LOG_DIR/configs.sh" && source "$PCP_LOG_DIR/configs.sh"
2218 rm -f $PCP_LOG_DIR/configs.sh
2220 # migrate old to new temp dir locations (within the same filesystem)
2221 migrate_tempdirs()
2223 _sub="$1"
2224 _new_tmp_dir=%{_tempsdir}
2225 _old_tmp_dir=%{_localstatedir}/tmp
2227 for d in "$_old_tmp_dir/$_sub" ; do
2228 test -d "$d" -a -k "$d" || continue
2229 cd "$d" || continue
2230 for f in * ; do
2231 [ "$f" != "*" ] || continue
2232 source="$d/$f"
2233 target="$_new_tmp_dir/$_sub/$f"
2234 [ "$source" != "$target" ] || continue
2235 [ -f "$target" ] || mv -fu "$source" "$target"
2236 done
2237 cd && rmdir "$d" 2>/dev/null
2238 done
2240 for daemon in mmv pmdabash pmie pmlogger
2242 migrate_tempdirs $daemon
2243 done
2244 chown -R pcp:pcp %{_logsdir}/pmcd 2>/dev/null
2245 chown -R pcp:pcp %{_logsdir}/pmlogger 2>/dev/null
2246 chown -R pcp:pcp %{_logsdir}/pmie 2>/dev/null
2247 chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
2248 touch "$PCP_PMNS_DIR/.NeedRebuild"
2249 chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
2250 %if !%{disable_systemd}
2251 systemctl condrestart pmcd.service >/dev/null 2>&1
2252 systemctl condrestart pmlogger.service >/dev/null 2>&1
2253 systemctl condrestart pmie.service >/dev/null 2>&1
2254 systemctl condrestart pmproxy.service >/dev/null 2>&1
2255 %else
2256 /sbin/chkconfig --add pmcd >/dev/null 2>&1
2257 /sbin/service pmcd condrestart
2258 /sbin/chkconfig --add pmlogger >/dev/null 2>&1
2259 /sbin/service pmlogger condrestart
2260 /sbin/chkconfig --add pmie >/dev/null 2>&1
2261 /sbin/service pmie condrestart
2262 /sbin/chkconfig --add pmproxy >/dev/null 2>&1
2263 /sbin/service pmproxy condrestart
2264 %endif
2266 cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild
2269 %post libs -p /sbin/ldconfig
2270 %postun libs -p /sbin/ldconfig
2272 %files -f base.list
2274 # Note: there are some headers (e.g. domain.h) and in a few cases some
2275 # C source files that rpmlint complains about. These are not devel files,
2276 # but rather they are (slightly obscure) PMDA config files.
2278 %doc CHANGELOG COPYING INSTALL.md README.md VERSION.pcp pcp.lsm
2280 %dir %{_confdir}
2281 %dir %{_pmdasdir}
2282 %dir %{_datadir}/pcp
2283 %dir %{_localstatedir}/lib/pcp
2284 %dir %{_localstatedir}/lib/pcp/config
2285 %dir %attr(0775,pcp,pcp) %{_tempsdir}
2286 %dir %attr(0775,pcp,pcp) %{_tempsdir}/pmie
2287 %dir %attr(0775,pcp,pcp) %{_tempsdir}/pmlogger
2288 %dir %attr(0700,root,root) %{_tempsdir}/pmcd
2290 %dir %{_datadir}/pcp/lib
2291 %{_datadir}/pcp/lib/ReplacePmnsSubtree
2292 %{_datadir}/pcp/lib/bashproc.sh
2293 %{_datadir}/pcp/lib/lockpmns
2294 %{_datadir}/pcp/lib/pmdaproc.sh
2295 %{_datadir}/pcp/lib/utilproc.sh
2296 %{_datadir}/pcp/lib/rc-proc.sh
2297 %{_datadir}/pcp/lib/rc-proc.sh.minimal
2298 %{_datadir}/pcp/lib/unlockpmns
2300 %dir %attr(0775,pcp,pcp) %{_logsdir}
2301 %attr(0775,pcp,pcp) %{_logsdir}/pmcd
2302 %attr(0775,pcp,pcp) %{_logsdir}/pmlogger
2303 %attr(0775,pcp,pcp) %{_logsdir}/pmie
2304 %attr(0775,pcp,pcp) %{_logsdir}/pmproxy
2305 %{_localstatedir}/lib/pcp/pmns
2306 %{_initddir}/pcp
2307 %{_initddir}/pmcd
2308 %{_initddir}/pmlogger
2309 %{_initddir}/pmie
2310 %{_initddir}/pmproxy
2311 %if !%{disable_systemd}
2312 %{_unitdir}/pmcd.service
2313 %{_unitdir}/pmlogger.service
2314 %{_unitdir}/pmie.service
2315 %{_unitdir}/pmproxy.service
2316 %endif
2317 %config(noreplace) %{_sysconfdir}/sasl2/pmcd.conf
2318 %config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger
2319 %config(noreplace) %{_sysconfdir}/cron.d/pcp-pmie
2320 %config(noreplace) %{_sysconfdir}/sysconfig/pmlogger
2321 %config(noreplace) %{_sysconfdir}/sysconfig/pmproxy
2322 %config(noreplace) %{_sysconfdir}/sysconfig/pmcd
2323 %config %{_sysconfdir}/pcp.env
2324 %dir %{_confdir}/pmcd
2325 %config(noreplace) %{_confdir}/pmcd/pmcd.conf
2326 %config(noreplace) %{_confdir}/pmcd/pmcd.options
2327 %config(noreplace) %{_confdir}/pmcd/rc.local
2328 %dir %{_confdir}/pmproxy
2329 %config(noreplace) %{_confdir}/pmproxy/pmproxy.options
2330 %dir %{_confdir}/pmie
2331 %dir %{_confdir}/pmie/control.d
2332 %config(noreplace) %{_confdir}/pmie/control
2333 %config(noreplace) %{_confdir}/pmie/control.d/local
2334 %dir %{_confdir}/pmlogger
2335 %dir %{_confdir}/pmlogger/control.d
2336 %config(noreplace) %{_confdir}/pmlogger/control
2337 %config(noreplace) %{_confdir}/pmlogger/control.d/local
2338 %dir %attr(0775,pcp,pcp) %{_confdir}/nssdb
2340 %{_localstatedir}/lib/pcp/config/pmafm
2341 %dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmie
2342 %{_localstatedir}/lib/pcp/config/pmie
2343 %{_localstatedir}/lib/pcp/config/pmieconf
2344 %dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmlogger
2345 %{_localstatedir}/lib/pcp/config/pmlogger/*
2346 %{_localstatedir}/lib/pcp/config/pmlogconf
2347 %{_localstatedir}/lib/pcp/config/pmlogrewrite
2348 %dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmda
2350 %{_datadir}/bash-completion/completions/pcp
2351 %{_datadir}/zsh/site-functions/_pcp
2353 %if !%{disable_sdt}
2354 %{tapsetdir}/pmcd.stp
2355 %endif
2357 %files monitor
2358 #empty
2360 %files collector
2361 #empty
2363 %files conf
2364 %dir %{_includedir}/pcp
2365 %{_includedir}/pcp/builddefs
2366 %{_includedir}/pcp/buildrules
2367 %config %{_sysconfdir}/pcp.conf
2368 %dir %{_localstatedir}/lib/pcp/config/derived
2369 %config %{_localstatedir}/lib/pcp/config/derived/*
2371 %files libs
2372 %{_libdir}/libpcp.so.3
2373 %{_libdir}/libpcp_gui.so.2
2374 %{_libdir}/libpcp_mmv.so.1
2375 %{_libdir}/libpcp_pmda.so.3
2376 %{_libdir}/libpcp_trace.so.2
2377 %{_libdir}/libpcp_import.so.1
2378 %{_libdir}/libpcp_web.so.1
2380 %files libs-devel
2381 %{_libdir}/libpcp.so
2382 %{_libdir}/libpcp_gui.so
2383 %{_libdir}/libpcp_mmv.so
2384 %{_libdir}/libpcp_pmda.so
2385 %{_libdir}/libpcp_trace.so
2386 %{_libdir}/libpcp_import.so
2387 %{_libdir}/libpcp_web.so
2388 %{_includedir}/pcp/*.h
2390 %files devel -f devel.list
2391 %{_datadir}/pcp/examples
2393 # PMDAs that ship src and are not for production use
2394 # straight out-of-the-box, for devel or QA use only.
2395 %{_pmdasdir}/simple
2396 %{_pmdasdir}/sample
2397 %{_pmdasdir}/trivial
2398 %{_pmdasdir}/txmon
2400 %files testsuite
2401 %defattr(-,pcpqa,pcpqa)
2402 %{_testsdir}
2403 %if !%{disable_systemd}
2404 %config(noreplace) %{_sysconfdir}/systemd/system/pmwebd.service.d/pmwebd.conf
2405 %config(noreplace) %{_sysconfdir}/systemd/system/pmmgr.service.d/pmmgr.conf
2406 %config(noreplace) %{_sysconfdir}/systemd/system/pmcd.service.d/pmcd.conf
2407 %config(noreplace) %{_sysconfdir}/systemd/system/pmproxy.service.d/pmproxy.conf
2408 %endif
2410 %if !%{disable_microhttpd}
2411 %files webapi
2412 %{_initddir}/pmwebd
2413 %if !%{disable_systemd}
2414 %{_unitdir}/pmwebd.service
2415 %endif
2416 %{_libexecdir}/pcp/bin/pmwebd
2417 %attr(0775,pcp,pcp) %{_logsdir}/pmwebd
2418 %{_confdir}/pmwebd
2419 %config(noreplace) %{_confdir}/pmwebd/pmwebd.options
2420 # duplicate directories from pcp and pcp-webjs, but rpm copes with that.
2421 %dir %{_datadir}/pcp
2422 %dir %{_datadir}/pcp/webapps
2423 %endif
2425 %files webjs
2426 # duplicate directories from pcp and pcp-webapi, but rpm copes with that.
2427 %dir %{_datadir}/pcp
2428 %dir %{_datadir}/pcp/webapps
2429 %{_datadir}/pcp/webapps/*.png
2430 %{_datadir}/pcp/webapps/*.ico
2431 %{_datadir}/pcp/webapps/*.html
2432 %{_datadir}/pcp/webapps/*.txt
2433 %{_datadir}/pcp/webapps/blinkenlights
2435 %files webapp-grafana
2436 %dir %{_datadir}/pcp
2437 %dir %{_datadir}/pcp/webapps
2438 %{_datadir}/pcp/webapps/grafana
2440 %files webapp-graphite
2441 %dir %{_datadir}/pcp
2442 %dir %{_datadir}/pcp/webapps
2443 %{_datadir}/pcp/webapps/graphite
2445 %files webapp-vector
2446 %dir %{_datadir}/pcp
2447 %dir %{_datadir}/pcp/webapps
2448 %{_datadir}/pcp/webapps/vector
2450 %files manager
2451 %{_initddir}/pmmgr
2452 %if !%{disable_systemd}
2453 %{_unitdir}/pmmgr.service
2454 %endif
2455 %{_libexecdir}/pcp/bin/pmmgr
2456 %attr(0775,pcp,pcp) %{_logsdir}/pmmgr
2457 %config(missingok,noreplace) %{_confdir}/pmmgr
2458 %config(noreplace) %{_confdir}/pmmgr/pmmgr.options
2460 %files import-sar2pcp
2461 %{_bindir}/sar2pcp
2463 %files import-iostat2pcp
2464 %{_bindir}/iostat2pcp
2466 %files import-mrtg2pcp
2467 %{_bindir}/mrtg2pcp
2469 %files import-ganglia2pcp
2470 %{_bindir}/ganglia2pcp
2472 %files import-collectl2pcp
2473 %{_bindir}/collectl2pcp
2475 %if !%{disable_papi}
2476 %files pmda-papi
2477 %{_pmdasdir}/papi
2478 %endif
2480 %if !%{disable_perfevent}
2481 %files pmda-perfevent
2482 %{_pmdasdir}/perfevent
2483 %config(noreplace) %{_pmdasdir}/perfevent/perfevent.conf
2484 %endif
2486 %if !%{disable_infiniband}
2487 %files pmda-infiniband
2488 %{_pmdasdir}/ib
2489 %{_pmdasdir}/infiniband
2490 %endif
2492 %files pmda-activemq
2493 %{_pmdasdir}/activemq
2495 %files pmda-bonding
2496 %{_pmdasdir}/bonding
2498 %files pmda-dbping
2499 %{_pmdasdir}/dbping
2501 %files pmda-ds389log
2502 %{_pmdasdir}/ds389log
2504 %files pmda-ds389
2505 %{_pmdasdir}/ds389
2507 %files pmda-elasticsearch
2508 %{_pmdasdir}/elasticsearch
2510 %files pmda-gpfs
2511 %{_pmdasdir}/gpfs
2513 %files pmda-gpsd
2514 %{_pmdasdir}/gpsd
2516 %files pmda-kvm
2517 %{_pmdasdir}/kvm
2519 %files pmda-lustre
2520 %{_pmdasdir}/lustre
2522 %files pmda-lustrecomm
2523 %{_pmdasdir}/lustrecomm
2525 %files pmda-memcache
2526 %{_pmdasdir}/memcache
2528 %files pmda-mysql
2529 %{_pmdasdir}/mysql
2531 %files pmda-named
2532 %{_pmdasdir}/named
2534 %files pmda-netfilter
2535 %{_pmdasdir}/netfilter
2537 %files pmda-news
2538 %{_pmdasdir}/news
2540 %files pmda-nginx
2541 %{_pmdasdir}/nginx
2543 %files pmda-nfsclient
2544 %{_pmdasdir}/nfsclient
2546 %files pmda-oracle
2547 %{_pmdasdir}/oracle
2549 %files pmda-pdns
2550 %{_pmdasdir}/pdns
2552 %files pmda-postfix
2553 %{_pmdasdir}/postfix
2555 %files pmda-postgresql
2556 %{_pmdasdir}/postgresql
2558 %files pmda-rsyslog
2559 %{_pmdasdir}/rsyslog
2561 %files pmda-samba
2562 %{_pmdasdir}/samba
2564 %if !%{disable_snmp}
2565 %files pmda-snmp
2566 %{_pmdasdir}/snmp
2567 %endif
2569 %files pmda-slurm
2570 %{_pmdasdir}/slurm
2572 %files pmda-vmware
2573 %{_pmdasdir}/vmware
2575 %files pmda-zimbra
2576 %{_pmdasdir}/zimbra
2578 %files pmda-dm
2579 %{_pmdasdir}/dm
2581 %if !%{disable_python2} || !%{disable_python3}
2582 %files pmda-gluster
2583 %{_pmdasdir}/gluster
2585 %files pmda-zswap
2586 %{_pmdasdir}/zswap
2588 %files pmda-unbound
2589 %{_pmdasdir}/unbound
2591 %files pmda-mic
2592 %{_pmdasdir}/mic
2594 %files pmda-libvirt
2595 %{_pmdasdir}/libvirt
2597 %files export-pcp2graphite
2598 %{_bindir}/pcp2graphite
2600 %files export-pcp2influxdb
2601 %{_bindir}/pcp2influxdb
2602 %endif # !%{disable_python2} || !%{disable_python3}
2604 %files export-zabbix-agent
2605 %{_libdir}/zabbix
2607 %if !%{disable_json}
2608 %files pmda-json
2609 %{_pmdasdir}/json
2610 %endif
2612 %files pmda-apache
2613 %{_pmdasdir}/apache
2615 %files pmda-bash
2616 %{_pmdasdir}/bash
2618 %files pmda-cifs
2619 %{_pmdasdir}/cifs
2621 %files pmda-cisco
2622 %{_pmdasdir}/cisco
2624 %files pmda-gfs2
2625 %{_pmdasdir}/gfs2
2627 %files pmda-lmsensors
2628 %{_pmdasdir}/lmsensors
2630 %files pmda-logger
2631 %{_pmdasdir}/logger
2633 %files pmda-mailq
2634 %{_pmdasdir}/mailq
2636 %files pmda-mounts
2637 %{_pmdasdir}/mounts
2639 %files pmda-nvidia-gpu
2640 %{_pmdasdir}/nvidia
2642 %files pmda-roomtemp
2643 %{_pmdasdir}/roomtemp
2645 %if !%{disable_rpm}
2646 %files pmda-rpm
2647 %{_pmdasdir}/rpm
2648 %endif
2650 %files pmda-sendmail
2651 %{_pmdasdir}/sendmail
2653 %files pmda-shping
2654 %{_pmdasdir}/shping
2656 %files pmda-summary
2657 %{_pmdasdir}/summary
2659 %if !%{disable_systemd}
2660 %files pmda-systemd
2661 %{_pmdasdir}/systemd
2662 %endif
2664 %files pmda-trace
2665 %{_pmdasdir}/trace
2667 %files pmda-weblog
2668 %{_pmdasdir}/weblog
2670 %files -n perl-PCP-PMDA -f perl-pcp-pmda.list
2672 %files -n perl-PCP-MMV -f perl-pcp-mmv.list
2674 %files -n perl-PCP-LogImport -f perl-pcp-logimport.list
2676 %files -n perl-PCP-LogSummary -f perl-pcp-logsummary.list
2678 %if !%{disable_python2}
2679 %files -n python-pcp -f python-pcp.list.rpm
2680 %endif
2682 %if !%{disable_python3}
2683 %files -n python3-pcp -f python3-pcp.list.rpm
2684 %endif
2686 %if !%{disable_qt}
2687 %files -n pcp-gui -f pcp-gui.list
2689 %{_confdir}/pmsnap
2690 %config(noreplace) %{_confdir}/pmsnap/control
2691 %{_localstatedir}/lib/pcp/config/pmsnap
2692 %{_localstatedir}/lib/pcp/config/pmchart
2693 %{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
2694 %{_datadir}/applications/pmchart.desktop
2695 %endif
2697 %files -n pcp-doc -f pcp-doc.list
2699 %if !%{disable_python2} || !%{disable_python3}
2700 %files -n pcp-system-tools -f pcp_system_tools.list
2701 %dir %{_confdir}/pmrep
2702 %config(noreplace) %{_confdir}/pmrep/pmrep.conf
2703 %endif
2705 %changelog
2706 * Fri Nov 11 2016 Mark Goodwin <mgoodwin@redhat.com> - 3.11.6-1
2707 - Work in progress, see http://pcp.io/roadmap
2709 * Mon Sep 26 2016 Mark Goodwin <mgoodwin@redhat.com> - 3.11.5-1
2710 - Allow systemd-based auto-restart of all daemons (BZ 1365658)
2711 - Ensure pmieconf and pmlogconf handle empty files (BZ 1249123)
2712 - Ignore rpmsave and rpmnew suffixed control files (BZ 1375415)
2713 - Add new pcp-pmda-libvirt package for virtual machine metrics
2714 - Update to latest PCP Sources.
2716 * Fri Aug 05 2016 Nathan Scott <nathans@redhat.com> - 3.11.4-1
2717 - Support inside-container metric values in python (BZ 1333702)
2718 - Fix pmdaproc handling of commands with whitespace (BZ 1350816)
2719 - Use persistent DM names for the filesystem metrics (BZ 1349932)
2720 - Add to the ds389{,log} RPM package dependencies (BZ 1354055)
2721 - Use "dirsrv" as default pmdads389log user account (BZ 1357607)
2722 - Make pmie(1) honour SIGINT while parsing rules (BZ 1327226)
2723 - Add pmlogconf support for pcp-pidstat and pcp-mpstat (BZ 1361943)
2724 - Update to latest PCP Sources.
2726 * Fri Jun 17 2016 Nathan Scott <nathans@redhat.com> - 3.11.3-1
2727 - Fix memory leak in derived metrics error handling (BZ 1331973)
2728 - Correctly propogate indom in mixed derived metrics (BZ 1337212, BZ 1336130)
2729 - Disallow stopping pmie/pmlogger daemons from cron (BZ 1336792)
2730 - Fail fast for easily detected bad pmcd configuration (BZ 1336210)
2731 - Implement primary (local) pmie concept in rc pmie (BZ 1323851)
2732 - Update to latest PCP Sources.
2734 * Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.11.2-2.1
2735 - Perl 5.24 rebuild
2737 * Fri Apr 29 2016 Lukas Berk <lberk@redhat.com> - 3.11.2-1
2738 - Negative nice values reported incorrectly (BZ 1328432)
2739 - Multithreaded clients with concurrent pmNewContext improvements (BZ 1325363)
2740 - PMCD agent auto-restart (BZ 1323521)
2741 - Segv in libpcp during discovery error processing (BZ 1319288)
2742 - Update to latest PCP Sources.
2744 * Fri Mar 18 2016 Dave Brolley <brolley@redhat.com> - 3.11.1-1
2745 - Call Remove script when uninstalling individual PMDAs (BZ 1304722)
2746 - Restrict pmcd.services to checking known pcp services (BZ 1286361)
2747 - Support for multi-archive contexts, across all clients (BZ 1262723)
2748 - Remove the default shotgun approach to stopping daemons (BZ 1210976)
2749 - Add mechanism for automatic recovery from PMDA timeouts (BZ 1065803)
2750 - Update to latest PCP sources.
2752 * Fri Jan 29 2016 Mark Goodwin <mgoodwin@redhat.com> - 3.11.0-1
2753 - Significant speedups to elapsed time stopping pmcd (BZ 1292027)
2754 - Fix python derived metric exception handling issues (BZ 1299806)
2755 - incorrect interpolation across <mark> record in a merged archive (BZ 1296750)
2756 - pcp requires pcp-compat pulling in a lot of unneeded pcp-pmda-* packages (BZ 1293466)
2757 - Update to latest PCP sources.
2759 * Wed Dec 16 2015 Lukas Berk <lberk@redhat.com> - 3.10.9-1
2760 - Add -V/--version support to several more commands (BZ 1284411)
2761 - Resolve a pcp-iostat(1) transient device exception (BZ 1249572)
2762 - Provides pmdapipe, an output-capturing domain agent (BZ 1163413)
2763 - Python PMAPI pmSetMode allows None timeval parameter (BZ 1284417)
2764 - Python PMI pmiPutValue now supports singular metrics (BZ 1285371)
2765 - Fix python PMAPI pmRegisterDerived wrapper interface (BZ 1286733)
2766 - Fix pmstat SEGV when run with graphical time control (BZ 1287678)
2767 - Make pmNonOptionsFromList error message less cryptic (BZ 1287778)
2768 - Drop unimplemented pmdumptext options from usage, man page (BZ 1289909)
2769 - Stop creating configuration files in tmp_t locations (BZ 1256125)
2770 - Update to latest PCP sources.
2772 * Fri Oct 30 2015 Mark Goodwin <mgoodwin@redhat.com> - 3.10.8-1
2773 - Update pmlogger to log an immediate sample first (BZ 1269921)
2774 - Add pmOption host and archive setter python APIs (BZ 1270176)
2775 - Replace old pmatop(1) man page with pcp-atop(1) (BZ 1270761)
2776 - Update to latest PCP sources.
2778 * Wed Sep 16 2015 Nathan Scott <nathans@redhat.com> - 3.10.7-1
2779 - Resolved pmchart sigsegv opening view without context (BZ 1256708)
2780 - Fixed pmchart memory corruption restoring Saved Hosts (BZ 1257009)
2781 - Fix perl PMDA API double-free on socket error path (BZ 1258862)
2782 - Fix python API pmGetOption(3) alignment interface (BZ 1262722)
2783 - Added missing RPM dependencies to several PMDA sub-packages.
2784 - Update to latest stable Vector release for pcp-vector-webapp.
2785 - Update to latest PCP sources.
2787 * Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 3.10.6-2.1
2788 - Rebuilt for librpm soname bump
2790 * Thu Aug 06 2015 Lukas Berk <lberk@redhat.com> - 3.10.6-2
2791 - Fix SDT related build error (BZ 1250894)
2793 * Tue Aug 04 2015 Nathan Scott <nathans@redhat.com> - 3.10.6-1
2794 - Fix pcp2graphite write method invocation failure (BZ 1243123)
2795 - Reduce diagnostics in pmdaproc unknown state case (BZ 1224431)
2796 - Derived metrics via multiple files, directory expansion (BZ 1235556)
2797 - Update to latest PCP sources.
2799 * Mon Jun 15 2015 Mark Goodwin <mgoodwin@redhat.com> - 3.10.5-1
2800 - Provide and use non-exit(1)ing pmGetConfig(3) variant (BZ 1187588)
2801 - Resolve a pmdaproc.sh pmlogger restart regression (BZ 1229458)
2802 - Replacement of pmatop/pcp-atop(1) utility (BZ 1160811, BZ 1018575)
2803 - Reduced installation size for minimal applications (BZ 1182184)
2804 - Ensure pmlogger start scripts wait on pmcd startup (BZ 1185760)
2805 - Need to run pmcd at least once before pmval -L will work (BZ 185749)
2807 * Wed Apr 15 2015 Nathan Scott <nathans@redhat.com> - 3.10.4-1
2808 - Update to latest PCP, pcp-webjs and Vector sources.
2809 - Packaging improvements after re-review (BZ 1204467)
2810 - Start pmlogger/pmie independent of persistent state (BZ 1185755)
2811 - Fix cron error reports for disabled pmlogger service (BZ 1208699)
2812 - Incorporate Vector from Netflix (https://github.com/Netflix/vector)
2813 - Sub-packages for pcp-webjs allowing choice and reducing used space.
2815 * Wed Mar 04 2015 Dave Brolley <brolley@redhat.com> - 3.10.3-2
2816 - papi 5.4.1 rebuild
2818 * Mon Mar 02 2015 Dave Brolley <brolley@redhat.com> - 3.10.3-1
2819 - Update to latest PCP sources.
2820 - New sub-package for pcp-import-ganglia2pcp.
2821 - Python3 support, enabled by default in f22 onward (BZ 1194324)
2823 * Mon Feb 23 2015 Slavek Kabrda <bkabrda@redhat.com> - 3.10.2-3
2824 - Only use Python 3 in Fedora >= 23, more info at
2825 https://bugzilla.redhat.com/show_bug.cgi?id=1194324#c4
2827 * Mon Feb 23 2015 Nathan Scott <nathans@redhat.com> - 3.10.2-2
2828 - Initial changes to support python3 as default (BZ 1194324)
2830 * Fri Jan 23 2015 Dave Brolley <brolley@redhat.com> - 3.10.2-1
2831 - Update to latest PCP sources.
2832 - Improve pmdaInit diagnostics for DSO helptext (BZ 1182949)
2833 - Tighten up PMDA termination on pmcd stop (BZ 1180109)
2834 - Correct units for cgroup memory metrics (BZ 1180351)
2835 - Add the pcp2graphite(1) export script (BZ 1163986)
2837 * Mon Dec 01 2014 Nathan Scott <nathans@redhat.com> - 3.10.1-1
2838 - New conditionally-built pcp-pmda-perfevent sub-package.
2839 - Update to latest PCP sources.
2841 * Tue Nov 18 2014 Dave Brolley <brolley@redhat.com> - 3.10.0-2
2842 - papi 5.4.0 rebuild
2844 * Fri Oct 31 2014 Nathan Scott <nathans@redhat.com> - 3.10.0-1
2845 - Create new sub-packages for pcp-webjs and python3-pcp.
2846 - Fix __pmDiscoverServicesWithOptions(1) codes (BZ 1139529)
2847 - Update to latest PCP sources.
2849 * Fri Sep 05 2014 Nathan Scott <nathans@redhat.com> - 3.9.10-1
2850 - Convert PCP init scripts to systemd services (BZ 996438)
2851 - Fix pmlogsummary -S/-T time window reporting (BZ 1132476)
2852 - Resolve pmdumptext segfault with invalid host (BZ 1131779)
2853 - Fix signedness in some service discovery codes (BZ 1136166)
2854 - New conditionally-built pcp-pmda-papi sub-package.
2855 - Update to latest PCP sources.
2857 * Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.9.9-1.2
2858 - Perl 5.20 rebuild
2860 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.9-1.1
2861 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2863 * Wed Aug 13 2014 Nathan Scott <nathans@redhat.com> - 3.9.9-1
2864 - Update to latest PCP sources.
2866 * Wed Jul 16 2014 Mark Goodwin <mgoodwin@redhat.com> - 3.9.7-1
2867 - Update to latest PCP sources.
2869 * Wed Jun 18 2014 Dave Brolley <brolley@redhat.com> - 3.9.5-1
2870 - Daemon signal handlers no longer use unsafe APIs (BZ 847343)
2871 - Handle /var/run setups on a temporary filesystem (BZ 656659)
2872 - Resolve pmlogcheck sigsegv for some archives (BZ 1077432)
2873 - Ensure pcp-gui-{testsuite,debuginfo} packages get replaced.
2874 - Revive support for EPEL5 builds, post pcp-gui merge.
2875 - Update to latest PCP sources.
2877 * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.4-1.1
2878 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2880 * Thu May 15 2014 Nathan Scott <nathans@redhat.com> - 3.9.4-1
2881 - Merged pcp-gui and pcp-doc packages into core PCP.
2882 - Allow for conditional libmicrohttpd builds in spec file.
2883 - Adopt slow-start capability in systemd PMDA (BZ 1073658)
2884 - Resolve pmcollectl network/disk mis-reporting (BZ 1097095)
2885 - Update to latest PCP sources.
2887 * Tue Apr 15 2014 Dave Brolley <brolley@redhat.com> - 3.9.2-1
2888 - Improve pmdarpm(1) concurrency complications (BZ 1044297)
2889 - Fix pmconfig(1) shell output string quoting (BZ 1085401)
2890 - Update to latest PCP sources.
2892 * Wed Mar 19 2014 Nathan Scott <nathans@redhat.com> - 3.9.1-1
2893 - Update to latest PCP sources.
2895 * Thu Feb 20 2014 Nathan Scott <nathans@redhat.com> - 3.9.0-2
2896 - Workaround further PowerPC/tapset-related build fallout.
2898 * Wed Feb 19 2014 Nathan Scott <nathans@redhat.com> - 3.9.0-1
2899 - Create new sub-packages for pcp-webapi and pcp-manager
2900 - Split configuration from pcp-libs into pcp-conf (multilib)
2901 - Fix pmdagluster to handle more volumes, fileops (BZ 1066544)
2902 - Update to latest PCP sources.
2904 * Wed Jan 29 2014 Nathan Scott <nathans@redhat.com> - 3.8.12-1
2905 - Resolves SNMP procfs file ICMP line parse issue (BZ 1055818)
2906 - Update to latest PCP sources.
2908 * Wed Jan 15 2014 Nathan Scott <nathans@redhat.com> - 3.8.10-1
2909 - Update to latest PCP sources.
2911 * Thu Dec 12 2013 Nathan Scott <nathans@redhat.com> - 3.8.9-1
2912 - Reduce set of exported symbols from DSO PMDAs (BZ 1025694)
2913 - Symbol-versioning for PCP shared libraries (BZ 1037771)
2914 - Fix pmcd/Avahi interaction with multiple ports (BZ 1035513)
2915 - Update to latest PCP sources.
2917 * Sun Nov 03 2013 Nathan Scott <nathans@redhat.com> - 3.8.8-1
2918 - Update to latest PCP sources (simple build fixes only).
2920 * Fri Nov 01 2013 Nathan Scott <nathans@redhat.com> - 3.8.6-1
2921 - Update to latest PCP sources.
2922 - Rework pmpost test which confused virus checkers (BZ 1024850)
2923 - Tackle pmatop reporting issues via alternate metrics (BZ 998735)
2925 * Fri Oct 18 2013 Nathan Scott <nathans@redhat.com> - 3.8.5-1
2926 - Update to latest PCP sources.
2927 - Disable pcp-pmda-infiniband sub-package on RHEL5 (BZ 1016368)
2929 * Mon Sep 16 2013 Nathan Scott <nathans@redhat.com> - 3.8.4-2
2930 - Disable the pcp-pmda-infiniband sub-package on s390 platforms.
2932 * Sun Sep 15 2013 Nathan Scott <nathans@redhat.com> - 3.8.4-1
2933 - Very minor release containing mostly QA related changes.
2934 - Enables many more metrics to be logged for Linux hosts.
2936 * Wed Sep 11 2013 Stan Cox <scox@redhat.com> - 3.8.3-2
2937 - Disable pmcd.stp on el5 ppc.
2939 * Mon Sep 09 2013 Nathan Scott <nathans@redhat.com> - 3.8.3-1
2940 - Default to Unix domain socket (authenticated) local connections.
2941 - Introduces new pcp-pmda-infiniband sub-package.
2942 - Disable systemtap-sdt-devel usage on ppc.
2944 * Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 3.8.2-1.1
2945 - Perl 5.18 rebuild
2947 * Wed Jul 31 2013 Nathan Scott <nathans@redhat.com> - 3.8.2-1
2948 - Update to latest PCP sources.
2949 - Integrate gluster related stats with PCP (BZ 969348)
2950 - Fix for iostat2pcp not parsing iostat output (BZ 981545)
2951 - Start pmlogger with usable config by default (BZ 953759)
2952 - Fix pmatop failing to start, gives stacktrace (BZ 963085)
2954 * Wed Jun 19 2013 Nathan Scott <nathans@redhat.com> - 3.8.1-1
2955 - Update to latest PCP sources.
2956 - Fix log import silently dropping >1024 metrics (BZ 968210)
2957 - Move some commonly used tools on the usual PATH (BZ 967709)
2958 - Improve pmatop handling of missing proc metrics (BZ 963085)
2959 - Stop out-of-order records corrupting import logs (BZ 958745)
2961 * Tue May 14 2013 Nathan Scott <nathans@redhat.com> - 3.8.0-1
2962 - Update to latest PCP sources.
2963 - Validate metric names passed into pmiAddMetric (BZ 958019)
2964 - Install log directories with correct ownership (BZ 960858)
2966 * Fri Apr 19 2013 Nathan Scott <nathans@redhat.com> - 3.7.2-1
2967 - Update to latest PCP sources.
2968 - Ensure root namespace exists at the end of install (BZ 952977)
2970 * Wed Mar 20 2013 Nathan Scott <nathans@redhat.com> - 3.7.1-1
2971 - Update to latest PCP sources.
2972 - Migrate all tempfiles correctly to the new tempdir hierarchy.
2974 * Sun Mar 10 2013 Nathan Scott <nathans@redhat.com> - 3.7.0-1
2975 - Update to latest PCP sources.
2976 - Migrate all configuration files below the /etc/pcp hierarchy.
2978 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.10-2.1
2979 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2981 * Wed Nov 28 2012 Nathan Scott <nathans@redhat.com> - 3.6.10-2
2982 - Ensure tmpfile directories created in %%files section.
2983 - Resolve tmpfile create/teardown race conditions.
2985 * Mon Nov 19 2012 Nathan Scott <nathans@redhat.com> - 3.6.10-1
2986 - Update to latest PCP sources.
2987 - Resolve tmpfile security flaws: CVE-2012-5530
2988 - Introduces new "pcp" user account for all daemons to use.
2990 * Fri Oct 12 2012 Nathan Scott <nathans@redhat.com> - 3.6.9-1
2991 - Update to latest PCP sources.
2992 - Fix pmcd sigsegv in NUMA/CPU indom setup (BZ 858384)
2993 - Fix sar2pcp uninitialised perl variable warning (BZ 859117)
2994 - Fix pcp.py and pmcollectl with older python versions (BZ 852234)
2996 * Fri Sep 14 2012 Nathan Scott <nathans@redhat.com> - 3.6.8-1
2997 - Update to latest PCP sources.
2999 * Wed Sep 05 2012 Nathan Scott <nathans@redhat.com> - 3.6.6-1.1
3000 - Move configure step from prep to build section of spec (BZ 854128)
3002 * Tue Aug 28 2012 Mark Goodwin <mgoodwin@redhat.com> - 3.6.6-1
3003 - Update to latest PCP sources, see installed CHANGELOG for details.
3004 - Introduces new python-pcp and pcp-testsuite sub-packages.
3006 * Thu Aug 16 2012 Mark Goodwin <mgoodwin@redhat.com> - 3.6.5-1
3007 - Update to latest PCP sources, see installed CHANGELOG for details.
3008 - Fix security flaws: CVE-2012-3418 CVE-2012-3419 CVE-2012-3420 and CVE-2012-3421 (BZ 848629)
3010 * Thu Jul 19 2012 Mark Goodwin <mgoodwin@redhat.com>
3011 - pmcd and pmlogger services are not supposed to be enabled by default (BZ 840763) - 3.6.3-1.3
3013 * Thu Jun 21 2012 Mark Goodwin <mgoodwin@redhat.com>
3014 - remove pcp-import-sheet2pcp subpackage due to missing deps (BZ 830923) - 3.6.3-1.2
3016 * Fri May 18 2012 Dan Hork <dan[at]danny.cz> - 3.6.3-1.1
3017 - fix build on s390x
3019 * Mon Apr 30 2012 Mark Goodwin - 3.6.3-1
3020 - Update to latest PCP sources
3022 * Thu Apr 26 2012 Mark Goodwin - 3.6.2-1
3023 - Update to latest PCP sources
3025 * Thu Apr 12 2012 Mark Goodwin - 3.6.1-1
3026 - Update to latest PCP sources
3028 * Thu Mar 22 2012 Mark Goodwin - 3.6.0-1
3029 - use %%configure macro for correct libdir logic
3030 - update to latest PCP sources
3032 * Thu Dec 15 2011 Mark Goodwin - 3.5.11-2
3033 - patched configure.in for libdir=/usr/lib64 on ppc64
3035 * Thu Dec 01 2011 Mark Goodwin - 3.5.11-1
3036 - Update to latest PCP sources.
3038 * Fri Nov 04 2011 Mark Goodwin - 3.5.10-1
3039 - Update to latest PCP sources.
3041 * Mon Oct 24 2011 Mark Goodwin - 3.5.9-1
3042 - Update to latest PCP sources.
3044 * Mon Aug 08 2011 Mark Goodwin - 3.5.8-1
3045 - Update to latest PCP sources.
3047 * Fri Aug 05 2011 Mark Goodwin - 3.5.7-1
3048 - Update to latest PCP sources.
3050 * Fri Jul 22 2011 Mark Goodwin - 3.5.6-1
3051 - Update to latest PCP sources.
3053 * Tue Jul 19 2011 Mark Goodwin - 3.5.5-1
3054 - Update to latest PCP sources.
3056 * Thu Feb 03 2011 Mark Goodwin - 3.5.0-1
3057 - Update to latest PCP sources.
3059 * Thu Sep 30 2010 Mark Goodwin - 3.4.0-1
3060 - Update to latest PCP sources.
3062 * Fri Jul 16 2010 Mark Goodwin - 3.3.3-1
3063 - Update to latest PCP sources.
3065 * Sat Jul 10 2010 Mark Goodwin - 3.3.2-1
3066 - Update to latest PCP sources.
3068 * Tue Jun 29 2010 Mark Goodwin - 3.3.1-1
3069 - Update to latest PCP sources.
3071 * Fri Jun 25 2010 Mark Goodwin - 3.3.0-1
3072 - Update to latest PCP sources.
3074 * Thu Mar 18 2010 Mark Goodwin - 3.1.2-1
3075 - Update to latest PCP sources.
3077 * Wed Jan 27 2010 Mark Goodwin - 3.1.0-1
3078 - BuildRequires: initscripts for %%{_vendor} == redhat.
3080 * Thu Dec 10 2009 Mark Goodwin - 3.0.3-1
3081 - BuildRequires: initscripts for FC12.
3083 * Wed Dec 02 2009 Mark Goodwin - 3.0.2-1
3084 - Added sysfs.kernel metrics, rebased to minor community release.
3086 * Mon Oct 19 2009 Martin Hicks <mort@sgi.com> - 3.0.1-2
3087 - Remove IB dependencies. The Infiniband PMDA is being moved to
3088 a stand-alone package.
3089 - Move cluster PMDA to a stand-alone package.
3091 * Fri Oct 09 2009 Mark Goodwin <mgoodwin@redhat.com> - 3.0.0-9
3092 - This is the initial import for Fedora
3093 - See 3.0.0 details in CHANGELOG