rpms/pfmon/devel pfmon.spec,1.33,1.34

Tom Callaway spot at fedoraproject.org
Thu Aug 28 20:11:34 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/pfmon/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21988

Modified Files:
	pfmon.spec 
Log Message:
cleanup spec, fix license tag


Index: pfmon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pfmon/devel/pfmon.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- pfmon.spec	1 Aug 2008 11:44:35 -0000	1.33
+++ pfmon.spec	28 Aug 2008 20:11:03 -0000	1.34
@@ -1,69 +1,60 @@
-%define DATE 080731
-%define pfmon_release 2
 Summary: A performance monitoring tool for Linux/ia64
 Name: pfmon
 Version: 3.5
-Release: %{pfmon_release}%{?dist}
-License: GPL
+Release: 3%{?dist}
+# Some of the files are GPLv2+, but since some are GPLv2, the whole is GPLv2.
+License: GPLv2
 Group: Development/Tools
 BuildRoot: %{_tmppath}/%{name}-root
-ExclusiveArch: ia64 %{ix86} x86_64
+ExclusiveArch: ia64 %{ix86} x86_64 sparcv9
 ExclusiveOS: linux
-AutoReqProv: no
 Source: http://prdownloads.sourceforge.net/perfmon2/%{name}-%{version}.tar.gz
 URL: http://sourceforge.net/projects/perfmon2/
-
 Patch3: pfmon-rpm_opt.patch
-#Patch4: pfmon-fortify.patch
-#Patch5: pfmon-ia64-checks1.patch
-#Patch6: pfmon-ia64-checks2.patch
 
-Requires: libpfm
 BuildRequires: elfutils-libelf-devel-static
 BuildRequires: binutils-devel
-BuildRequires: libpfm >= 3.5
 BuildRequires: libpfm-devel >= 3.5
 
 %description
-This package contains pfmon 3.x, a tool to monitor performance using
-the Performance Monitor Unit (PMU). Pfmon can monitor
-standalone programs or the entire system on both UP and SMP Linux systems.
-This version
-of pfmon requires a kernel perfmon-2.x (found in 2.6 kernels) subsystem to 
-function properly.
+This package contains pfmon 3.x, a tool to monitor performance using the 
+Performance Monitor Unit (PMU). Pfmon can monitor standalone programs or the 
+entire system on both UP and SMP Linux systems. This version of pfmon 
+requires a kernel perfmon-2.x (found in 2.6 kernels) subsystem to function 
+properly.
 
 %prep
 %setup -q -n %{name}-%{version}
 %patch3 -p1 -b .rpm_opt
-#%patch4 -p1 -b .fortify
-#%patch5 -p0 -b .checks1
-#%patch6 -p0 -b .checks2
 
 %build
-make	PREFIX=/usr DESTDIR=%{buildroot} \
-	PFMROOTDIR=/usr PFMLIBDIR=%{_libdir}
+make	PREFIX=%{_prefix} \
+	PFMROOTDIR=%{_prefix} PFMLIBDIR=%{_libdir}
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr
-make install  PREFIX=/usr DESTDIR=%{buildroot} \
-	PFMROOTDIR=/usr PFMLIBDIR=%{_libdir}
-
+mkdir -p %{buildroot}%{_prefix}
+make install  PREFIX=%{_prefix} DESTDIR=%{buildroot} \
+	PFMROOTDIR=%{_prefix} PFMLIBDIR=%{_libdir}
 
-( cd %{buildroot}/usr/bin; rm pfmon_gen; ln -s pfmon pfmon_gen )
+( cd %{buildroot}%{_bindir}; rm pfmon_gen; ln -s pfmon pfmon_gen )
 
 %clean
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root)
-%doc README
-%doc /usr/share/man/man1/*
-%attr(755,root,root) /usr/bin/pfmon
-%attr(755,root,root) /usr/bin/pfdbg
-%attr(755,root,root) /usr/bin/pfmon_gen
+%defattr(-,root,root,-)
+%doc README COPYRIGHT
+%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/pfmon
+%attr(755,root,root) %{_bindir}/pfdbg
+%attr(755,root,root) %{_bindir}/pfmon_gen
 
 %changelog
+* Thu Aug 28 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 3.5-3
+- fix license tag
+- cleanup package
+
 * Fri Aug 1 2008 Will Cohen <wcohen at redhat.com> - 3.5-2
 - Disable ppc and ppc64.
 




More information about the fedora-extras-commits mailing list