From: Jakub Bogusz Date: Sun, 25 Aug 2013 19:56:37 +0000 (+0200) Subject: - updated to 3.8.2 X-Git-Tag: auto/th/pcp-3.8.2-1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=c46b09cac428926e9a226eefa4081b2b78abeaa0;hp=bf1a89b2e0cd2b9e2fa0963fb1e7dcc2e2278b6d;p=packages%2Fpcp.git - updated to 3.8.2 - added man patch (fixes installation of two newest man pages) --- diff --git a/pcp-man.patch b/pcp-man.patch new file mode 100644 index 0000000..20861c3 --- /dev/null +++ b/pcp-man.patch @@ -0,0 +1,22 @@ +--- pcp-3.8.2/man/man1/pmdagfs2.1.orig 2013-07-18 02:29:18.000000000 +0200 ++++ pcp-3.8.2/man/man1/pmdagfs2.1 2013-08-25 21:49:14.945888103 +0200 +@@ -15,7 +15,7 @@ + .\" + .TH PMDAGFS2 1 "PCP" "Performance Co-Pilot" + .SH NAME +-\fBpmdagfs2\fR \- Global Filesystem v2 (GFS2) PMDA ++\f3pmdagfs2\f1 \- Global Filesystem v2 (GFS2) PMDA + .SH DESCRIPTION + .B pmdagfs2 + is a Performance Metrics Domain Agent (PMDA) which exports +--- pcp-3.8.2/man/man1/pmdagluster.1.orig 2013-07-24 09:38:40.000000000 +0200 ++++ pcp-3.8.2/man/man1/pmdagluster.1 2013-08-25 21:49:37.085887174 +0200 +@@ -15,7 +15,7 @@ + .\" + .TH PMDAGLUSTER 1 "PCP" "Performance Co-Pilot" + .SH NAME +-\fBpmdagluster\fR \- Gluster Filesystem PMDA ++\f3pmdagluster\f1 \- Gluster Filesystem PMDA + .SH DESCRIPTION + \fBpmdagluster\fR is a Performance Metrics Domain Agent (PMDA) which exports + metric values about mounted gluster filesystems using the diff --git a/pcp.spec b/pcp.spec index a15e925..6d96674 100644 --- a/pcp.spec +++ b/pcp.spec @@ -7,15 +7,16 @@ Summary: Performance Co-Pilot - system level performance monitoring and management Summary(pl.UTF-8): Performance Co-Pilot - monitorowanie i zarządzanie wydajnością na poziomie systemu Name: pcp -Version: 3.8.1 +Version: 3.8.2 Release: 1 License: LGPL v2.1 (libraries), GPL v2 (the rest) Group: Applications/System Source0: ftp://oss.sgi.com/projects/pcp/download/%{name}-%{version}.src.tar.gz -# Source0-md5: f355945b64e4402b279b81bdf0078278 +# Source0-md5: 47d1c1a6976aa6bb9dc3f38dd5bde4d0 Patch0: %{name}-ps.patch Patch1: %{name}-opt.patch Patch2: %{name}-nspr.patch +Patch3: %{name}-man.patch URL: http://oss.sgi.com/projects/pcp/ BuildRequires: autoconf >= 2.60 BuildRequires: bison @@ -129,6 +130,7 @@ Bashowe uzupełnianie nazw dla narzędzi PCP. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %{__autoconf} @@ -153,6 +155,12 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir} install -p src/pmns/stdpmid $RPM_BUILD_ROOT/var/lib/pcp/pmns +install -d $RPM_BUILD_ROOT%{systemdtmpfilesdir} +# TODO: change to pcp user/group +cat >$RPM_BUILD_ROOT%{systemdtmpfilesdir}/pcp.conf <