build: add utilproc.sh into the installed set (fedora spec)
[pcp.git] / build / rpm / fedora.spec
blob74aa9b3b7aa55c5b90ffffb824978759a0971348
1 Summary: System-level performance monitoring and performance management
2 Name: pcp
3 Version: 3.10.8
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: pcp-%{version}.src.tar.gz
12 # https://github.com/performancecopilot/pcp-webjs/archive/master.zip
13 Source1: pcp-webjs.src.tar.gz
14 # https://bintray.com/artifact/download/netflixoss/downloads/vector.tar.gz
15 Source2: vector.tar.gz
17 # Compat check for distros that already have single install pmda's
18 %if 0%{?fedora} > 22 || 0%{?rhel} > 7
19 %global with_compat 0
20 %else
21 %global with_compat 1
22 %endif
24 # There are no papi/libpfm devel packages for s390 nor for some rhels, disable
25 %ifarch s390 s390x
26 %global disable_papi 1
27 %global disable_perfevent 1
28 %else
29 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
30 %global disable_papi 0
31 %else
32 %global disable_papi 1
33 %endif
34 %if 0%{?fedora} >= 20 || 0%{?rhel} > 6
35 %global disable_perfevent 0
36 %else
37 %global disable_perfevent 1
38 %endif
39 %endif
41 %global disable_microhttpd 0
42 %global disable_cairo 0
44 %global disable_python2 0
45 # Default for epel5 is python24, so use the (optional) python26 packages
46 %if 0%{?rhel} == 5
47 %global default_python 26
48 %endif
49 # No python3 development environment before el8
50 %if 0%{?rhel} == 0 || 0%{?rhel} > 7
51 %global disable_python3 0
52 # Do we wish to mandate python3 use in pcp? (f22+ and el8+)
53 %if 0%{?fedora} >= 22 || 0%{?rhel} > 7
54 %global default_python 3
55 %endif
56 %else
57 %global disable_python3 1
58 %endif
60 # support for pmdajson
61 %if 0%{?rhel} == 0 || 0%{?rhel} > 6
62 %if !%{disable_python2} || !%{disable_python3}
63 %global disable_json 0
64 %else
65 %global disable_json 1
66 %endif
67 %else
68 %global disable_json 1
69 %endif
71 # support for pmdarpm
72 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
73 %global disable_rpm 0
74 %else
75 %global disable_rpm 1
76 %endif
78 # Qt development and runtime environment missing components before el6
79 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
80 %global disable_qt 0
81 %else
82 %global disable_qt 1
83 %endif
85 # systemd services and pmdasystemd
86 %if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
87 %global disable_systemd 0
88 %else
89 %global disable_systemd 1
90 %endif
92 # systemtap static probing, missing before el6 and on some architectures
93 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
94 %global disable_sdt 0
95 %else
96 %ifnarch ppc ppc64
97 %global disable_sdt 0
98 %else
99 %global disable_sdt 1
100 %endif
101 %endif
103 # rpm producing "noarch" packages
104 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
105 %global disable_noarch 0
106 %else
107 %global disable_noarch 1
108 %endif
110 # prevent conflicting binary and man page install for pcp(1)
111 Conflicts: librapi
113 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
114 BuildRequires: procps autoconf bison flex
115 BuildRequires: nss-devel
116 BuildRequires: rpm-devel
117 BuildRequires: avahi-devel
118 %if !%{disable_python2}
119 %if 0%{?default_python} != 3
120 BuildRequires: python%{?default_python}-devel
121 %else
122 BuildRequires: python-devel
123 %endif
124 %endif
125 %if !%{disable_python3}
126 BuildRequires: python3-devel
127 %endif
128 BuildRequires: ncurses-devel
129 BuildRequires: readline-devel
130 BuildRequires: cyrus-sasl-devel
131 %if !%{disable_papi}
132 BuildRequires: papi-devel
133 %endif
134 %if !%{disable_perfevent}
135 BuildRequires: libpfm-devel >= 4
136 %endif
137 %if !%{disable_microhttpd}
138 BuildRequires: libmicrohttpd-devel
139 %endif
140 %if !%{disable_cairo}
141 BuildRequires: cairo-devel
142 %endif
143 %if !%{disable_sdt}
144 BuildRequires: systemtap-sdt-devel
145 %endif
146 BuildRequires: perl(ExtUtils::MakeMaker)
147 BuildRequires: initscripts man
148 %if !%{disable_systemd}
149 BuildRequires: systemd-devel
150 %endif
151 %if !%{disable_qt}
152 BuildRequires: desktop-file-utils
153 BuildRequires: qt4-devel >= 4.4
154 %endif
156 Requires: bash gawk sed grep fileutils findutils initscripts which
157 Requires: python%{?default_python}
158 Requires: pcp-libs = %{version}-%{release}
159 %if 0%{?default_python} == 3
160 Requires: python3-pcp = %{version}-%{release}
161 %endif
162 %if !%{disable_python2} && 0%{?default_python} != 3
163 Requires: python-pcp = %{version}-%{release}
164 %endif
165 Obsoletes: pcp-gui-debuginfo
166 Obsoletes: pcp-pmda-nvidia
168 %if %{with_compat}
169 Requires: pcp-compat
170 %endif
171 Requires: pcp-libs = %{version}-%{release}
172 Obsoletes: pcp-gui-debuginfo
174 %global tapsetdir %{_datadir}/systemtap/tapset
176 %global _confdir %{_sysconfdir}/pcp
177 %global _logsdir %{_localstatedir}/log/pcp
178 %global _pmnsdir %{_localstatedir}/lib/pcp/pmns
179 %global _tempsdir %{_localstatedir}/lib/pcp/tmp
180 %global _pmdasdir %{_localstatedir}/lib/pcp/pmdas
181 %global _testsdir %{_localstatedir}/lib/pcp/testsuite
182 %global _pixmapdir %{_datadir}/pcp-gui/pixmaps
183 %global _booksdir %{_datadir}/doc/pcp-doc
185 %if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
186 %global _with_doc --with-docdir=%{_docdir}/%{name}
187 %endif
189 %if !%{disable_systemd}
190 %global _initddir %{_datadir}/pcp/lib
191 %else
192 %global _initddir %{_sysconfdir}/rc.d/init.d
193 %global _with_initd --with-rcdir=%{_initddir}
194 %endif
196 # we never want Infiniband on s390 platforms
197 %ifarch s390 s390x
198 %global disable_infiniband 1
199 %else
200 # we never want Infiniband on RHEL5 or earlier
201 %if 0%{?rhel} != 0 && 0%{?rhel} < 6
202 %global disable_infiniband 1
203 %else
204 %global disable_infiniband 0
205 %endif
206 %endif
208 %if %{disable_infiniband}
209 %global _with_ib --with-infiniband=no
210 %endif
212 %if !%{disable_papi}
213 %global _with_papi --with-papi=yes
214 %endif
216 %if !%{disable_perfevent}
217 %global _with_perfevent --with-perfevent=yes
218 %endif
220 %if %{disable_json}
221 %global _with_json --with-pmdajson=no
222 %else
223 %global _with_json --with-pmdajson=yes
224 %endif
226 %description
227 Performance Co-Pilot (PCP) provides a framework and services to support
228 system-level performance monitoring and performance management.
230 The PCP open source release provides a unifying abstraction for all of
231 the interesting performance data in a system, and allows client
232 applications to easily retrieve and process any subset of that data.
235 # pcp-conf
237 %package conf
238 License: LGPLv2+
239 Group: System Environment/Libraries
240 Summary: Performance Co-Pilot run-time configuration
241 URL: http://www.pcp.io
243 # http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
244 Conflicts: pcp-libs < 3.9
246 %description conf
247 Performance Co-Pilot (PCP) run-time configuration
250 # pcp-libs
252 %package libs
253 License: LGPLv2+
254 Group: System Environment/Libraries
255 Summary: Performance Co-Pilot run-time libraries
256 URL: http://www.pcp.io
257 Requires: pcp-conf = %{version}-%{release}
259 %description libs
260 Performance Co-Pilot (PCP) run-time libraries
263 # pcp-libs-devel
265 %package libs-devel
266 License: GPLv2+ and LGPLv2.1+
267 Group: Development/Libraries
268 Summary: Performance Co-Pilot (PCP) development headers and documentation
269 URL: http://www.pcp.io
270 Requires: pcp = %{version}-%{release}
271 Requires: pcp-libs = %{version}-%{release}
273 %description libs-devel
274 Performance Co-Pilot (PCP) headers, documentation and tools for development.
277 # pcp-testsuite
279 %package testsuite
280 License: GPLv2+
281 Group: Development/Libraries
282 Summary: Performance Co-Pilot (PCP) test suite
283 URL: http://www.pcp.io
284 Requires: pcp = %{version}-%{release}
285 Requires: pcp-libs = %{version}-%{release}
286 Requires: pcp-libs-devel = %{version}-%{release}
287 Obsoletes: pcp-gui-testsuite
289 %description testsuite
290 Quality assurance test suite for Performance Co-Pilot (PCP).
293 # pcp-manager
295 %package manager
296 License: GPLv2+
297 Group: Applications/System
298 Summary: Performance Co-Pilot (PCP) manager daemon
299 URL: http://www.pcp.io
300 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
302 %description manager
303 An optional daemon (pmmgr) that manages a collection of pmlogger and
304 pmie daemons, for a set of discovered local and remote hosts running
305 the performance metrics collection daemon (pmcd). It ensures these
306 daemons are running when appropriate, and manages their log rotation
307 needs. It is an alternative to the cron-based pmlogger/pmie service
308 scripts.
310 %if !%{disable_microhttpd}
312 # pcp-webapi
314 %package webapi
315 License: GPLv2+
316 Group: Applications/System
317 Summary: Performance Co-Pilot (PCP) web API service
318 URL: http://www.pcp.io
319 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
321 %description webapi
322 Provides a daemon (pmwebd) that binds a large subset of the Performance
323 Co-Pilot (PCP) client API (PMAPI) to RESTful web applications using the
324 HTTP (PMWEBAPI) protocol.
325 %endif
328 # pcp-webjs and pcp-webapp packages
330 %package webjs
331 License: ASL2.0 and MIT and CC-BY
332 Group: Applications/Internet
333 %if !%{disable_noarch}
334 BuildArch: noarch
335 %endif
336 Requires: pcp-webapp-graphite pcp-webapp-grafana pcp-webapp-vector
337 Summary: Performance Co-Pilot (PCP) web applications
338 URL: http://www.pcp.io
340 %description webjs
341 Javascript web application content for the Performance Co-Pilot (PCP)
342 web service.
344 %package webapp-vector
345 License: ASL2.0
346 Group: Applications/Internet
347 %if !%{disable_noarch}
348 BuildArch: noarch
349 %endif
350 Summary: Vector web application for Performance Co-Pilot (PCP)
351 URL: https://github.com/Netflix/vector
353 %description webapp-vector
354 Vector web application for the Performance Co-Pilot (PCP).
356 %package webapp-grafana
357 License: ASL2.0
358 Group: Applications/Internet
359 Conflicts: pcp-webjs < 3.10.4
360 %if !%{disable_noarch}
361 BuildArch: noarch
362 %endif
363 Summary: Grafana web application for Performance Co-Pilot (PCP)
364 URL: https://grafana.org
366 %description webapp-grafana
367 Grafana is an open source, feature rich metrics dashboard and graph
368 editor. This package provides a Grafana that uses the Performance
369 Co-Pilot (PCP) as the data repository. Other Grafana backends are
370 not used.
372 Grafana can render time series dashboards at the browser via flot.js
373 (more interactive, slower, for beefy browsers) or alternately at the
374 server via png (less interactive, faster).
376 %package webapp-graphite
377 License: ASL2.0
378 Group: Applications/Internet
379 Conflicts: pcp-webjs < 3.10.4
380 %if !%{disable_noarch}
381 BuildArch: noarch
382 %endif
383 Summary: Graphite web application for Performance Co-Pilot (PCP)
384 URL: http://graphite.readthedocs.org
386 %description webapp-graphite
387 Graphite is a highly scalable real-time graphing system. This package
388 provides a graphite version that uses the Performance Co-Pilot (PCP)
389 as the data repository, and Graphites web interface renders it. The
390 Carbon and Whisper subsystems of Graphite are not included nor used.
393 # perl-PCP-PMDA. This is the PCP agent perl binding.
395 %package -n perl-PCP-PMDA
396 License: GPLv2+
397 Group: Development/Libraries
398 Summary: Performance Co-Pilot (PCP) Perl bindings and documentation
399 URL: http://www.pcp.io
400 Requires: pcp-libs = %{version}-%{release}
401 Requires: perl
403 %description -n perl-PCP-PMDA
404 The PCP::PMDA Perl module contains the language bindings for
405 building Performance Metric Domain Agents (PMDAs) using Perl.
406 Each PMDA exports performance data for one specific domain, for
407 example the operating system kernel, Cisco routers, a database,
408 an application, etc.
411 # perl-PCP-MMV
413 %package -n perl-PCP-MMV
414 License: GPLv2+
415 Group: Development/Libraries
416 Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values
417 URL: http://www.pcp.io
418 Requires: pcp-libs = %{version}-%{release}
420 %description -n perl-PCP-MMV
421 The PCP::MMV module contains the Perl language bindings for
422 building scripts instrumented with the Performance Co-Pilot
423 (PCP) Memory Mapped Value (MMV) mechanism.
424 This mechanism allows arbitrary values to be exported from an
425 instrumented script into the PCP infrastructure for monitoring
426 and analysis with pmchart, pmie, pmlogger and other PCP tools.
429 # perl-PCP-LogImport
431 %package -n perl-PCP-LogImport
432 License: GPLv2+
433 Group: Development/Libraries
434 Summary: Performance Co-Pilot (PCP) Perl bindings for importing external data into PCP archives
435 URL: http://www.pcp.io
436 Requires: pcp-libs = %{version}-%{release}
438 %description -n perl-PCP-LogImport
439 The PCP::LogImport module contains the Perl language bindings for
440 importing data in various 3rd party formats into PCP archives so
441 they can be replayed with standard PCP monitoring tools.
444 # perl-PCP-LogSummary
446 %package -n perl-PCP-LogSummary
447 License: GPLv2+
448 Group: Development/Libraries
449 Summary: Performance Co-Pilot (PCP) Perl bindings for post-processing output of pmlogsummary
450 URL: http://www.pcp.io
451 Requires: pcp-libs = %{version}-%{release}
453 %description -n perl-PCP-LogSummary
454 The PCP::LogSummary module provides a Perl module for using the
455 statistical summary data produced by the Performance Co-Pilot
456 pmlogsummary utility. This utility produces various averages,
457 minima, maxima, and other calculations based on the performance
458 data stored in a PCP archive. The Perl interface is ideal for
459 exporting this data into third-party tools (e.g. spreadsheets).
462 # pcp-import-sar2pcp
464 %package import-sar2pcp
465 License: LGPLv2+
466 Group: Applications/System
467 Summary: Performance Co-Pilot tools for importing sar data into PCP archive logs
468 URL: http://www.pcp.io
469 Requires: pcp-libs = %{version}-%{release}
470 Requires: perl-PCP-LogImport = %{version}-%{release}
471 Requires: sysstat
473 %description import-sar2pcp
474 Performance Co-Pilot (PCP) front-end tools for importing sar data
475 into standard PCP archive logs for replay with any PCP monitoring tool.
478 # pcp-import-iostat2pcp
480 %package import-iostat2pcp
481 License: LGPLv2+
482 Group: Applications/System
483 Summary: Performance Co-Pilot tools for importing iostat data into PCP archive logs
484 URL: http://www.pcp.io
485 Requires: pcp-libs = %{version}-%{release}
486 Requires: perl-PCP-LogImport = %{version}-%{release}
487 Requires: sysstat
489 %description import-iostat2pcp
490 Performance Co-Pilot (PCP) front-end tools for importing iostat data
491 into standard PCP archive logs for replay with any PCP monitoring tool.
494 # pcp-import-mrtg2pcp
496 %package import-mrtg2pcp
497 License: LGPLv2+
498 Group: Applications/System
499 Summary: Performance Co-Pilot tools for importing MTRG data into PCP archive logs
500 URL: http://www.pcp.io
501 Requires: pcp-libs = %{version}-%{release}
502 Requires: perl-PCP-LogImport = %{version}-%{release}
504 %description import-mrtg2pcp
505 Performance Co-Pilot (PCP) front-end tools for importing MTRG data
506 into standard PCP archive logs for replay with any PCP monitoring tool.
509 # pcp-import-ganglia2pcp
511 %package import-ganglia2pcp
512 License: LGPLv2+
513 Group: Applications/System
514 Summary: Performance Co-Pilot tools for importing ganglia data into PCP archive logs
515 URL: http://www.pcp.io
516 Requires: pcp-libs = %{version}-%{release}
517 Requires: perl-PCP-LogImport = %{version}-%{release}
519 %description import-ganglia2pcp
520 Performance Co-Pilot (PCP) front-end tools for importing ganglia data
521 into standard PCP archive logs for replay with any PCP monitoring tool.
523 %if !%{disable_python2} || !%{disable_python3}
525 # pcp-export-pcp2graphite
527 %package export-pcp2graphite
528 License: GPLv2+
529 Group: Applications/System
530 Summary: Performance Co-Pilot tools for exporting PCP metrics to Graphite
531 URL: http://www.pcp.io
532 Requires: pcp-libs >= %{version}-%{release}
533 %if !%{disable_python3}
534 Requires: python3-pcp = %{version}-%{release}
535 %else
536 Requires: python-pcp = %{version}-%{release}
537 %endif
539 %description export-pcp2graphite
540 Performance Co-Pilot (PCP) front-end tools for exporting metric values
541 to graphite (http://graphite.readthedocs.org).
542 %endif
545 # pcp-import-collectl2pcp
547 %package import-collectl2pcp
548 License: LGPLv2+
549 Group: Applications/System
550 Summary: Performance Co-Pilot tools for importing collectl log files into PCP archive logs
551 URL: http://www.pcp.io
552 Requires: pcp-libs = %{version}-%{release}
554 %description import-collectl2pcp
555 Performance Co-Pilot (PCP) front-end tools for importing collectl data
556 into standard PCP archive logs for replay with any PCP monitoring tool.
558 %if !%{disable_papi}
560 # pcp-pmda-papi
562 %package pmda-papi
563 License: GPLv2+
564 Group: Applications/System
565 Summary: Performance Co-Pilot (PCP) metrics for Performance API and hardware counters
566 URL: http://www.pcp.io
567 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
568 BuildRequires: papi-devel
570 %description pmda-papi
571 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
572 collecting hardware counters statistics through PAPI (Performance API).
573 %endif
575 %if !%{disable_perfevent}
577 # pcp-pmda-perfevent
579 %package pmda-perfevent
580 License: GPLv2+
581 Group: Applications/System
582 Summary: Performance Co-Pilot (PCP) metrics for hardware counters
583 URL: http://www.pcp.io
584 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
585 Requires: libpfm >= 4
586 BuildRequires: libpfm-devel >= 4
588 %description pmda-perfevent
589 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
590 collecting hardware counters statistics through libpfm.
591 %endif
593 %if !%{disable_infiniband}
595 # pcp-pmda-infiniband
597 %package pmda-infiniband
598 License: GPLv2+
599 Group: Applications/System
600 Summary: Performance Co-Pilot (PCP) metrics for Infiniband HCAs and switches
601 URL: http://www.pcp.io
602 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
603 Requires: libibmad >= 1.3.7 libibumad >= 1.3.7
604 BuildRequires: libibmad-devel >= 1.3.7 libibumad-devel >= 1.3.7
606 %description pmda-infiniband
607 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
608 collecting Infiniband statistics. By default, it monitors the local HCAs
609 but can also be configured to monitor remote GUIDs such as IB switches.
610 %endif
612 # pcp-pmda-activemq
614 %package pmda-activemq
615 License: GPLv2+
616 Group: Applications/System
617 Summary: Performance Co-Pilot (PCP) metrics for ActiveMQ
618 URL: http://www.pcp.io
619 Requires: perl-PCP-PMDA = %{version}-%{release}
620 Requires: perl(LWP::UserAgent)
622 %description pmda-activemq
623 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
624 collecting metrics about the ActiveMQ message broker.
625 #end pcp-pmda-activemq
628 # pcp-pmda-bonding
630 %package pmda-bonding
631 License: GPLv2+
632 Group: Applications/System
633 Summary: Performance Co-Pilot (PCP) metrics for Bonded network interfaces
634 URL: http://www.pcp.io
635 Requires: perl-PCP-PMDA = %{version}-%{release}
637 %description pmda-bonding
638 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
639 collecting metrics about bonded network interfaces.
640 #end pcp-pmda-bonding
643 # pcp-pmda-dbping
645 %package pmda-dbping
646 License: GPLv2+
647 Group: Applications/System
648 Summary: Performance Co-Pilot (PCP) metrics for Database response times and Availablility
649 URL: http://www.pcp.io
650 Requires: perl-PCP-PMDA = %{version}-%{release}
652 %description pmda-dbping
653 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
654 collecting metrics about the Database response times and Availablility.
655 #end pcp-pmda-dbping
658 # pcp-pmda-ds389
660 %package pmda-ds389
661 License: GPLv2+
662 Group: Applications/System
663 Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Servers
664 URL: http://www.pcp.io
665 Requires: perl-PCP-PMDA = %{version}-%{release}
667 %description pmda-ds389
668 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
669 collecting metrics about a 389 Directory Server.
670 #end pcp-pmda-ds389
673 # pcp-pmda-ds389log
675 %package pmda-ds389log
676 License: GPLv2+
677 Group: Applications/System
678 Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Server Loggers
679 URL: http://www.pcp.io
680 Requires: perl-PCP-PMDA = %{version}-%{release}
682 %description pmda-ds389log
683 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
684 collecting metrics from a 389 Directory Server log.
685 #end pcp-pmda-ds389log
688 # pcp-pmda-elasticsearch
690 %package pmda-elasticsearch
691 License: GPLv2+
692 Group: Applications/System
693 Summary: Performance Co-Pilot (PCP) metrics for Elasticsearch
694 URL: http://www.pcp.io
695 Requires: perl-PCP-PMDA = %{version}-%{release}
696 Requires: perl(LWP::UserAgent)
698 %description pmda-elasticsearch
699 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
700 collecting metrics about Elasticsearch.
701 #end pcp-pmda-elasticsearch
704 # pcp-pmda-gpfs
706 %package pmda-gpfs
707 License: GPLv2+
708 Group: Applications/System
709 Summary: Performance Co-Pilot (PCP) metrics for GPFS Filesystem
710 URL: http://www.pcp.io
711 Requires: perl-PCP-PMDA = %{version}-%{release}
713 %description pmda-gpfs
714 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
715 collecting metrics about the GPFS filesystem.
716 #end pcp-pmda-gpfs
719 # pcp-pmda-gpsd
721 %package pmda-gpsd
722 License: GPLv2+
723 Group: Applications/System
724 Summary: Performance Co-Pilot (PCP) metrics for a GPS Daemon
725 URL: http://www.pcp.io
726 Requires: perl-PCP-PMDA = %{version}-%{release}
728 %description pmda-gpsd
729 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
730 collecting metrics about a GPS Daemon.
731 #end pcp-pmda-gpsd
734 # pcp-pmda-kvm
736 %package pmda-kvm
737 License: GPLv2+
738 Group: Applications/System
739 Summary: Performance Co-Pilot (PCP) metrics for KVM
740 URL: http://www.pcp.io
741 Requires: perl-PCP-PMDA = %{version}-%{release}
743 %description pmda-kvm
744 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
745 collecting metrics about the Kernel based Virtual Machine.
746 #end pcp-pmda-kvm
749 # pcp-pmda-lustre
751 %package pmda-lustre
752 License: GPLv2+
753 Group: Applications/System
754 Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem
755 URL: http://www.pcp.io
756 Requires: perl-PCP-PMDA = %{version}-%{release}
758 %description pmda-lustre
759 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
760 collecting metrics about the Lustre Filesystem.
761 #end pcp-pmda-lustre
764 # pcp-pmda-lustrecomm
766 %package pmda-lustrecomm
767 License: GPLv2+
768 Group: Applications/System
769 Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem Comms
770 URL: http://www.pcp.io
771 Requires: pcp = %{version}-%{release}
772 Requires: pcp-libs = %{version}-%{release}
774 %description pmda-lustrecomm
775 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
776 collecting metrics about the Lustre Filesystem Comms.
777 #end pcp-pmda-lustrecomm
780 # pcp-pmda-memcache
782 %package pmda-memcache
783 License: GPLv2+
784 Group: Applications/System
785 Summary: Performance Co-Pilot (PCP) metrics for Memcached
786 URL: http://www.pcp.io
787 Requires: perl-PCP-PMDA = %{version}-%{release}
789 %description pmda-memcache
790 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
791 collecting metrics about Memcached.
792 #end pcp-pmda-memcache
795 # pcp-pmda-mysql
797 %package pmda-mysql
798 License: GPLv2+
799 Group: Applications/System
800 Summary: Performance Co-Pilot (PCP) metrics for MySQL
801 URL: http://www.pcp.io
802 Requires: perl-PCP-PMDA = %{version}-%{release}
803 Requires: perl(DBI)
804 Requires: perl(DBD::mysql)
806 %description pmda-mysql
807 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
808 collecting metrics about the MySQL database.
809 #end pcp-pmda-mysql
812 # pcp-pmda-named
814 %package pmda-named
815 License: GPLv2+
816 Group: Applications/System
817 Summary: Performance Co-Pilot (PCP) metrics for Named
818 URL: http://www.pcp.io
819 Requires: perl-PCP-PMDA = %{version}-%{release}
821 %description pmda-named
822 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
823 collecting metrics about the Named nameserver.
824 #end pcp-pmda-named
826 # pcp-pmda-netfilter
828 %package pmda-netfilter
829 License: GPLv2+
830 Group: Applications/System
831 Summary: Performance Co-Pilot (PCP) metrics for Netfilter framework
832 URL: http://www.pcp.io
833 Requires: perl-PCP-PMDA = %{version}-%{release}
835 %description pmda-netfilter
836 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
837 collecting metrics about the Netfilter packet filtering framework.
838 #end pcp-pmda-netfilter
841 # pcp-pmda-news
843 %package pmda-news
844 License: GPLv2+
845 Group: Applications/System
846 Summary: Performance Co-Pilot (PCP) metrics for Usenet News
847 URL: http://www.pcp.io
848 Requires: perl-PCP-PMDA = %{version}-%{release}
850 %description pmda-news
851 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
852 collecting metrics about Usenet News.
853 #end pcp-pmda-news
856 # pcp-pmda-nginx
858 %package pmda-nginx
859 License: GPLv2+
860 Group: Applications/System
861 Summary: Performance Co-Pilot (PCP) metrics for the Nginx Webserver
862 URL: http://www.pcp.io
863 Requires: perl-PCP-PMDA = %{version}-%{release}
864 Requires: perl(LWP::UserAgent)
866 %description pmda-nginx
867 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
868 collecting metrics about the Nginx Webserver.
869 #end pcp-pmda-nginx
872 # pcp-pmda-nfsclient
874 %package pmda-nfsclient
875 License: GPLv2+
876 Group: Applications/System
877 Summary: Performance Co-Pilot (PCP) metrics for NFS Clients
878 URL: http://www.pcp.io
879 Requires: perl-PCP-PMDA = %{version}-%{release}
881 %description pmda-nfsclient
882 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
883 collecting metrics for NFS Clients.
884 #end pcp-pmda-nfsclient
887 # pcp-pmda-pdns
889 %package pmda-pdns
890 License: GPLv2+
891 Group: Applications/System
892 Summary: Performance Co-Pilot (PCP) metrics for PowerDNS
893 URL: http://www.pcp.io
894 Requires: perl-PCP-PMDA = %{version}-%{release}
896 %description pmda-pdns
897 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
898 collecting metrics about the PowerDNS.
899 #end pcp-pmda-pdns
902 # pcp-pmda-postfix
904 %package pmda-postfix
905 License: GPLv2+
906 Group: Applications/System
907 Summary: Performance Co-Pilot (PCP) metrics for the Postfix (MTA)
908 URL: http://www.pcp.io
909 Requires: perl-PCP-PMDA = %{version}-%{release}
910 %if 0%{?fedora} > 16 || 0%{?rhel} > 5
911 Requires: postfix-perl-scripts
912 %endif
913 %if 0%{?rhel} <= 5
914 Requires: postfix
915 %endif
916 %if "%{_vendor}" == "suse"
917 Requires: postfix-doc
918 %endif
920 %description pmda-postfix
921 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
922 collecting metrics about the Postfix (MTA).
923 #end pcp-pmda-postfix
926 # pcp-pmda-postgresql
928 %package pmda-postgresql
929 License: GPLv2+
930 Group: Applications/System
931 Summary: Performance Co-Pilot (PCP) metrics for PostgreSQL
932 URL: http://www.pcp.io
933 Requires: perl-PCP-PMDA = %{version}-%{release}
934 Requires: perl(DBI)
935 Requires: perl(DBD::Pg)
937 %description pmda-postgresql
938 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
939 collecting metrics about the PostgreSQL database.
940 #end pcp-pmda-postgresql
943 # pcp-pmda-rsyslog
945 %package pmda-rsyslog
946 License: GPLv2+
947 Group: Applications/System
948 Summary: Performance Co-Pilot (PCP) metrics for Rsyslog
949 URL: http://www.pcp.io
950 Requires: perl-PCP-PMDA = %{version}-%{release}
952 %description pmda-rsyslog
953 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
954 collecting metrics about Rsyslog.
955 #end pcp-pmda-rsyslog
958 # pcp-pmda-samba
960 %package pmda-samba
961 License: GPLv2+
962 Group: Applications/System
963 Summary: Performance Co-Pilot (PCP) metrics for Samba
964 URL: http://www.pcp.io
965 Requires: perl-PCP-PMDA = %{version}-%{release}
967 %description pmda-samba
968 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
969 collecting metrics about Samba.
970 #end pcp-pmda-samba
973 # pcp-pmda-slurm
975 %package pmda-slurm
976 License: GPLv2+
977 Group: Applications/System
978 Summary: Performance Co-Pilot (PCP) metrics for NFS Clients
979 URL: http://www.pcp.io
980 Requires: perl-PCP-PMDA = %{version}-%{release}
982 %description pmda-slurm
983 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
984 collecting metrics from the SLURM Workload Manager.
985 #end pcp-pmda-slurm
988 # pcp-pmda-snmp
990 %package pmda-snmp
991 License: GPLv2+
992 Group: Applications/System
993 Summary: Performance Co-Pilot (PCP) metrics for Simple Network Management Protocol
994 URL: http://www.pcp.io
995 Requires: perl-PCP-PMDA = %{version}-%{release}
997 %description pmda-snmp
998 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
999 collecting metrics about SNMP.
1000 #end pcp-pmda-snmp
1003 # pcp-pmda-vmware
1005 %package pmda-vmware
1006 License: GPLv2+
1007 Group: Applications/System
1008 Summary: Performance Co-Pilot (PCP) metrics for VMware
1009 URL: http://www.pcp.io
1010 Requires: perl-PCP-PMDA = %{version}-%{release}
1012 %description pmda-vmware
1013 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1014 collecting metrics for VMware.
1015 #end pcp-pmda-vmware
1018 # pcp-pmda-zimbra
1020 %package pmda-zimbra
1021 License: GPLv2+
1022 Group: Applications/System
1023 Summary: Performance Co-Pilot (PCP) metrics for Zimbra
1024 URL: http://www.pcp.io
1025 Requires: perl-PCP-PMDA = %{version}-%{release}
1027 %description pmda-zimbra
1028 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1029 collecting metrics about Zimbra.
1030 #end pcp-pmda-zimbra
1033 # pcp-pmda-dm
1035 %package pmda-dm
1036 License: GPLv2+
1037 Group: Applications/System
1038 Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client
1039 URL: http://www.pcp.io
1040 Requires: pcp-libs = %{version}-%{release}
1041 %description pmda-dm
1042 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1043 collecting metrics about the Device Mapper Cache and Thin Client.
1044 # end pcp-pmda-dm
1047 %if !%{disable_python2} || !%{disable_python3}
1049 # pcp-pmda-gluster
1051 %package pmda-gluster
1052 License: GPLv2+
1053 Group: Applications/System
1054 Summary: Performance Co-Pilot (PCP) metrics for the Gluster filesystem
1055 URL: http://www.pcp.io
1056 %if !%{disable_python3}
1057 Requires: python3-pcp
1058 %else
1059 Requires: python-pcp
1060 %endif
1061 %description pmda-gluster
1062 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1063 collecting metrics about the gluster filesystem.
1064 # end pcp-pmda-gluster
1067 # pcp-pmda-zswap
1069 %package pmda-zswap
1070 License: GPLv2+
1071 Group: Applications/System
1072 Summary: Performance Co-Pilot (PCP) metrics for compressed swap
1073 URL: http://www.pcp.io
1074 %if !%{disable_python3}
1075 Requires: python3-pcp
1076 %else
1077 Requires: python-pcp
1078 %endif
1079 %description pmda-zswap
1080 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1081 collecting metrics about compressed swap.
1082 # end pcp-pmda-zswap
1085 # pcp-pmda-unbound
1087 %package pmda-unbound
1088 License: GPLv2+
1089 Group: Applications/System
1090 Summary: Performance Co-Pilot (PCP) metrics for the Unbound DNS Resolver
1091 URL: http://www.pcp.io
1092 %if !%{disable_python3}
1093 Requires: python3-pcp
1094 %else
1095 Requires: python-pcp
1096 %endif
1097 %description pmda-unbound
1098 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1099 collecting metrics about the Unbound DNS Resolver.
1100 # end pcp-pmda-unbound
1103 # pcp-pmda-mic
1105 %package pmda-mic
1106 License: GPLv2+
1107 Group: Applications/System
1108 Summary: Performance Co-Pilot (PCP) metrics for Intel MIC cards
1109 URL: http://www.pcp.io
1110 %if !%{disable_python3}
1111 Requires: python3-pcp
1112 %else
1113 Requires: python-pcp
1114 %endif
1115 %description pmda-mic
1116 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1117 collecting metrics about Intel MIC cards.
1118 # end pcp-pmda-mic
1120 %endif # !%{disable_python2} || !%{disable_python3}
1122 %if !%{disable_json}
1124 # pcp-pmda-json
1126 %package pmda-json
1127 License: GPLv2+
1128 Group: Applications/System
1129 Summary: Performance Co-Pilot (PCP) metrics for JSON data
1130 URL: http://www.pcp.io
1131 %if !%{disable_python3}
1132 Requires: python3-pcp
1133 Requires: python3-jsonpointer
1134 Requires: python3-six
1135 %else
1136 Requires: python-pcp
1137 Requires: python-jsonpointer
1138 Requires: python-six
1139 %endif
1140 %description pmda-json
1141 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1142 collecting metrics output in JSON.
1143 # end pcp-pmda-json
1144 %endif # !%{disable_json}
1147 # C pmdas
1148 # pcp-pmda-apache
1150 %package pmda-apache
1151 License: GPLv2+
1152 Group: Applications/System
1153 Summary: Performance Co-Pilot (PCP) metrics for the Apache webserver
1154 URL: http://www.pcp.io
1155 Requires: pcp-libs = %{version}-%{release}
1156 %description pmda-apache
1157 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1158 collecting metrics about the Apache webserver.
1159 # end pcp-pmda-apache
1162 # pcp-pmda-bash
1164 %package pmda-bash
1165 License: GPLv2+
1166 Group: Applications/System
1167 Summary: Performance Co-Pilot (PCP) metrics for the Bash shell
1168 URL: http://www.pcp.io
1169 Requires: pcp-libs = %{version}-%{release}
1170 %description pmda-bash
1171 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1172 collecting metrics about the Bash shell.
1173 # end pcp-pmda-bash
1176 # pcp-pmda-cifs
1178 %package pmda-cifs
1179 License: GPLv2+
1180 Group: Applications/System
1181 Summary: Performance Co-Pilot (PCP) metrics for the Cifs shell
1182 URL: http://www.pcp.io
1183 Requires: pcp-libs = %{version}-%{release}
1184 %description pmda-cifs
1185 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1186 collecting metrics about the Common Internet Filesytem.
1187 # end pcp-pmda-cifs
1190 # pcp-pmda-cisco
1192 %package pmda-cisco
1193 License: GPLv2+
1194 Group: Applications/System
1195 Summary: Performance Co-Pilot (PCP) metrics for the Cisco shell
1196 URL: http://www.pcp.io
1197 Requires: pcp-libs = %{version}-%{release}
1198 %description pmda-cisco
1199 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1200 collecting metrics about Cisco routers.
1201 # end pcp-pmda-cisco
1204 # pcp-pmda-gfs2
1206 %package pmda-gfs2
1207 License: GPLv2+
1208 Group: Applications/System
1209 Summary: Performance Co-Pilot (PCP) metrics for the Gfs2 shell
1210 URL: http://www.pcp.io
1211 Requires: pcp-libs = %{version}-%{release}
1212 %description pmda-gfs2
1213 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1214 collecting metrics about the Global Filesystem v2.
1215 # end pcp-pmda-gfs2
1218 # pcp-pmda-lmsensors
1220 %package pmda-lmsensors
1221 License: GPLv2+
1222 Group: Applications/System
1223 Summary: Performance Co-Pilot (PCP) metrics for the Lmsensors shell
1224 URL: http://www.pcp.io
1225 Requires: pcp-libs = %{version}-%{release}
1226 %description pmda-lmsensors
1227 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1228 collecting metrics about the Linux hardware monitoring sensors.
1229 # end pcp-pmda-lmsensors
1232 # pcp-pmda-logger
1234 %package pmda-logger
1235 License: GPLv2+
1236 Group: Applications/System
1237 Summary: Performance Co-Pilot (PCP) metrics from arbitrary log files
1238 URL: http://www.pcp.io
1239 Requires: pcp-libs = %{version}-%{release}
1240 %description pmda-logger
1241 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1242 collecting metrics from a specified set of log files (or pipes). The PMDA
1243 supports both sampled and event-style metrics.
1244 # end pcp-pmda-logger
1247 # pcp-pmda-mailq
1249 %package pmda-mailq
1250 License: GPLv2+
1251 Group: Applications/System
1252 Summary: Performance Co-Pilot (PCP) metrics for the Mailq shell
1253 URL: http://www.pcp.io
1254 Requires: pcp-libs = %{version}-%{release}
1255 %description pmda-mailq
1256 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1257 collecting metrics about email queues managed by sendmail.
1258 # end pcp-pmda-mailq
1261 # pcp-pmda-mounts
1263 %package pmda-mounts
1264 License: GPLv2+
1265 Group: Applications/System
1266 Summary: Performance Co-Pilot (PCP) metrics for the Mounts shell
1267 URL: http://www.pcp.io
1268 Requires: pcp-libs = %{version}-%{release}
1269 %description pmda-mounts
1270 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1271 collecting metrics about filesystem mounts.
1272 # end pcp-pmda-mounts
1275 # pcp-pmda-nvidia-gpu
1277 %package pmda-nvidia-gpu
1278 License: GPLv2+
1279 Group: Applications/System
1280 Summary: Performance Co-Pilot (PCP) metrics for the Nvidia shell
1281 URL: http://www.pcp.io
1282 Requires: pcp-libs = %{version}-%{release}
1283 %description pmda-nvidia-gpu
1284 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1285 collecting metrics about the Nvidia gpu metrics.
1286 # end pcp-pmda-nvidia-gpu
1289 # pcp-pmda-roomtemp
1291 %package pmda-roomtemp
1292 License: GPLv2+
1293 Group: Applications/System
1294 Summary: Performance Co-Pilot (PCP) metrics for the Roomtemp shell
1295 URL: http://www.pcp.io
1296 Requires: pcp = %{version}-%{release}
1297 Requires: pcp-libs = %{version}-%{release}
1298 %description pmda-roomtemp
1299 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1300 collecting metrics about the Room temperature metrics.
1301 # end pcp-pmda-roomtemp
1303 %if !%{disable_rpm}
1305 # pcp-pmda-rpm
1307 %package pmda-rpm
1308 License: GPLv2+
1309 Group: Applications/System
1310 Summary: Performance Co-Pilot (PCP) metrics for the Rpm shell
1311 URL: http://www.pcp.io
1312 Requires: pcp = %{version}-%{release}
1313 Requires: pcp-libs = %{version}-%{release}
1314 %description pmda-rpm
1315 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1316 collecting metrics about the rpms.
1317 # end pcp-pmda-rpm
1318 %endif
1321 # pcp-pmda-sendmail
1323 %package pmda-sendmail
1324 License: GPLv2+
1325 Group: Applications/System
1326 Summary: Performance Co-Pilot (PCP) metrics for the Sendmail shell
1327 URL: http://www.pcp.io
1328 Requires: pcp = %{version}-%{release}
1329 Requires: pcp-libs = %{version}-%{release}
1330 %description pmda-sendmail
1331 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1332 collecting metrics about Sendmail traffic metrics.
1333 # end pcp-pmda-sendmail
1336 # pcp-pmda-shping
1338 %package pmda-shping
1339 License: GPLv2+
1340 Group: Applications/System
1341 Summary: Performance Co-Pilot (PCP) metrics for the Shping shell
1342 URL: http://www.pcp.io
1343 Requires: pcp-libs = %{version}-%{release}
1344 %description pmda-shping
1345 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1346 collecting metrics about quality of service and response time measurements of
1347 arbitrary shell commands.
1348 # end pcp-pmda-shping
1351 # pcp-pmda-summary
1353 %package pmda-summary
1354 License: GPLv2+
1355 Group: Applications/System
1356 Summary: Performance Co-Pilot (PCP) metrics for the Summary shell
1357 URL: http://www.pcp.io
1358 Requires: pcp = %{version}-%{release}
1359 Requires: pcp-libs = %{version}-%{release}
1360 %description pmda-summary
1361 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1362 collecting metrics about other installed pmdas.
1363 # end pcp-pmda-summary
1365 %if !%{disable_systemd}
1367 # pcp-pmda-systemd
1369 %package pmda-systemd
1370 License: GPLv2+
1371 Group: Applications/System
1372 Summary: Performance Co-Pilot (PCP) metrics for the Systemd shell
1373 URL: http://www.pcp.io
1374 Requires: pcp-libs = %{version}-%{release}
1375 %description pmda-systemd
1376 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1377 collecting metrics about the Systemd shell.
1378 # end pcp-pmda-systemd
1379 %endif
1382 # pcp-pmda-trace
1384 %package pmda-trace
1385 License: GPLv2+
1386 Group: Applications/System
1387 Summary: Performance Co-Pilot (PCP) metrics for the Trace shell
1388 URL: http://www.pcp.io
1389 Requires: pcp-libs = %{version}-%{release}
1390 %description pmda-trace
1391 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1392 collecting metrics about transaction performance metrics from applications.
1393 # end pcp-pmda-trace
1396 # pcp-pmda-weblog
1398 %package pmda-weblog
1399 License: GPLv2+
1400 Group: Applications/System
1401 Summary: Performance Co-Pilot (PCP) metrics for the Weblog shell
1402 URL: http://www.pcp.io
1403 Requires: pcp = %{version}-%{release}
1404 Requires: pcp-libs = %{version}-%{release}
1405 %description pmda-weblog
1406 This package contains the PCP Performance Metrics Domain Agent (PMDA) for
1407 collecting metrics about web server logs.
1408 # end pcp-pmda-weblog
1409 # end C pmdas
1412 # pcp-compat
1414 %if %{with_compat}
1415 %package compat
1416 License: GPLv2+
1417 Group: Applications/System
1418 Summary: Performance Co-Pilot (PCP) compat package for existing systems
1419 URL: http://www.pcp.io
1420 Requires: pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
1421 Requires: pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-kvm pcp-pmda-lustre
1422 Requires: pcp-pmda-memcache pcp-pmda-mysql pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
1423 Requires: pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql
1424 Requires: pcp-pmda-dm pcp-pmda-apache
1425 Requires: pcp-pmda-bash pcp-pmda-cisco pcp-pmda-gfs2 pcp-pmda-lmsensors pcp-pmda-mailq pcp-pmda-mounts
1426 Requires: pcp-pmda-nvidia-gpu pcp-pmda-roomtemp pcp-pmda-sendmail pcp-pmda-shping pcp-pmda-logger
1427 Requires: pcp-pmda-lustrecomm
1428 %if !%{disable_python2} || !%{disable_python3}
1429 Requires: pcp-pmda-gluster pcp-pmda-zswap pcp-pmda-unbound pcp-pmda-mic
1430 Requires: pcp-system-tools pcp-export-pcp2graphite
1431 %endif
1432 %if !%{disable_json}
1433 Requires: pcp-pmda-json
1434 %endif
1435 %if !%{disable_rpm}
1436 Requires: pcp-pmda-rpm
1437 %endif
1438 Requires: pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
1439 Requires: pcp-doc
1440 %description compat
1441 This package contains the PCP compatibility dependencies for existing PCP
1442 installations. This is not a package that should be depended on, and will
1443 be removed in future releases.
1444 %endif #compat
1446 # pcp-collector metapackage
1447 %package collector
1448 License: GPLv2+
1449 Group: Applications/System
1450 Summary: Performance Co-Pilot (PCP) Collection meta Package
1451 URL: http://www.pcp.io
1452 Requires: pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
1453 Requires: pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-kvm pcp-pmda-lustre
1454 Requires: pcp-pmda-memcache pcp-pmda-mysql pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
1455 Requires: pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql
1456 Requires: pcp-pmda-samba pcp-pmda-slurm pcp-pmda-snmp pcp-pmda-vmware pcp-pmda-zimbra
1457 Requires: pcp-pmda-dm pcp-pmda-apache
1458 Requires: pcp-pmda-bash pcp-pmda-cisco pcp-pmda-gfs2 pcp-pmda-lmsensors pcp-pmda-mailq pcp-pmda-mounts
1459 Requires: pcp-pmda-nvidia-gpu pcp-pmda-roomtemp pcp-pmda-sendmail pcp-pmda-shping
1460 Requires: pcp-pmda-lustrecomm pcp-pmda-logger
1461 %if !%{disable_python2} || !%{disable_python3}
1462 Requires: pcp-pmda-gluster pcp-pmda-zswap pcp-pmda-unbound pcp-pmda-mic
1463 %endif
1464 %if !%{disable_json}
1465 Requires: pcp-pmda-json
1466 %endif
1467 %if !%{disable_rpm}
1468 Requires: pcp-pmda-rpm
1469 %endif
1470 Requires: pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
1471 %description collector
1472 This meta-package installs the PCP metric collection dependencies. This
1473 includes the vast majority of packages used to collect PCP metrics. The
1474 pcp-collector package also automatically enables and starts the pmcd and
1475 pmlogger services.
1476 # collector
1478 # pcp-monitor metapackage
1479 %package monitor
1480 License: GPLv2+
1481 Group: Applications/System
1482 Summary: Performance Co-Pilot (PCP) Monitoring meta Package
1483 URL: http://www.pcp.io
1484 %if !%{disable_microhttpd}
1485 Requires: pcp-webapi
1486 %endif
1487 %if !%{disable_python2} || !%{disable_python3}
1488 Requires: pcp-system-tools
1489 %endif
1490 %if !%{disable_qt}
1491 Requires: pcp-gui
1492 %endif
1493 %description monitor
1494 This meta-package contains the PCP performance monitoring dependencies. This
1495 includes a large number of packages for analysing PCP metrics in various ways.
1496 # monitor
1498 %if !%{disable_python2}
1500 # python-pcp. This is the PCP library bindings for python.
1502 %package -n python-pcp
1503 License: GPLv2+
1504 Group: Development/Libraries
1505 Summary: Performance Co-Pilot (PCP) Python bindings and documentation
1506 URL: http://www.pcp.io
1507 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
1509 %description -n python-pcp
1510 This python PCP module contains the language bindings for
1511 Performance Metric API (PMAPI) monitor tools and Performance
1512 Metric Domain Agent (PMDA) collector tools written in Python.
1513 %endif
1515 %if !%{disable_python3}
1517 # python3-pcp. This is the PCP library bindings for python3.
1519 %package -n python3-pcp
1520 License: GPLv2+
1521 Group: Development/Libraries
1522 Summary: Performance Co-Pilot (PCP) Python3 bindings and documentation
1523 URL: http://www.pcp.io
1524 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
1526 %description -n python3-pcp
1527 This python PCP module contains the language bindings for
1528 Performance Metric API (PMAPI) monitor tools and Performance
1529 Metric Domain Agent (PMDA) collector tools written in Python3.
1530 %endif
1532 %if !%{disable_python2} || !%{disable_python3}
1534 # pcp-system-tools
1536 %package -n pcp-system-tools
1537 License: GPLv2+
1538 Group: Development/Libraries
1539 Summary: Performance Co-Pilot (PCP) System and Monitoring Tools
1540 URL: http://www.pcp.io
1541 %if !%{disable_python3}
1542 Requires: python3-pcp = %{version}-%{release}
1543 %endif
1544 %if !%{disable_python2}
1545 Requires: python-pcp = %{version}-%{release}
1546 %endif
1547 Requires: pcp-libs = %{version}-%{release}
1548 %description -n pcp-system-tools
1549 This PCP module contains additional system monitoring tools written
1550 in python.
1551 %endif #end pcp-system-tools
1553 %if !%{disable_qt}
1555 # pcp-gui package for Qt tools
1557 %package -n pcp-gui
1558 License: GPLv2+ and LGPLv2+ and LGPLv2+ with exceptions
1559 Group: Applications/System
1560 Summary: Visualization tools for the Performance Co-Pilot toolkit
1561 URL: http://www.pcp.io
1562 Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
1564 %description -n pcp-gui
1565 Visualization tools for the Performance Co-Pilot toolkit.
1566 The pcp-gui package primarily includes visualization tools for
1567 monitoring systems using live and archived Performance Co-Pilot
1568 (PCP) sources.
1569 %endif
1572 # pcp-doc package
1574 %package -n pcp-doc
1575 License: GPLv2+ and CC-BY
1576 Group: Documentation
1577 %if !%{disable_noarch}
1578 BuildArch: noarch
1579 %endif
1580 Summary: Documentation and tutorial for the Performance Co-Pilot
1581 URL: http://www.pcp.io
1582 # http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
1583 # (all man pages migrated to pcp-doc during great package split of '15)
1584 Conflicts: pcp-pmda-pmda < 3.10.5
1585 Conflicts: pcp-pmda-infiniband < 3.10.5
1587 %description -n pcp-doc
1588 Documentation and tutorial for the Performance Co-Pilot
1589 Performance Co-Pilot (PCP) provides a framework and services to support
1590 system-level performance monitoring and performance management.
1592 The pcp-doc package provides useful information on using and
1593 configuring the Performance Co-Pilot (PCP) toolkit for system
1594 level performance management. It includes tutorials, HOWTOs,
1595 and other detailed documentation about the internals of core
1596 PCP utilities and daemons, and the PCP graphical tools.
1598 %prep
1599 %setup -q
1600 %setup -q -T -D -a 2 -c -n pcp-%{version}/vector
1601 %setup -q -T -D -a 1
1603 %clean
1604 rm -Rf $RPM_BUILD_ROOT
1606 %build
1607 %if !%{disable_python2} && 0%{?default_python} != 3
1608 export PYTHON=python%{?default_python}
1609 %endif
1610 %configure %{?_with_initd} %{?_with_doc} %{?_with_ib} %{?_with_papi} %{?_with_perfevent} %{?_with_json}
1611 make %{?_smp_mflags} default_pcp
1613 %install
1614 rm -Rf $RPM_BUILD_ROOT
1615 export NO_CHOWN=true DIST_ROOT=$RPM_BUILD_ROOT
1616 make install_pcp
1618 PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
1620 # Fix stuff we do/don't want to ship
1621 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
1623 # remove sheet2pcp until BZ 830923 and BZ 754678 are resolved.
1624 rm -f $RPM_BUILD_ROOT/%{_bindir}/sheet2pcp $RPM_BUILD_ROOT/%{_mandir}/man1/sheet2pcp.1*
1626 # remove configsz.h as this is not multilib friendly.
1627 rm -f $RPM_BUILD_ROOT/%{_includedir}/pcp/configsz.h
1629 %if %{disable_microhttpd}
1630 rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmwebd
1631 rm -fr $RPM_BUILD_ROOT/%{_initddir}/pmwebd
1632 rm -fr $RPM_BUILD_ROOT/%{_unitdir}/pmwebd.service
1633 rm -f $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin/pmwebd
1634 %endif
1635 # prefer latest released Netflix version over pcp-webjs copy.
1636 rm -fr pcp-webjs/vector
1637 sed -i -e 's/vector [0-9]\.[0-9]*\.[0-9]*/vector/g' pcp-webjs/index.html
1638 mv pcp-webjs/* $RPM_BUILD_ROOT/%{_datadir}/pcp/webapps
1639 rmdir pcp-webjs
1640 mv vector $RPM_BUILD_ROOT/%{_datadir}/pcp/webapps
1642 %if %{disable_infiniband}
1643 # remove pmdainfiniband on platforms lacking IB devel packages.
1644 rm -f $RPM_BUILD_ROOT/%{_pmdasdir}/ib
1645 rm -fr $RPM_BUILD_ROOT/%{_pmdasdir}/infiniband
1646 %endif
1648 %if %{disable_qt}
1649 rm -fr $RPM_BUILD_ROOT/%{_pixmapdir}
1650 rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmsnap
1651 rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmsnap
1652 rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmchart
1653 rm -f $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
1654 rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
1655 rm -f `find $RPM_BUILD_ROOT/%{_mandir}/man1 | grep -E "$PCP_GUI"`
1656 %else
1657 rm -rf $RPM_BUILD_ROOT/usr/share/doc/pcp-gui
1658 desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
1659 %endif
1661 # default chkconfig off for Fedora and RHEL
1662 for f in $RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmwebd,pmmgr,pmproxy}; do
1663 test -f "$f" || continue
1664 sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f
1665 done
1667 # list of PMDAs in the base pkg
1668 ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
1669 grep -E -v '^simple|sample|trivial|txmon' |\
1670 grep -E -v '^perfevent|perfalloc.1' |\
1671 grep -E -v '^ib$|^infiniband' |\
1672 grep -E -v '^papi' |\
1673 grep -E -v '^activemq' |\
1674 grep -E -v '^bonding' |\
1675 grep -E -v '^dbping' |\
1676 grep -E -v '^ds389log'|\
1677 grep -E -v '^ds389' |\
1678 grep -E -v '^elasticsearch' |\
1679 grep -E -v '^gpfs' |\
1680 grep -E -v '^gpsd' |\
1681 grep -E -v '^kvm' |\
1682 grep -E -v '^lustre' |\
1683 grep -E -v '^lustrecomm' |\
1684 grep -E -v '^memcache' |\
1685 grep -E -v '^mysql' |\
1686 grep -E -v '^named' |\
1687 grep -E -v '^netfilter' |\
1688 grep -E -v '^news' |\
1689 grep -E -v '^nfsclient' |\
1690 grep -E -v '^nginx' |\
1691 grep -E -v '^pdns' |\
1692 grep -E -v '^postfix' |\
1693 grep -E -v '^postgresql' |\
1694 grep -E -v '^rsyslog' |\
1695 grep -E -v '^samba' |\
1696 grep -E -v '^slurm' |\
1697 grep -E -v '^snmp' |\
1698 grep -E -v '^vmware' |\
1699 grep -E -v '^zimbra' |\
1700 grep -E -v '^dm' |\
1701 grep -E -v '^apache' |\
1702 grep -E -v '^bash' |\
1703 grep -E -v '^cifs' |\
1704 grep -E -v '^cisco' |\
1705 grep -E -v '^gfs2' |\
1706 grep -E -v '^lmsensors' |\
1707 grep -E -v '^logger' |\
1708 grep -E -v '^mailq' |\
1709 grep -E -v '^mounts' |\
1710 grep -E -v '^nvidia' |\
1711 grep -E -v '^roomtemp' |\
1712 grep -E -v '^sendmail' |\
1713 grep -E -v '^shping' |\
1714 grep -E -v '^summary' |\
1715 grep -E -v '^trace' |\
1716 grep -E -v '^weblog' |\
1717 grep -E -v '^rpm' |\
1718 grep -E -v '^json' |\
1719 grep -E -v '^mic' |\
1720 grep -E -v '^gluster' |\
1721 grep -E -v '^zswap' |\
1722 grep -E -v '^unbound' |\
1723 sed -e 's#^#'%{_pmdasdir}'\/#' >base_pmdas.list
1725 # all base pcp package files except those split out into sub packages
1726 ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
1727 grep -E -v 'pmiostat|pmcollectl|pmatop|pcp2graphite' |\
1728 sed -e 's#^#'%{_bindir}'\/#' >base_bin.list
1730 # Separate the pcp-system-tools package files.
1732 # pmatop, pmcollectl and pmiostat are back-compat symlinks to their
1733 # pcp(1) sub-command variants so must also be in pcp-system-tools.
1734 %if !%{disable_python2} || !%{disable_python3}
1735 ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
1736 grep -E 'pmiostat|pmcollectl|pmatop' |\
1737 sed -e 's#^#'%{_bindir}'\/#' >pcp_system_tools.list
1738 ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
1739 grep -E 'atop|collectl|dmcache|free|iostat|numastat|verify|uptime|shping' |\
1740 sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >>pcp_system_tools.list
1741 %endif
1743 ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
1744 %if !%{disable_python2} || !%{disable_python3}
1745 grep -E -v 'atop|collectl|dmcache|free|iostat|numastat|verify|uptime|shping' |\
1746 %endif
1747 sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >base_exec.list
1748 ls -1 $RPM_BUILD_ROOT/%{_booksdir} |\
1749 sed -e 's#^#'%{_booksdir}'\/#' > pcp-doc.list
1750 ls -1 $RPM_BUILD_ROOT/%{_mandir}/man1 |\
1751 sed -e 's#^#'%{_mandir}'\/man1\/#' >>pcp-doc.list
1752 ls -1 $RPM_BUILD_ROOT/%{_mandir}/man5 |\
1753 sed -e 's#^#'%{_mandir}'\/man5\/#' >>pcp-doc.list
1754 ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos/tutorials |\
1755 sed -e 's#^#'%{_datadir}/pcp/demos/tutorials'\/#' >>pcp-doc.list
1756 %if !%{disable_qt}
1757 ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
1758 sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
1759 cat base_bin.list base_exec.list base_man.list |\
1760 grep -E "$PCP_GUI" >> pcp-gui.list
1761 %endif
1762 cat base_pmdas.list base_bin.list base_exec.list base_man.list |\
1763 grep -E -v 'pmdaib|pmmgr|pmweb|pmsnap|2pcp|pmdas/systemd' |\
1764 grep -E -v "$PCP_GUI|pixmaps|pcp-doc|tutorials" |\
1765 grep -E -v %{_confdir} | grep -E -v %{_logsdir} > base.list
1767 # all devel pcp package files except those split out into sub packages
1768 ls -1 $RPM_BUILD_ROOT/%{_mandir}/man3 |\
1769 sed -e 's#^#'%{_mandir}'\/man3\/#' | grep -v '3pm' >>pcp-doc.list
1770 ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos |\
1771 sed -e 's#^#'%{_datadir}'\/pcp\/demos\/#' | grep -E -v tutorials >> devel.list
1773 %pre testsuite
1774 test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir}
1775 getent group pcpqa >/dev/null || groupadd -r pcpqa
1776 getent passwd pcpqa >/dev/null || \
1777 useradd -c "PCP Quality Assurance" -g pcpqa -d %{_testsdir} -M -r -s /bin/bash pcpqa 2>/dev/null
1778 chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
1779 exit 0
1781 %post testsuite
1782 chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
1783 exit 0
1785 %pre
1786 getent group pcp >/dev/null || groupadd -r pcp
1787 getent passwd pcp >/dev/null || \
1788 useradd -c "Performance Co-Pilot" -g pcp -d %{_localstatedir}/lib/pcp -M -r -s /sbin/nologin pcp
1789 PCP_CONFIG_DIR=%{_localstatedir}/lib/pcp/config
1790 PCP_SYSCONF_DIR=%{_confdir}
1791 PCP_LOG_DIR=%{_logsdir}
1792 PCP_ETC_DIR=%{_sysconfdir}
1793 # rename crontab files to align with current Fedora packaging guidelines
1794 for crontab in pmlogger pmie
1796 test -f "$PCP_ETC_DIR/cron.d/$crontab" || continue
1797 mv -f "$PCP_ETC_DIR/cron.d/$crontab" "$PCP_ETC_DIR/cron.d/pcp-$crontab"
1798 done
1799 # produce a script to run post-install to move configs to their new homes
1800 save_configs_script()
1802 _new="$1"
1803 shift
1804 for _dir
1806 [ "$_dir" = "$_new" ] && continue
1807 if [ -d "$_dir" ]
1808 then
1809 ( cd "$_dir" ; find . -maxdepth 1 -type f ) | sed -e 's/^\.\///' \
1810 | while read _file
1812 [ "$_file" = "control" ] && continue
1813 _want=true
1814 if [ -f "$_new/$_file" ]
1815 then
1816 # file exists in both directories, pick the more
1817 # recently modified one
1818 _try=`find "$_dir/$_file" -newer "$_new/$_file" -print`
1819 [ -n "$_try" ] || _want=false
1821 $_want && echo cp -p "$_dir/$_file" "$_new/$_file"
1822 done
1824 done
1826 # migrate and clean configs if we have had a previous in-use installation
1827 [ -d "$PCP_LOG_DIR" ] || exit 0 # no configuration file upgrades required
1828 rm -f "$PCP_LOG_DIR/configs.sh"
1829 for daemon in pmie pmlogger
1831 save_configs_script >> "$PCP_LOG_DIR/configs.sh" "$PCP_CONFIG_DIR/$daemon" \
1832 "$PCP_SYSCONF_DIR/$daemon"
1833 done
1834 for daemon in pmcd pmproxy
1836 save_configs_script >> "$PCP_LOG_DIR/configs.sh" "$PCP_SYSCONF_DIR/$daemon"\
1837 "$PCP_CONFIG_DIR/$daemon" /etc/$daemon
1838 done
1839 exit 0
1841 %if !%{disable_microhttpd}
1842 %preun webapi
1843 if [ "$1" -eq 0 ]
1844 then
1845 %if !%{disable_systemd}
1846 systemctl --no-reload disable pmwebd.service >/dev/null 2>&1
1847 systemctl stop pmwebd.service >/dev/null 2>&1
1848 %else
1849 /sbin/service pmwebd stop >/dev/null 2>&1
1850 /sbin/chkconfig --del pmwebd >/dev/null 2>&1
1851 %endif
1853 %endif
1855 %preun manager
1856 if [ "$1" -eq 0 ]
1857 then
1858 %if !%{disable_systemd}
1859 systemctl --no-reload disable pmmgr.service >/dev/null 2>&1
1860 systemctl stop pmmgr.service >/dev/null 2>&1
1861 %else
1862 /sbin/service pmmgr stop >/dev/null 2>&1
1863 /sbin/chkconfig --del pmmgr >/dev/null 2>&1
1864 %endif
1867 %preun
1868 if [ "$1" -eq 0 ]
1869 then
1870 # stop daemons before erasing the package
1871 %if !%{disable_systemd}
1872 systemctl --no-reload disable pmlogger.service >/dev/null 2>&1
1873 systemctl --no-reload disable pmie.service >/dev/null 2>&1
1874 systemctl --no-reload disable pmproxy.service >/dev/null 2>&1
1875 systemctl --no-reload disable pmcd.service >/dev/null 2>&1
1877 systemctl stop pmlogger.service >/dev/null 2>&1
1878 systemctl stop pmie.service >/dev/null 2>&1
1879 systemctl stop pmproxy.service >/dev/null 2>&1
1880 systemctl stop pmcd.service >/dev/null 2>&1
1881 %else
1882 /sbin/service pmlogger stop >/dev/null 2>&1
1883 /sbin/service pmie stop >/dev/null 2>&1
1884 /sbin/service pmproxy stop >/dev/null 2>&1
1885 /sbin/service pmcd stop >/dev/null 2>&1
1887 /sbin/chkconfig --del pcp >/dev/null 2>&1
1888 /sbin/chkconfig --del pmcd >/dev/null 2>&1
1889 /sbin/chkconfig --del pmlogger >/dev/null 2>&1
1890 /sbin/chkconfig --del pmie >/dev/null 2>&1
1891 /sbin/chkconfig --del pmproxy >/dev/null 2>&1
1892 %endif
1893 # cleanup namespace state/flag, may still exist
1894 PCP_PMNS_DIR=%{_pmnsdir}
1895 rm -f "$PCP_PMNS_DIR/.NeedRebuild" >/dev/null 2>&1
1898 %if !%{disable_microhttpd}
1899 %post webapi
1900 chown -R pcp:pcp %{_logsdir}/pmwebd 2>/dev/null
1901 %if !%{disable_systemd}
1902 systemctl condrestart pmwebd.service >/dev/null 2>&1
1903 %else
1904 /sbin/chkconfig --add pmwebd >/dev/null 2>&1
1905 /sbin/service pmwebd condrestart
1906 %endif
1907 %endif
1909 %post manager
1910 chown -R pcp:pcp %{_logsdir}/pmmgr 2>/dev/null
1911 %if !%{disable_systemd}
1912 systemctl condrestart pmmgr.service >/dev/null 2>&1
1913 %else
1914 /sbin/chkconfig --add pmmgr >/dev/null 2>&1
1915 /sbin/service pmmgr condrestart
1916 %endif
1918 %post collector
1919 %if 0%{?rhel}
1920 %if !%{disable_systemd}
1921 systemctl restart pmcd >/dev/null 2>&1
1922 systemctl restart pmlogger >/dev/null 2>&1
1923 systemctl enable pmcd >/dev/null 2>&1
1924 systemctl enable pmlogger >/dev/null 2>&1
1925 %else
1926 /sbin/chkconfig --add pmcd >/dev/null 2>&1
1927 /sbin/chkconfig --add pmlogger >/dev/null 2>&1
1928 /sbin/service pmcd condrestart
1929 /sbin/service pmlogger condrestart
1930 %endif
1931 %endif
1933 %post
1934 PCP_LOG_DIR=%{_logsdir}
1935 PCP_PMNS_DIR=%{_pmnsdir}
1936 # restore saved configs, if any
1937 test -s "$PCP_LOG_DIR/configs.sh" && source "$PCP_LOG_DIR/configs.sh"
1938 rm -f $PCP_LOG_DIR/configs.sh
1940 # migrate old to new temp dir locations (within the same filesystem)
1941 migrate_tempdirs()
1943 _sub="$1"
1944 _new_tmp_dir=%{_tempsdir}
1945 _old_tmp_dir=%{_localstatedir}/tmp
1947 for d in "$_old_tmp_dir/$_sub" ; do
1948 test -d "$d" -a -k "$d" || continue
1949 cd "$d" || continue
1950 for f in * ; do
1951 [ "$f" != "*" ] || continue
1952 source="$d/$f"
1953 target="$_new_tmp_dir/$_sub/$f"
1954 [ "$source" != "$target" ] || continue
1955 [ -f "$target" ] || mv -fu "$source" "$target"
1956 done
1957 cd && rmdir "$d" 2>/dev/null
1958 done
1960 for daemon in mmv pmdabash pmie pmlogger
1962 migrate_tempdirs $daemon
1963 done
1964 chown -R pcp:pcp %{_logsdir}/pmcd 2>/dev/null
1965 chown -R pcp:pcp %{_logsdir}/pmlogger 2>/dev/null
1966 chown -R pcp:pcp %{_logsdir}/pmie 2>/dev/null
1967 chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
1968 touch "$PCP_PMNS_DIR/.NeedRebuild"
1969 chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
1970 %if !%{disable_systemd}
1971 systemctl condrestart pmcd.service >/dev/null 2>&1
1972 systemctl condrestart pmlogger.service >/dev/null 2>&1
1973 systemctl condrestart pmie.service >/dev/null 2>&1
1974 systemctl condrestart pmproxy.service >/dev/null 2>&1
1975 %else
1976 /sbin/chkconfig --add pmcd >/dev/null 2>&1
1977 /sbin/service pmcd condrestart
1978 /sbin/chkconfig --add pmlogger >/dev/null 2>&1
1979 /sbin/service pmlogger condrestart
1980 /sbin/chkconfig --add pmie >/dev/null 2>&1
1981 /sbin/service pmie condrestart
1982 /sbin/chkconfig --add pmproxy >/dev/null 2>&1
1983 /sbin/service pmproxy condrestart
1984 %endif
1986 cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild
1989 %post libs -p /sbin/ldconfig
1990 %postun libs -p /sbin/ldconfig
1992 %files -f base.list
1994 # Note: there are some headers (e.g. domain.h) and in a few cases some
1995 # C source files that rpmlint complains about. These are not devel files,
1996 # but rather they are (slightly obscure) PMDA config files.
1998 %doc CHANGELOG COPYING INSTALL README VERSION.pcp pcp.lsm
2000 %dir %{_confdir}
2001 %dir %{_pmdasdir}
2002 %dir %{_datadir}/pcp
2003 %dir %{_localstatedir}/lib/pcp
2004 %dir %{_localstatedir}/lib/pcp/config
2005 %dir %attr(0775,pcp,pcp) %{_tempsdir}
2006 %dir %attr(0775,pcp,pcp) %{_tempsdir}/pmie
2007 %dir %attr(0775,pcp,pcp) %{_tempsdir}/pmlogger
2008 %dir %attr(0700,root,root) %{_tempsdir}/pmcd
2010 %dir %{_datadir}/pcp/lib
2011 %{_datadir}/pcp/lib/ReplacePmnsSubtree
2012 %{_datadir}/pcp/lib/bashproc.sh
2013 %{_datadir}/pcp/lib/lockpmns
2014 %{_datadir}/pcp/lib/pmdaproc.sh
2015 %{_datadir}/pcp/lib/utilproc.sh
2016 %{_datadir}/pcp/lib/rc-proc.sh
2017 %{_datadir}/pcp/lib/rc-proc.sh.minimal
2018 %{_datadir}/pcp/lib/unlockpmns
2020 %dir %attr(0775,pcp,pcp) %{_logsdir}
2021 %attr(0775,pcp,pcp) %{_logsdir}/pmcd
2022 %attr(0775,pcp,pcp) %{_logsdir}/pmlogger
2023 %attr(0775,pcp,pcp) %{_logsdir}/pmie
2024 %attr(0775,pcp,pcp) %{_logsdir}/pmproxy
2025 %{_localstatedir}/lib/pcp/pmns
2026 %{_initddir}/pcp
2027 %{_initddir}/pmcd
2028 %{_initddir}/pmlogger
2029 %{_initddir}/pmie
2030 %{_initddir}/pmproxy
2031 %if !%{disable_systemd}
2032 %{_unitdir}/pmcd.service
2033 %{_unitdir}/pmlogger.service
2034 %{_unitdir}/pmie.service
2035 %{_unitdir}/pmproxy.service
2036 %endif
2037 %config(noreplace) %{_sysconfdir}/sasl2/pmcd.conf
2038 %config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger
2039 %config(noreplace) %{_sysconfdir}/cron.d/pcp-pmie
2040 %config(noreplace) %{_sysconfdir}/sysconfig/pmlogger
2041 %config(noreplace) %{_sysconfdir}/sysconfig/pmproxy
2042 %config(noreplace) %{_sysconfdir}/sysconfig/pmcd
2043 %config %{_sysconfdir}/bash_completion.d/pcp
2044 %config %{_sysconfdir}/pcp.env
2045 %config %{_sysconfdir}/pcp.sh
2046 %dir %{_confdir}/pmcd
2047 %config(noreplace) %{_confdir}/pmcd/pmcd.conf
2048 %config(noreplace) %{_confdir}/pmcd/pmcd.options
2049 %config(noreplace) %{_confdir}/pmcd/rc.local
2050 %dir %{_confdir}/pmproxy
2051 %config(noreplace) %{_confdir}/pmproxy/pmproxy.options
2052 %dir %{_confdir}/pmie
2053 %dir %{_confdir}/pmie/control.d
2054 %config(noreplace) %{_confdir}/pmie/control
2055 %config(noreplace) %{_confdir}/pmie/control.d/local
2056 %dir %{_confdir}/pmlogger
2057 %dir %{_confdir}/pmlogger/control.d
2058 %config(noreplace) %{_confdir}/pmlogger/control
2059 %config(noreplace) %{_confdir}/pmlogger/control.d/local
2061 %{_localstatedir}/lib/pcp/config/pmafm
2062 %dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmie
2063 %{_localstatedir}/lib/pcp/config/pmie
2064 %{_localstatedir}/lib/pcp/config/pmieconf
2065 %dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmlogger
2066 %{_localstatedir}/lib/pcp/config/pmlogger/*
2067 %{_localstatedir}/lib/pcp/config/pmlogconf
2068 %{_localstatedir}/lib/pcp/config/pmlogrewrite
2069 %dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmda
2071 %if !%{disable_sdt}
2072 %{tapsetdir}/pmcd.stp
2073 %endif
2075 %if %{with_compat}
2076 %files compat
2077 #empty
2078 %endif
2080 %files monitor
2081 #empty
2083 %files collector
2084 #empty
2086 %files conf
2087 %dir %{_includedir}/pcp
2088 %{_includedir}/pcp/builddefs
2089 %{_includedir}/pcp/buildrules
2090 %config %{_sysconfdir}/pcp.conf
2092 %files libs
2093 %{_libdir}/libpcp.so.3
2094 %{_libdir}/libpcp_gui.so.2
2095 %{_libdir}/libpcp_mmv.so.1
2096 %{_libdir}/libpcp_pmda.so.3
2097 %{_libdir}/libpcp_trace.so.2
2098 %{_libdir}/libpcp_import.so.1
2100 %files libs-devel -f devel.list
2101 %{_libdir}/libpcp.so
2102 %{_libdir}/libpcp_gui.so
2103 %{_libdir}/libpcp_mmv.so
2104 %{_libdir}/libpcp_pmda.so
2105 %{_libdir}/libpcp_trace.so
2106 %{_libdir}/libpcp_import.so
2107 %{_includedir}/pcp/*.h
2108 %{_datadir}/pcp/examples
2110 # PMDAs that ship src and are not for production use
2111 # straight out-of-the-box, for devel or QA use only.
2112 %{_pmdasdir}/simple
2113 %{_pmdasdir}/sample
2114 %{_pmdasdir}/trivial
2115 %{_pmdasdir}/txmon
2117 %files testsuite
2118 %defattr(-,pcpqa,pcpqa)
2119 %{_testsdir}
2121 %if !%{disable_microhttpd}
2122 %files webapi
2123 %{_initddir}/pmwebd
2124 %if !%{disable_systemd}
2125 %{_unitdir}/pmwebd.service
2126 %endif
2127 %{_libexecdir}/pcp/bin/pmwebd
2128 %attr(0775,pcp,pcp) %{_logsdir}/pmwebd
2129 %{_confdir}/pmwebd
2130 %config(noreplace) %{_confdir}/pmwebd/pmwebd.options
2131 # duplicate directories from pcp and pcp-webjs, but rpm copes with that.
2132 %dir %{_datadir}/pcp
2133 %dir %{_datadir}/pcp/webapps
2134 %endif
2136 %files webjs
2137 # duplicate directories from pcp and pcp-webapi, but rpm copes with that.
2138 %dir %{_datadir}/pcp
2139 %dir %{_datadir}/pcp/webapps
2140 %{_datadir}/pcp/webapps/*.png
2141 %{_datadir}/pcp/webapps/*.ico
2142 %{_datadir}/pcp/webapps/*.html
2143 %{_datadir}/pcp/webapps/*.txt
2144 %{_datadir}/pcp/webapps/blinkenlights
2146 %files webapp-grafana
2147 %dir %{_datadir}/pcp
2148 %dir %{_datadir}/pcp/webapps
2149 %{_datadir}/pcp/webapps/grafana
2151 %files webapp-graphite
2152 %dir %{_datadir}/pcp
2153 %dir %{_datadir}/pcp/webapps
2154 %{_datadir}/pcp/webapps/graphite
2156 %files webapp-vector
2157 %dir %{_datadir}/pcp
2158 %dir %{_datadir}/pcp/webapps
2159 %{_datadir}/pcp/webapps/vector
2161 %files manager
2162 %{_initddir}/pmmgr
2163 %if !%{disable_systemd}
2164 %{_unitdir}/pmmgr.service
2165 %endif
2166 %{_libexecdir}/pcp/bin/pmmgr
2167 %attr(0775,pcp,pcp) %{_logsdir}/pmmgr
2168 %config(missingok,noreplace) %{_confdir}/pmmgr
2169 %config(noreplace) %{_confdir}/pmmgr/pmmgr.options
2171 %files import-sar2pcp
2172 %{_bindir}/sar2pcp
2174 %files import-iostat2pcp
2175 %{_bindir}/iostat2pcp
2177 %files import-mrtg2pcp
2178 %{_bindir}/mrtg2pcp
2180 %files import-ganglia2pcp
2181 %{_bindir}/ganglia2pcp
2183 %files import-collectl2pcp
2184 %{_bindir}/collectl2pcp
2186 %if !%{disable_papi}
2187 %files pmda-papi
2188 %{_pmdasdir}/papi
2189 %endif
2191 %if !%{disable_perfevent}
2192 %files pmda-perfevent
2193 %{_pmdasdir}/perfevent
2194 %config(noreplace) %{_pmdasdir}/perfevent/perfevent.conf
2195 %endif
2197 %if !%{disable_infiniband}
2198 %files pmda-infiniband
2199 %{_pmdasdir}/ib
2200 %{_pmdasdir}/infiniband
2201 %endif
2203 %files pmda-activemq
2204 %{_pmdasdir}/activemq
2206 %files pmda-bonding
2207 %{_pmdasdir}/bonding
2209 %files pmda-dbping
2210 %{_pmdasdir}/dbping
2212 %files pmda-ds389log
2213 %{_pmdasdir}/ds389log
2215 %files pmda-ds389
2216 %{_pmdasdir}/ds389
2218 %files pmda-elasticsearch
2219 %{_pmdasdir}/elasticsearch
2221 %files pmda-gpfs
2222 %{_pmdasdir}/gpfs
2224 %files pmda-gpsd
2225 %{_pmdasdir}/gpsd
2227 %files pmda-kvm
2228 %{_pmdasdir}/kvm
2230 %files pmda-lustre
2231 %{_pmdasdir}/lustre
2233 %files pmda-lustrecomm
2234 %{_pmdasdir}/lustrecomm
2236 %files pmda-memcache
2237 %{_pmdasdir}/memcache
2239 %files pmda-mysql
2240 %{_pmdasdir}/mysql
2242 %files pmda-named
2243 %{_pmdasdir}/named
2245 %files pmda-netfilter
2246 %{_pmdasdir}/netfilter
2248 %files pmda-news
2249 %{_pmdasdir}/news
2251 %files pmda-nginx
2252 %{_pmdasdir}/nginx
2254 %files pmda-nfsclient
2255 %{_pmdasdir}/nfsclient
2257 %files pmda-pdns
2258 %{_pmdasdir}/pdns
2260 %files pmda-postfix
2261 %{_pmdasdir}/postfix
2263 %files pmda-postgresql
2264 %{_pmdasdir}/postgresql
2266 %files pmda-rsyslog
2267 %{_pmdasdir}/rsyslog
2269 %files pmda-samba
2270 %{_pmdasdir}/samba
2272 %files pmda-snmp
2273 %{_pmdasdir}/snmp
2275 %files pmda-slurm
2276 %{_pmdasdir}/slurm
2278 %files pmda-vmware
2279 %{_pmdasdir}/vmware
2281 %files pmda-zimbra
2282 %{_pmdasdir}/zimbra
2284 %files pmda-dm
2285 %{_pmdasdir}/dm
2287 %if !%{disable_python2} || !%{disable_python3}
2288 %files pmda-gluster
2289 %{_pmdasdir}/gluster
2291 %files pmda-zswap
2292 %{_pmdasdir}/zswap
2294 %files pmda-unbound
2295 %{_pmdasdir}/unbound
2297 %files export-pcp2graphite
2298 %{_bindir}/pcp2graphite
2300 %files pmda-mic
2301 %{_pmdasdir}/mic
2302 %endif # !%{disable_python2} || !%{disable_python3}
2304 %if !%{disable_json}
2305 %files pmda-json
2306 %{_pmdasdir}/json
2307 %endif
2309 %files pmda-apache
2310 %{_pmdasdir}/apache
2312 %files pmda-bash
2313 %{_pmdasdir}/bash
2315 %files pmda-cifs
2316 %{_pmdasdir}/cifs
2318 %files pmda-cisco
2319 %{_pmdasdir}/cisco
2321 %files pmda-gfs2
2322 %{_pmdasdir}/gfs2
2324 %files pmda-lmsensors
2325 %{_pmdasdir}/lmsensors
2327 %files pmda-logger
2328 %{_pmdasdir}/logger
2330 %files pmda-mailq
2331 %{_pmdasdir}/mailq
2333 %files pmda-mounts
2334 %{_pmdasdir}/mounts
2336 %files pmda-nvidia-gpu
2337 %{_pmdasdir}/nvidia
2339 %files pmda-roomtemp
2340 %{_pmdasdir}/roomtemp
2342 %if !%{disable_rpm}
2343 %files pmda-rpm
2344 %{_pmdasdir}/rpm
2345 %endif
2347 %files pmda-sendmail
2348 %{_pmdasdir}/sendmail
2350 %files pmda-shping
2351 %{_pmdasdir}/shping
2353 %files pmda-summary
2354 %{_pmdasdir}/summary
2356 %if !%{disable_systemd}
2357 %files pmda-systemd
2358 %{_pmdasdir}/systemd
2359 %endif
2361 %files pmda-trace
2362 %{_pmdasdir}/trace
2364 %files pmda-weblog
2365 %{_pmdasdir}/weblog
2367 %files -n perl-PCP-PMDA -f perl-pcp-pmda.list
2369 %files -n perl-PCP-MMV -f perl-pcp-mmv.list
2371 %files -n perl-PCP-LogImport -f perl-pcp-logimport.list
2373 %files -n perl-PCP-LogSummary -f perl-pcp-logsummary.list
2375 %if !%{disable_python2}
2376 %files -n python-pcp -f python-pcp.list.rpm
2377 %endif
2379 %if !%{disable_python3}
2380 %files -n python3-pcp -f python3-pcp.list.rpm
2381 %endif
2383 %if !%{disable_qt}
2384 %files -n pcp-gui -f pcp-gui.list
2386 %{_confdir}/pmsnap
2387 %config(noreplace) %{_confdir}/pmsnap/control
2388 %{_localstatedir}/lib/pcp/config/pmsnap
2389 %{_localstatedir}/lib/pcp/config/pmchart
2390 %{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
2391 %{_datadir}/applications/pmchart.desktop
2392 %endif
2394 %files -n pcp-doc -f pcp-doc.list
2396 %if !%{disable_python2} || !%{disable_python3}
2397 %files -n pcp-system-tools -f pcp_system_tools.list
2398 %endif
2400 %changelog
2401 * Fri Oct 30 2015 Mark Goodwin <mgoodwin@redhat.com> - 3.10.8-1
2402 - Update pmlogger to log an immediate sample first (BZ 1269921)
2403 - Add pmOption host and archive setter python APIs (BZ 1270176)
2404 - Replace old pmatop(1) man page with pcp-atop(1) (BZ 1270761)
2405 - Update to latest PCP sources.
2407 * Wed Sep 16 2015 Nathan Scott <nathans@redhat.com> - 3.10.7-1
2408 - Resolved pmchart sigsegv opening view without context (BZ 1256708)
2409 - Fixed pmchart memory corruption restoring Saved Hosts (BZ 1257009)
2410 - Fix perl PMDA API double-free on socket error path (BZ 1258862)
2411 - Fix python API pmGetOption(3) alignment interface (BZ 1262722)
2412 - Added missing RPM dependencies to several PMDA sub-packages.
2413 - Update to latest stable Vector release for pcp-vector-webapp.
2414 - Update to latest PCP sources.
2416 * Tue Aug 04 2015 Nathan Scott <nathans@redhat.com> - 3.10.6-1
2417 - Fix pcp2graphite write method invocation failure (BZ 1243123)
2418 - Reduce diagnostics in pmdaproc unknown state case (BZ 1224431)
2419 - Derived metrics via multiple files, directory expansion (BZ 1235556)
2420 - Update to latest PCP sources.
2422 * Mon Jun 15 2015 Mark Goodwin <mgoodwin@redhat.com> - 3.10.5-1
2423 - Provide and use non-exit(1)ing pmGetConfig(3) variant (BZ 1187588)
2424 - Resolve a pmdaproc.sh pmlogger restart regression (BZ 1229458)
2425 - Replacement of pmatop/pcp-atop(1) utility (BZ 1160811, BZ 1018575)
2426 - Reduced installation size for minimal applications (BZ 1182184)
2427 - Ensure pmlogger start scripts wait on pmcd startup (BZ 1185760)
2428 - Need to run pmcd at least once before pmval -L will work (BZ 185749)
2430 * Wed Apr 15 2015 Nathan Scott <nathans@redhat.com> - 3.10.4-1
2431 - Update to latest PCP, pcp-webjs and Vector sources.
2432 - Packaging improvements after re-review (BZ 1204467)
2433 - Start pmlogger/pmie independent of persistent state (BZ 1185755)
2434 - Fix cron error reports for disabled pmlogger service (BZ 1208699)
2435 - Incorporate Vector from Netflix (https://github.com/Netflix/vector)
2436 - Sub-packages for pcp-webjs allowing choice and reducing used space.
2438 * Wed Mar 04 2015 Dave Brolley <brolley@redhat.com> - 3.10.3-2
2439 - papi 5.4.1 rebuild
2441 * Mon Mar 02 2015 Dave Brolley <brolley@redhat.com> - 3.10.3-1
2442 - Update to latest PCP sources.
2443 - New sub-package for pcp-import-ganglia2pcp.
2444 - Python3 support, enabled by default in f22 onward (BZ 1194324)
2446 * Mon Feb 23 2015 Slavek Kabrda <bkabrda@redhat.com> - 3.10.2-3
2447 - Only use Python 3 in Fedora >= 23, more info at
2448 https://bugzilla.redhat.com/show_bug.cgi?id=1194324#c4
2450 * Mon Feb 23 2015 Nathan Scott <nathans@redhat.com> - 3.10.2-2
2451 - Initial changes to support python3 as default (BZ 1194324)
2453 * Fri Jan 23 2015 Dave Brolley <brolley@redhat.com> - 3.10.2-1
2454 - Update to latest PCP sources.
2455 - Improve pmdaInit diagnostics for DSO helptext (BZ 1182949)
2456 - Tighten up PMDA termination on pmcd stop (BZ 1180109)
2457 - Correct units for cgroup memory metrics (BZ 1180351)
2458 - Add the pcp2graphite(1) export script (BZ 1163986)
2460 * Mon Dec 01 2014 Nathan Scott <nathans@redhat.com> - 3.10.1-1
2461 - New conditionally-built pcp-pmda-perfevent sub-package.
2462 - Update to latest PCP sources.
2464 * Tue Nov 18 2014 Dave Brolley <brolley@redhat.com> - 3.10.0-2
2465 - papi 5.4.0 rebuild
2467 * Fri Oct 31 2014 Nathan Scott <nathans@redhat.com> - 3.10.0-1
2468 - Create new sub-packages for pcp-webjs and python3-pcp.
2469 - Fix __pmDiscoverServicesWithOptions(1) codes (BZ 1139529)
2470 - Update to latest PCP sources.
2472 * Fri Sep 05 2014 Nathan Scott <nathans@redhat.com> - 3.9.10-1
2473 - Convert PCP init scripts to systemd services (BZ 996438)
2474 - Fix pmlogsummary -S/-T time window reporting (BZ 1132476)
2475 - Resolve pmdumptext segfault with invalid host (BZ 1131779)
2476 - Fix signedness in some service discovery codes (BZ 1136166)
2477 - New conditionally-built pcp-pmda-papi sub-package.
2478 - Update to latest PCP sources.
2480 * Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.9.9-1.2
2481 - Perl 5.20 rebuild
2483 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.9-1.1
2484 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2486 * Wed Aug 13 2014 Nathan Scott <nathans@redhat.com> - 3.9.9-1
2487 - Update to latest PCP sources.
2489 * Wed Jul 16 2014 Mark Goodwin <mgoodwin@redhat.com> - 3.9.7-1
2490 - Update to latest PCP sources.
2492 * Wed Jun 18 2014 Dave Brolley <brolley@redhat.com> - 3.9.5-1
2493 - Daemon signal handlers no longer use unsafe APIs (BZ 847343)
2494 - Handle /var/run setups on a temporary filesystem (BZ 656659)
2495 - Resolve pmlogcheck sigsegv for some archives (BZ 1077432)
2496 - Ensure pcp-gui-{testsuite,debuginfo} packages get replaced.
2497 - Revive support for EPEL5 builds, post pcp-gui merge.
2498 - Update to latest PCP sources.
2500 * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.4-1.1
2501 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2503 * Thu May 15 2014 Nathan Scott <nathans@redhat.com> - 3.9.4-1
2504 - Merged pcp-gui and pcp-doc packages into core PCP.
2505 - Allow for conditional libmicrohttpd builds in spec file.
2506 - Adopt slow-start capability in systemd PMDA (BZ 1073658)
2507 - Resolve pmcollectl network/disk mis-reporting (BZ 1097095)
2508 - Update to latest PCP sources.
2510 * Tue Apr 15 2014 Dave Brolley <brolley@redhat.com> - 3.9.2-1
2511 - Improve pmdarpm(1) concurrency complications (BZ 1044297)
2512 - Fix pmconfig(1) shell output string quoting (BZ 1085401)
2513 - Update to latest PCP sources.
2515 * Wed Mar 19 2014 Nathan Scott <nathans@redhat.com> - 3.9.1-1
2516 - Update to latest PCP sources.
2518 * Thu Feb 20 2014 Nathan Scott <nathans@redhat.com> - 3.9.0-2
2519 - Workaround further PowerPC/tapset-related build fallout.
2521 * Wed Feb 19 2014 Nathan Scott <nathans@redhat.com> - 3.9.0-1
2522 - Create new sub-packages for pcp-webapi and pcp-manager
2523 - Split configuration from pcp-libs into pcp-conf (multilib)
2524 - Fix pmdagluster to handle more volumes, fileops (BZ 1066544)
2525 - Update to latest PCP sources.
2527 * Wed Jan 29 2014 Nathan Scott <nathans@redhat.com> - 3.8.12-1
2528 - Resolves SNMP procfs file ICMP line parse issue (BZ 1055818)
2529 - Update to latest PCP sources.
2531 * Wed Jan 15 2014 Nathan Scott <nathans@redhat.com> - 3.8.10-1
2532 - Update to latest PCP sources.
2534 * Thu Dec 12 2013 Nathan Scott <nathans@redhat.com> - 3.8.9-1
2535 - Reduce set of exported symbols from DSO PMDAs (BZ 1025694)
2536 - Symbol-versioning for PCP shared libraries (BZ 1037771)
2537 - Fix pmcd/Avahi interaction with multiple ports (BZ 1035513)
2538 - Update to latest PCP sources.
2540 * Sun Nov 03 2013 Nathan Scott <nathans@redhat.com> - 3.8.8-1
2541 - Update to latest PCP sources (simple build fixes only).
2543 * Fri Nov 01 2013 Nathan Scott <nathans@redhat.com> - 3.8.6-1
2544 - Update to latest PCP sources.
2545 - Rework pmpost test which confused virus checkers (BZ 1024850)
2546 - Tackle pmatop reporting issues via alternate metrics (BZ 998735)
2548 * Fri Oct 18 2013 Nathan Scott <nathans@redhat.com> - 3.8.5-1
2549 - Update to latest PCP sources.
2550 - Disable pcp-pmda-infiniband sub-package on RHEL5 (BZ 1016368)
2552 * Mon Sep 16 2013 Nathan Scott <nathans@redhat.com> - 3.8.4-2
2553 - Disable the pcp-pmda-infiniband sub-package on s390 platforms.
2555 * Sun Sep 15 2013 Nathan Scott <nathans@redhat.com> - 3.8.4-1
2556 - Very minor release containing mostly QA related changes.
2557 - Enables many more metrics to be logged for Linux hosts.
2559 * Wed Sep 11 2013 Stan Cox <scox@redhat.com> - 3.8.3-2
2560 - Disable pmcd.stp on el5 ppc.
2562 * Mon Sep 09 2013 Nathan Scott <nathans@redhat.com> - 3.8.3-1
2563 - Default to Unix domain socket (authenticated) local connections.
2564 - Introduces new pcp-pmda-infiniband sub-package.
2565 - Disable systemtap-sdt-devel usage on ppc.
2567 * Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 3.8.2-1.1
2568 - Perl 5.18 rebuild
2570 * Wed Jul 31 2013 Nathan Scott <nathans@redhat.com> - 3.8.2-1
2571 - Update to latest PCP sources.
2572 - Integrate gluster related stats with PCP (BZ 969348)
2573 - Fix for iostat2pcp not parsing iostat output (BZ 981545)
2574 - Start pmlogger with usable config by default (BZ 953759)
2575 - Fix pmatop failing to start, gives stacktrace (BZ 963085)
2577 * Wed Jun 19 2013 Nathan Scott <nathans@redhat.com> - 3.8.1-1
2578 - Update to latest PCP sources.
2579 - Fix log import silently dropping >1024 metrics (BZ 968210)
2580 - Move some commonly used tools on the usual PATH (BZ 967709)
2581 - Improve pmatop handling of missing proc metrics (BZ 963085)
2582 - Stop out-of-order records corrupting import logs (BZ 958745)
2584 * Tue May 14 2013 Nathan Scott <nathans@redhat.com> - 3.8.0-1
2585 - Update to latest PCP sources.
2586 - Validate metric names passed into pmiAddMetric (BZ 958019)
2587 - Install log directories with correct ownership (BZ 960858)
2589 * Fri Apr 19 2013 Nathan Scott <nathans@redhat.com> - 3.7.2-1
2590 - Update to latest PCP sources.
2591 - Ensure root namespace exists at the end of install (BZ 952977)
2593 * Wed Mar 20 2013 Nathan Scott <nathans@redhat.com> - 3.7.1-1
2594 - Update to latest PCP sources.
2595 - Migrate all tempfiles correctly to the new tempdir hierarchy.
2597 * Sun Mar 10 2013 Nathan Scott <nathans@redhat.com> - 3.7.0-1
2598 - Update to latest PCP sources.
2599 - Migrate all configuration files below the /etc/pcp hierarchy.
2601 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.10-2.1
2602 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2604 * Wed Nov 28 2012 Nathan Scott <nathans@redhat.com> - 3.6.10-2
2605 - Ensure tmpfile directories created in %%files section.
2606 - Resolve tmpfile create/teardown race conditions.
2608 * Mon Nov 19 2012 Nathan Scott <nathans@redhat.com> - 3.6.10-1
2609 - Update to latest PCP sources.
2610 - Resolve tmpfile security flaws: CVE-2012-5530
2611 - Introduces new "pcp" user account for all daemons to use.
2613 * Fri Oct 12 2012 Nathan Scott <nathans@redhat.com> - 3.6.9-1
2614 - Update to latest PCP sources.
2615 - Fix pmcd sigsegv in NUMA/CPU indom setup (BZ 858384)
2616 - Fix sar2pcp uninitialised perl variable warning (BZ 859117)
2617 - Fix pcp.py and pmcollectl with older python versions (BZ 852234)
2619 * Fri Sep 14 2012 Nathan Scott <nathans@redhat.com> - 3.6.8-1
2620 - Update to latest PCP sources.
2622 * Wed Sep 05 2012 Nathan Scott <nathans@redhat.com> - 3.6.6-1.1
2623 - Move configure step from prep to build section of spec (BZ 854128)
2625 * Tue Aug 28 2012 Mark Goodwin <mgoodwin@redhat.com> - 3.6.6-1
2626 - Update to latest PCP sources, see installed CHANGELOG for details.
2627 - Introduces new python-pcp and pcp-testsuite sub-packages.
2629 * Thu Aug 16 2012 Mark Goodwin <mgoodwin@redhat.com> - 3.6.5-1
2630 - Update to latest PCP sources, see installed CHANGELOG for details.
2631 - Fix security flaws: CVE-2012-3418 CVE-2012-3419 CVE-2012-3420 and CVE-2012-3421 (BZ 848629)
2633 * Thu Jul 19 2012 Mark Goodwin <mgoodwin@redhat.com>
2634 - pmcd and pmlogger services are not supposed to be enabled by default (BZ 840763) - 3.6.3-1.3
2636 * Thu Jun 21 2012 Mark Goodwin <mgoodwin@redhat.com>
2637 - remove pcp-import-sheet2pcp subpackage due to missing deps (BZ 830923) - 3.6.3-1.2
2639 * Fri May 18 2012 Dan Hork <dan[at]danny.cz> - 3.6.3-1.1
2640 - fix build on s390x
2642 * Mon Apr 30 2012 Mark Goodwin - 3.6.3-1
2643 - Update to latest PCP sources
2645 * Thu Apr 26 2012 Mark Goodwin - 3.6.2-1
2646 - Update to latest PCP sources
2648 * Thu Apr 12 2012 Mark Goodwin - 3.6.1-1
2649 - Update to latest PCP sources
2651 * Thu Mar 22 2012 Mark Goodwin - 3.6.0-1
2652 - use %%configure macro for correct libdir logic
2653 - update to latest PCP sources
2655 * Thu Dec 15 2011 Mark Goodwin - 3.5.11-2
2656 - patched configure.in for libdir=/usr/lib64 on ppc64
2658 * Thu Dec 01 2011 Mark Goodwin - 3.5.11-1
2659 - Update to latest PCP sources.
2661 * Fri Nov 04 2011 Mark Goodwin - 3.5.10-1
2662 - Update to latest PCP sources.
2664 * Mon Oct 24 2011 Mark Goodwin - 3.5.9-1
2665 - Update to latest PCP sources.
2667 * Mon Aug 08 2011 Mark Goodwin - 3.5.8-1
2668 - Update to latest PCP sources.
2670 * Fri Aug 05 2011 Mark Goodwin - 3.5.7-1
2671 - Update to latest PCP sources.
2673 * Fri Jul 22 2011 Mark Goodwin - 3.5.6-1
2674 - Update to latest PCP sources.
2676 * Tue Jul 19 2011 Mark Goodwin - 3.5.5-1
2677 - Update to latest PCP sources.
2679 * Thu Feb 03 2011 Mark Goodwin - 3.5.0-1
2680 - Update to latest PCP sources.
2682 * Thu Sep 30 2010 Mark Goodwin - 3.4.0-1
2683 - Update to latest PCP sources.
2685 * Fri Jul 16 2010 Mark Goodwin - 3.3.3-1
2686 - Update to latest PCP sources.
2688 * Sat Jul 10 2010 Mark Goodwin - 3.3.2-1
2689 - Update to latest PCP sources.
2691 * Tue Jun 29 2010 Mark Goodwin - 3.3.1-1
2692 - Update to latest PCP sources.
2694 * Fri Jun 25 2010 Mark Goodwin - 3.3.0-1
2695 - Update to latest PCP sources.
2697 * Thu Mar 18 2010 Mark Goodwin - 3.1.2-1
2698 - Update to latest PCP sources.
2700 * Wed Jan 27 2010 Mark Goodwin - 3.1.0-1
2701 - BuildRequires: initscripts for %%{_vendor} == redhat.
2703 * Thu Dec 10 2009 Mark Goodwin - 3.0.3-1
2704 - BuildRequires: initscripts for FC12.
2706 * Wed Dec 02 2009 Mark Goodwin - 3.0.2-1
2707 - Added sysfs.kernel metrics, rebased to minor community release.
2709 * Mon Oct 19 2009 Martin Hicks <mort@sgi.com> - 3.0.1-2
2710 - Remove IB dependencies. The Infiniband PMDA is being moved to
2711 a stand-alone package.
2712 - Move cluster PMDA to a stand-alone package.
2714 * Fri Oct 09 2009 Mark Goodwin <mgoodwin@redhat.com> - 3.0.0-9
2715 - This is the initial import for Fedora
2716 - See 3.0.0 details in CHANGELOG