From 3b1a304643d85c29e62db276f3fad058a520a5dd045109c9b8e8bc3c1662bad6 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 15 Aug 2011 13:03:12 +0000 Subject: [PATCH] Autobuild autoformatter for 78620 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcp?expand=0&rev=18 --- pcp.spec | 140 +++++++++++++++++++++++++++---------------------------- 1 file changed, 69 insertions(+), 71 deletions(-) diff --git a/pcp.spec b/pcp.spec index 1f318bb..5703aaa 100644 --- a/pcp.spec +++ b/pcp.spec @@ -17,31 +17,28 @@ # norootforbuild -Name: pcp -Version: 3.5.8 + +Name: pcp +Version: 3.5.8 +Release: 1 %define pcp_release 1 -Release: %{pcp_release} -Summary: System-level performance monitoring and performance management -License: GPLv2 -URL: http://oss.sgi.com/projects/pcp -Group: System/Monitoring -Source: %{name}-%{version}-%{pcp_release}.src.tar.gz -Distribution: suse -Requires: pcp-libs = %{version} -Requires: bash gawk sed grep fileutils findutils +Summary: System-level performance monitoring and performance management +License: GPLv2 +Url: http://oss.sgi.com/projects/pcp +Group: System/Monitoring +Source: %{name}-%{version}-%{pcp_release}.src.tar.gz +Requires: pcp-libs = %{version} +Requires: bash gawk sed grep fileutils findutils %if "%{_vendor}" == "suse" -Requires: sysconfig cpp +Requires: sysconfig cpp %else -Requires: initscripts +Requires: initscripts %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build -BuildRequires: procps autoconf bison flex ncurses-devel readline-devel -BuildRequires: perl(ExtUtils::MakeMaker) -Patch6: pcp-xenbuild.patch -Patch9: static_lib_perms.diff - - - +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf bison flex ncurses-devel procps readline-devel +BuildRequires: perl(ExtUtils::MakeMaker) +Patch6: pcp-xenbuild.patch +Patch9: static_lib_perms.diff %description Performance Co-Pilot (PCP) provides a framework and services to support @@ -55,11 +52,11 @@ applications to easily retrieve and process any subset of that data. # pcp-libs # %package libs -License: LGPLv2+ -Group: System/Libraries -Summary: Performance Co-Pilot run-time libraries -URL: http://oss.sgi.com/projects/pcp/ -Obsoletes: pcp < 3.0 +License: LGPLv2+ +Group: System/Libraries +Summary: Performance Co-Pilot run-time libraries +Url: http://oss.sgi.com/projects/pcp/ +Obsoletes: pcp < 3.0 %description libs Performance Co-Pilot (PCP) run-time libraries @@ -68,11 +65,11 @@ Performance Co-Pilot (PCP) run-time libraries # pcp-libs-dvel # %package libs-devel -License: GPLv2 -Group: Development/Libraries/Other -Summary: Performance Co-Pilot (PCP) development headers and documentation -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp-libs = %{version} +License: GPLv2 +Group: Development/Libraries/Other +Summary: Performance Co-Pilot (PCP) development headers and documentation +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp-libs = %{version} %description libs-devel Performance Co-Pilot (PCP) headers, documentation and tools for development. @@ -81,11 +78,11 @@ Performance Co-Pilot (PCP) headers, documentation and tools for development. # perl-PCP-PMDA. This is the PCP agent perl binding. # %package -n perl-PCP-PMDA -License: GPLv2 -Group: System/Monitoring -Summary: Performance Co-Pilot (PCP) Perl bindings and documentation -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp >= %{version} perl-base +License: GPLv2 +Group: System/Monitoring +Summary: Performance Co-Pilot (PCP) Perl bindings and documentation +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp >= %{version} perl-base %description -n perl-PCP-PMDA The PCP::PMDA Perl module contains the language bindings for @@ -98,11 +95,11 @@ an application, etc. # perl-PCP-MMV # %package -n perl-PCP-MMV -License: GPLv2 -Group: System/Monitoring -Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp >= %{version} perl-base +License: GPLv2 +Group: System/Monitoring +Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp >= %{version} perl-base %description -n perl-PCP-MMV The PCP::MMV module contains the Perl language bindings for @@ -116,11 +113,11 @@ and analysis with pmchart, pmie, pmlogger and other PCP tools. # perl-PCP-LogImport # %package -n perl-PCP-LogImport -License: GPLv2 -Group: System/Monitoring -Summary: Performance Co-Pilot Perl bindings for importing external data -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp >= %{version} perl-base +License: GPLv2 +Group: System/Monitoring +Summary: Performance Co-Pilot Perl bindings for importing external data +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp >= %{version} perl-base %description -n perl-PCP-LogImport The PCP::LogImport module contains the Perl language bindings for @@ -131,11 +128,11 @@ they can be replayed with standard PCP monitoring tools. # perl-PCP-LogSummary # %package -n perl-PCP-LogSummary -License: GPLv2 -Group: System/Monitoring -Summary: Performance Co-Pilot Perl bindings for processing pmlogsummary output -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp >= %{version} perl-base +License: GPLv2 +Group: System/Monitoring +Summary: Performance Co-Pilot Perl bindings for processing pmlogsummary output +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp >= %{version} perl-base %description -n perl-PCP-LogSummary The PCP::LogSummary module provides a Perl module for using the @@ -149,11 +146,11 @@ exporting this data into third-party tools (e.g. spreadsheets). # pcp-import-sar2pcp # %package import-sar2pcp -License: LGPLv2+ -Group: System/Monitoring -Summary: Performance Co-Pilot tools for importing sar data into PCP archive logs -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp-libs >= %{version} perl-PCP-LogImport >= %{version} sysstat +License: LGPLv2+ +Group: System/Monitoring +Summary: Performance Co-Pilot tools for importing sar data into PCP archive logs +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp-libs >= %{version} perl-PCP-LogImport >= %{version} sysstat %description import-sar2pcp Performance Co-Pilot (PCP) front-end tools for importing sar data @@ -163,11 +160,11 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # pcp-import-iostat2pcp # %package import-iostat2pcp -License: LGPLv2+ -Group: System/Monitoring -Summary: Performance Co-Pilot tools for importing iostat data into PCP archive logs -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp-libs >= %{version} perl-PCP-LogImport >= %{version} sysstat +License: LGPLv2+ +Group: System/Monitoring +Summary: Performance Co-Pilot tools for importing iostat data into PCP archive logs +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp-libs >= %{version} perl-PCP-LogImport >= %{version} sysstat %description import-iostat2pcp Performance Co-Pilot (PCP) front-end tools for importing iostat data @@ -177,11 +174,11 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # pcp-import-sheet2pcp # %package import-sheet2pcp -License: LGPLv2+ -Group: System/Monitoring -Summary: Performance Co-Pilot tools for importing spreadsheet data into PCP archive logs -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp-libs >= %{version} perl-PCP-LogImport >= %{version} sysstat +License: LGPLv2+ +Group: System/Monitoring +Summary: Performance Co-Pilot tools for importing spreadsheet data into PCP archive logs +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp-libs >= %{version} perl-PCP-LogImport >= %{version} sysstat %description import-sheet2pcp Performance Co-Pilot (PCP) front-end tools for importing spreadsheet data @@ -191,11 +188,11 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # pcp-import-mrtg2pcp # %package import-mrtg2pcp -License: LGPLv2+ -Group: System/Monitoring -Summary: Performance Co-Pilot tools for importing MTRG data into PCP archive logs -URL: http://oss.sgi.com/projects/pcp/ -Requires: pcp-libs >= %{version} perl-PCP-LogImport >= %{version} +License: LGPLv2+ +Group: System/Monitoring +Summary: Performance Co-Pilot tools for importing MTRG data into PCP archive logs +Url: http://oss.sgi.com/projects/pcp/ +Requires: pcp-libs >= %{version} perl-PCP-LogImport >= %{version} %description import-mrtg2pcp Performance Co-Pilot (PCP) front-end tools for importing MTRG data @@ -333,6 +330,7 @@ set -x %{?insserv_cleanup:%{insserv_cleanup}} %post libs -p /sbin/ldconfig + %postun libs -p /sbin/ldconfig %files -f base_files.rpm