Update to latest community sources
This commit is contained in:
parent
c257e9b3ed
commit
111a51589e
172
pcp.spec
172
pcp.spec
@ -1,6 +1,6 @@
|
|||||||
Name: pcp
|
Name: pcp
|
||||||
Version: 3.12.1
|
Version: 3.12.2
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: System-level performance monitoring and performance management
|
Summary: System-level performance monitoring and performance management
|
||||||
License: GPLv2+ and LGPLv2.1+ and CC-BY
|
License: GPLv2+ and LGPLv2.1+ and CC-BY
|
||||||
URL: http://www.pcp.io
|
URL: http://www.pcp.io
|
||||||
@ -15,7 +15,7 @@ Source2: %{github}/pcp-webapp-grafana/archive/1.9.1/pcp-webapp-grafana-1.9.1.tar
|
|||||||
Source3: %{github}/pcp-webapp-graphite/archive/0.9.10/pcp-webapp-graphite-0.9.10.tar.gz
|
Source3: %{github}/pcp-webapp-graphite/archive/0.9.10/pcp-webapp-graphite-0.9.10.tar.gz
|
||||||
Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.0/pcp-webapp-blinkenlights-1.0.0.tar.gz
|
Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.0/pcp-webapp-blinkenlights-1.0.0.tar.gz
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel} > 5
|
||||||
%global disable_selinux 0
|
%global disable_selinux 0
|
||||||
%else
|
%else
|
||||||
%global disable_selinux 1
|
%global disable_selinux 1
|
||||||
@ -119,6 +119,13 @@ Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.0/pcp-webapp-blinkenligh
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# boost c++ library, widely available
|
||||||
|
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
|
||||||
|
%global disable_boost 0
|
||||||
|
%else
|
||||||
|
%global disable_boost 1
|
||||||
|
%endif
|
||||||
|
|
||||||
# rpm producing "noarch" packages
|
# rpm producing "noarch" packages
|
||||||
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
|
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
|
||||||
%global disable_noarch 0
|
%global disable_noarch 0
|
||||||
@ -126,6 +133,20 @@ Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.0/pcp-webapp-blinkenligh
|
|||||||
%global disable_noarch 1
|
%global disable_noarch 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 7
|
||||||
|
%global disable_elasticsearch 0
|
||||||
|
%else
|
||||||
|
%global disable_elasticsearch 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# python's xlsxwriter module hasn't been included yet, but hopefully
|
||||||
|
# it will be eventually, leaving this as a variable for now.
|
||||||
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
|
%global disable_xlsx 1
|
||||||
|
%else
|
||||||
|
%global disable_xlsx 1
|
||||||
|
%endif
|
||||||
|
|
||||||
# prevent conflicting binary and man page install for pcp(1)
|
# prevent conflicting binary and man page install for pcp(1)
|
||||||
Conflicts: librapi
|
Conflicts: librapi
|
||||||
|
|
||||||
@ -165,6 +186,9 @@ BuildRequires: cairo-devel
|
|||||||
%if !%{disable_sdt}
|
%if !%{disable_sdt}
|
||||||
BuildRequires: systemtap-sdt-devel
|
BuildRequires: systemtap-sdt-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if !%{disable_boost}
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
%endif
|
||||||
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
|
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
|
||||||
BuildRequires: perl-devel perl-generators
|
BuildRequires: perl-devel perl-generators
|
||||||
%endif
|
%endif
|
||||||
@ -208,6 +232,7 @@ Obsoletes: pcp-gui-debuginfo
|
|||||||
%global _selinuxdir %{_localstatedir}/lib/pcp/selinux
|
%global _selinuxdir %{_localstatedir}/lib/pcp/selinux
|
||||||
%global _logconfdir %{_localstatedir}/lib/pcp/config/pmlogconf
|
%global _logconfdir %{_localstatedir}/lib/pcp/config/pmlogconf
|
||||||
%global _pixmapdir %{_datadir}/pcp-gui/pixmaps
|
%global _pixmapdir %{_datadir}/pcp-gui/pixmaps
|
||||||
|
%global _hicolordir %{_datadir}/icons/hicolor
|
||||||
%global _booksdir %{_datadir}/doc/pcp-doc
|
%global _booksdir %{_datadir}/doc/pcp-doc
|
||||||
|
|
||||||
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
|
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
|
||||||
@ -344,8 +369,6 @@ License: GPLv2+ and LGPLv2.1+
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Performance Co-Pilot (PCP) development headers
|
Summary: Performance Co-Pilot (PCP) development headers
|
||||||
URL: http://www.pcp.io
|
URL: http://www.pcp.io
|
||||||
#Requires: pcp = %{version}-%{release}
|
|
||||||
#Requires: pcp-libs = %{version}-%{release}
|
|
||||||
|
|
||||||
%description libs-devel
|
%description libs-devel
|
||||||
Performance Co-Pilot (PCP) headers for development.
|
Performance Co-Pilot (PCP) headers for development.
|
||||||
@ -662,6 +685,31 @@ Zabbix via the Zabbix agent - see zbxpcp(3) for further details.
|
|||||||
|
|
||||||
%if !%{disable_python2} || !%{disable_python3}
|
%if !%{disable_python2} || !%{disable_python3}
|
||||||
#
|
#
|
||||||
|
# pcp-export-pcp2elasticsearch
|
||||||
|
#
|
||||||
|
%if !%{disable_elasticsearch}
|
||||||
|
%package export-pcp2elasticsearch
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/System
|
||||||
|
Summary: Performance Co-Pilot tools for exporting PCP metrics to ElasticSearch
|
||||||
|
URL: http://www.pcp.io
|
||||||
|
Requires: pcp-libs >= %{version}-%{release}
|
||||||
|
%if !%{disable_python3}
|
||||||
|
Requires: python3-pcp = %{version}-%{release}
|
||||||
|
Requires: python3-elasticsearch
|
||||||
|
BuildRequires: python3-elasticsearch
|
||||||
|
%else
|
||||||
|
Requires: python-pcp = %{version}-%{release}
|
||||||
|
Requires: python-elasticsearch
|
||||||
|
BuildRequires: python-elasticsearch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description export-pcp2elasticsearch
|
||||||
|
Performance Co-Pilot (PCP) front-end tools for exporting metric values
|
||||||
|
to Elasticsearch - a distributed, RESTful search and analytics engine.
|
||||||
|
See https://www.elastic.co/community for further details.
|
||||||
|
%endif
|
||||||
|
#
|
||||||
# pcp-export-pcp2graphite
|
# pcp-export-pcp2graphite
|
||||||
#
|
#
|
||||||
%package export-pcp2graphite
|
%package export-pcp2graphite
|
||||||
@ -699,6 +747,83 @@ Requires: python-requests
|
|||||||
%description export-pcp2influxdb
|
%description export-pcp2influxdb
|
||||||
Performance Co-Pilot (PCP) front-end tools for exporting metric values
|
Performance Co-Pilot (PCP) front-end tools for exporting metric values
|
||||||
to InfluxDB (https://influxdata.com/time-series-platform/influxdb).
|
to InfluxDB (https://influxdata.com/time-series-platform/influxdb).
|
||||||
|
|
||||||
|
#
|
||||||
|
# pcp-export-pcp2json
|
||||||
|
#
|
||||||
|
%package export-pcp2json
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/System
|
||||||
|
Summary: Performance Co-Pilot tools for exporting PCP metrics in JSON format
|
||||||
|
URL: http://www.pcp.io
|
||||||
|
Requires: pcp-libs >= %{version}-%{release}
|
||||||
|
%if !%{disable_python3}
|
||||||
|
Requires: python3-pcp = %{version}-%{release}
|
||||||
|
%else
|
||||||
|
Requires: python-pcp = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description export-pcp2json
|
||||||
|
Performance Co-Pilot (PCP) front-end tools for exporting metric values
|
||||||
|
in JSON format.
|
||||||
|
|
||||||
|
#
|
||||||
|
# pcp-export-pcp2xlsx
|
||||||
|
#
|
||||||
|
%if !%{disable_xlsx}
|
||||||
|
%package export-pcp2xlsx
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/System
|
||||||
|
Summary: Performance Co-Pilot tools for exporting PCP metrics to Excel
|
||||||
|
URL: http://www.pcp.io
|
||||||
|
Requires: pcp-libs >= %{version}-%{release}
|
||||||
|
%if !%{disable_python3}
|
||||||
|
Requires: python3-pcp = %{version}-%{release}
|
||||||
|
%else
|
||||||
|
Requires: python-pcp = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description export-pcp2xlsx
|
||||||
|
Performance Co-Pilot (PCP) front-end tools for exporting metric values
|
||||||
|
in Excel spreadsheet format.
|
||||||
|
%endif
|
||||||
|
#
|
||||||
|
# pcp-export-pcp2xml
|
||||||
|
#
|
||||||
|
%package export-pcp2xml
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/System
|
||||||
|
Summary: Performance Co-Pilot tools for exporting PCP metrics in XML format
|
||||||
|
URL: http://www.pcp.io
|
||||||
|
Requires: pcp-libs >= %{version}-%{release}
|
||||||
|
%if !%{disable_python3}
|
||||||
|
Requires: python3-pcp = %{version}-%{release}
|
||||||
|
%else
|
||||||
|
Requires: python-pcp = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description export-pcp2xml
|
||||||
|
Performance Co-Pilot (PCP) front-end tools for exporting metric values
|
||||||
|
in XML format.
|
||||||
|
|
||||||
|
#
|
||||||
|
# pcp-export-pcp2zabbix
|
||||||
|
#
|
||||||
|
%package export-pcp2zabbix
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/System
|
||||||
|
Summary: Performance Co-Pilot tools for exporting PCP metrics to Zabbix
|
||||||
|
URL: http://www.pcp.io
|
||||||
|
Requires: pcp-libs >= %{version}-%{release}
|
||||||
|
%if !%{disable_python3}
|
||||||
|
Requires: python3-pcp = %{version}-%{release}
|
||||||
|
%else
|
||||||
|
Requires: python-pcp = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description export-pcp2zabbix
|
||||||
|
Performance Co-Pilot (PCP) front-end tools for exporting metric values
|
||||||
|
to the Zabbix (https://www.zabbix.org/) monitoring software.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_papi}
|
%if !%{disable_papi}
|
||||||
@ -1887,6 +2012,7 @@ Group: Applications/System
|
|||||||
Summary: Visualization tools for the Performance Co-Pilot toolkit
|
Summary: Visualization tools for the Performance Co-Pilot toolkit
|
||||||
URL: http://www.pcp.io
|
URL: http://www.pcp.io
|
||||||
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
|
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
|
||||||
%description gui
|
%description gui
|
||||||
Visualization tools for the Performance Co-Pilot toolkit.
|
Visualization tools for the Performance Co-Pilot toolkit.
|
||||||
@ -1939,7 +2065,6 @@ BuildRequires: setools
|
|||||||
BuildRequires: setools-console
|
BuildRequires: setools-console
|
||||||
%endif
|
%endif
|
||||||
Requires: policycoreutils
|
Requires: policycoreutils
|
||||||
Requires: pcp = %{version}-%{release}
|
|
||||||
|
|
||||||
%description selinux
|
%description selinux
|
||||||
This package contains SELinux support for PCP. The package contains
|
This package contains SELinux support for PCP. The package contains
|
||||||
@ -2005,6 +2130,7 @@ rm -fr $RPM_BUILD_ROOT/%{_selinuxdir}
|
|||||||
|
|
||||||
%if %{disable_qt}
|
%if %{disable_qt}
|
||||||
rm -fr $RPM_BUILD_ROOT/%{_pixmapdir}
|
rm -fr $RPM_BUILD_ROOT/%{_pixmapdir}
|
||||||
|
rm -fr $RPM_BUILD_ROOT/%{_hicolordir}
|
||||||
rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmsnap
|
rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmsnap
|
||||||
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmsnap
|
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmsnap
|
||||||
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmchart
|
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmchart
|
||||||
@ -2097,7 +2223,8 @@ ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
|
|||||||
# all base pcp package files except those split out into sub packages
|
# all base pcp package files except those split out into sub packages
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
|
||||||
grep -E -v 'pmiostat|pmcollectl|pmatop|zabbix|zbxpcp' |\
|
grep -E -v 'pmiostat|pmcollectl|pmatop|zabbix|zbxpcp' |\
|
||||||
grep -E -v 'pmrep|pcp2graphite|pcp2influxdb' |\
|
grep -E -v 'pmrep|pcp2graphite|pcp2influxdb|pcp2zabbix' |\
|
||||||
|
grep -E -v 'pcp2elasticsearch|pcp2json|pcp2xlsx|pcp2xml' |\
|
||||||
grep -E -v 'pmdbg|pmclient|pmerr|genpmda' |\
|
grep -E -v 'pmdbg|pmclient|pmerr|genpmda' |\
|
||||||
sed -e 's#^#'%{_bindir}'\/#' >base_bin.list
|
sed -e 's#^#'%{_bindir}'\/#' >base_bin.list
|
||||||
#
|
#
|
||||||
@ -2134,6 +2261,8 @@ ls -1 $RPM_BUILD_ROOT/%{_selinuxdir} |\
|
|||||||
%if !%{disable_qt}
|
%if !%{disable_qt}
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
|
||||||
sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
|
sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
|
||||||
|
ls -1 $RPM_BUILD_ROOT/%{_hicolordir} |\
|
||||||
|
sed -e 's#^#'%{_hicolordir}'\/#' >> pcp-gui.list
|
||||||
cat base_bin.list base_exec.list |\
|
cat base_bin.list base_exec.list |\
|
||||||
grep -E "$PCP_GUI" >> pcp-gui.list
|
grep -E "$PCP_GUI" >> pcp-gui.list
|
||||||
%endif
|
%endif
|
||||||
@ -2142,7 +2271,7 @@ ls -1 $RPM_BUILD_ROOT/%{_logconfdir}/ |\
|
|||||||
grep -E -v 'zeroconf' >pcp-logconf.list
|
grep -E -v 'zeroconf' >pcp-logconf.list
|
||||||
cat base_pmdas.list base_bin.list base_exec.list pcp-logconf.list |\
|
cat base_pmdas.list base_bin.list base_exec.list pcp-logconf.list |\
|
||||||
grep -E -v 'pmdaib|pmmgr|pmweb|pmsnap|2pcp|pmdas/systemd' |\
|
grep -E -v 'pmdaib|pmmgr|pmweb|pmsnap|2pcp|pmdas/systemd' |\
|
||||||
grep -E -v "$PCP_GUI|pixmaps|pcp-doc|tutorials|selinux" |\
|
grep -E -v "$PCP_GUI|pixmaps|hicolor|pcp-doc|tutorials|selinux" |\
|
||||||
grep -E -v %{_confdir} | grep -E -v %{_logsdir} > base.list
|
grep -E -v %{_confdir} | grep -E -v %{_logsdir} > base.list
|
||||||
|
|
||||||
# all devel pcp package files except those split out into sub packages
|
# all devel pcp package files except those split out into sub packages
|
||||||
@ -2708,7 +2837,7 @@ cd
|
|||||||
%{_localstatedir}/lib/pcp/config/pmlogrewrite
|
%{_localstatedir}/lib/pcp/config/pmlogrewrite
|
||||||
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmda
|
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmda
|
||||||
|
|
||||||
%{_datadir}/bash-completion/completions/pcp
|
%{_datadir}/bash-completion/completions/*
|
||||||
%{_datadir}/zsh/site-functions/_pcp
|
%{_datadir}/zsh/site-functions/_pcp
|
||||||
|
|
||||||
%if !%{disable_sdt}
|
%if !%{disable_sdt}
|
||||||
@ -2983,11 +3112,30 @@ cd
|
|||||||
%files pmda-libvirt
|
%files pmda-libvirt
|
||||||
%{_pmdasdir}/libvirt
|
%{_pmdasdir}/libvirt
|
||||||
|
|
||||||
|
%if !%{disable_elasticsearch}
|
||||||
|
%files export-pcp2elasticsearch
|
||||||
|
%{_bindir}/pcp2elasticsearch
|
||||||
|
%endif
|
||||||
|
|
||||||
%files export-pcp2graphite
|
%files export-pcp2graphite
|
||||||
%{_bindir}/pcp2graphite
|
%{_bindir}/pcp2graphite
|
||||||
|
|
||||||
%files export-pcp2influxdb
|
%files export-pcp2influxdb
|
||||||
%{_bindir}/pcp2influxdb
|
%{_bindir}/pcp2influxdb
|
||||||
|
|
||||||
|
%files export-pcp2json
|
||||||
|
%{_bindir}/pcp2json
|
||||||
|
|
||||||
|
%if !%{disable_xlsx}
|
||||||
|
%files export-pcp2xlsx
|
||||||
|
%{_bindir}/pcp2xlsx
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files export-pcp2xml
|
||||||
|
%{_bindir}/pcp2xml
|
||||||
|
|
||||||
|
%files export-pcp2zabbix
|
||||||
|
%{_bindir}/pcp2zabbix
|
||||||
%endif # !%{disable_python2} || !%{disable_python3}
|
%endif # !%{disable_python2} || !%{disable_python3}
|
||||||
|
|
||||||
%files export-zabbix-agent
|
%files export-zabbix-agent
|
||||||
@ -3096,6 +3244,12 @@ cd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 18 2017 Lukas Berk <lberk@redhat.com> - 3.12.2-1
|
||||||
|
- selinux: add pmlogger_exec_t rule from (BZ 1483320)
|
||||||
|
- selinux: pmlc accessing tcp port 4330 (BZ 1447585)
|
||||||
|
- selinux: pmnewlog.sh using ps to check pid's for pmloggers (BZ 1488116)
|
||||||
|
- Update to latest PCP sources.
|
||||||
|
|
||||||
* Mon Aug 28 2017 Nathan Scott <nathans@redhat.com> - 3.12.1-3
|
* Mon Aug 28 2017 Nathan Scott <nathans@redhat.com> - 3.12.1-3
|
||||||
- Disable infiniband and papi packages on armv7hl (BZ 1485692)
|
- Disable infiniband and papi packages on armv7hl (BZ 1485692)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1,4 +1,4 @@
|
|||||||
SHA512 (pcp-3.12.1.src.tar.gz) = ff2a7fd14ed720f9340dab956d0b4b0d17be66f1882a5452d443b4bb97a442b77b5fd647233b1fe6379ec197f1c29a194ea575de926a842926b7fa978b3d5f87
|
SHA512 (pcp-3.12.2.src.tar.gz) = 0d3f31cd174ab701a1662175210f0de238973da856600d3545567827221daf4f45ed47b4aaeb75a128d9c036d30b768bf013960bba99010c4db2b08c7c883981
|
||||||
SHA512 (pcp-webapp-blinkenlights-1.0.0.tar.gz) = 505eafd4b8eb2ab97ec6b0fea3b5510ab0b976fa07559f1d163d240c62a8d7419f062eecc180b28b6b240207b45daed6fcc39d8e2930c6d038790d5ac0c695ab
|
SHA512 (pcp-webapp-blinkenlights-1.0.0.tar.gz) = 505eafd4b8eb2ab97ec6b0fea3b5510ab0b976fa07559f1d163d240c62a8d7419f062eecc180b28b6b240207b45daed6fcc39d8e2930c6d038790d5ac0c695ab
|
||||||
SHA512 (pcp-webapp-grafana-1.9.1.tar.gz) = 844c04b7155d19a294eacfab98e3950e5fefbf423b98a1195b86cb024e5dc6ab98ecb8785fd7ceff7fbcd947dd5c5ce07a2f059a4c432fda984c26a79ab641f3
|
SHA512 (pcp-webapp-grafana-1.9.1.tar.gz) = 844c04b7155d19a294eacfab98e3950e5fefbf423b98a1195b86cb024e5dc6ab98ecb8785fd7ceff7fbcd947dd5c5ce07a2f059a4c432fda984c26a79ab641f3
|
||||||
SHA512 (pcp-webapp-graphite-0.9.10.tar.gz) = f716e5145e5d39b54be02e39202c51bdd1158d56fa16185a591c0f54fb376a637653f0c13aa9c5ad5700fc62d0c71163e94b9fa689fabe3e6de4ddf19fa827fa
|
SHA512 (pcp-webapp-graphite-0.9.10.tar.gz) = f716e5145e5d39b54be02e39202c51bdd1158d56fa16185a591c0f54fb376a637653f0c13aa9c5ad5700fc62d0c71163e94b9fa689fabe3e6de4ddf19fa827fa
|
||||||
|
Loading…
Reference in New Issue
Block a user