rpms/libpfm/devel libpfm.spec,1.32,1.33

Tom Callaway (spot) fedora-extras-commits at redhat.com
Thu Aug 7 15:28:53 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/libpfm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11822

Modified Files:
	libpfm.spec 
Log Message:
fix license tag, package cleanups


Index: libpfm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libpfm/devel/libpfm.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- libpfm.spec	31 Jul 2008 21:25:36 -0000	1.32
+++ libpfm.spec	7 Aug 2008 15:28:22 -0000	1.33
@@ -1,14 +1,11 @@
-%define DATE 080731
-%define libpfm_release 1
-Summary: A performance monitoring library for Linux/ia64
+Summary: A performance monitoring library for Linux
 Name: libpfm
 Version: 3.5
-Release: %{libpfm_release}%{?dist}
-License: MIT-style
+Release: 2%{?dist}
+License: MIT
 Group: Development/Libraries
 ExclusiveArch: ia64 %{ix86} x86_64 ppc ppc64
 ExclusiveOS: linux
-AutoReqProv: no
 Source: http://prdownloads.sourceforge.net/perfmon2/%{name}-%{version}.tar.gz
 URL: http://sourceforge.net/projects/perfmon2/
 
@@ -28,6 +25,7 @@
 %package devel
 Summary: the Linux performance library (libpfm) development files.
 Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
 
 %description devel
 The performance monitoring library (libpfm) is used to develop 
@@ -52,26 +50,31 @@
 rm -rf %{buildroot}
 mkdir -p %{buildroot}
 make install  PREFIX=/usr DESTDIR=%{buildroot} LIBDIR=%{_libdir}
+# If we need this static library, make a -static subpackage for it.
+rm -rf %{buildroot}/%{_libdir}/*.a
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
+
 %clean
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root)
-%doc README
-%attr(755,root,root) %{_libdir}/*.so*
-%{_libdir}/*.so*
+%defattr(-,root,root,-)
+%doc README COPYRIGHT
+%attr(755,root,root) %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root)
-%doc README
-%doc %{_mandir}/man3/*
-%{_libdir}/libpfm.a
-%{_prefix}/include/*
+%defattr(-,root,root,-)
+%{_mandir}/man3/*
+%{_libdir}/libpfm.so
+%{_includedir}/*
 
 %changelog
+* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 3.5-2
+- fix license tag
+- package cleanups (drop static library, package shared bits correctly)
+
 * Thu Jul 31 2008 Will Cohen <wcohen at redhat.com> - 3.5-1
 - Update to libpfm-3.5.
 




More information about the fedora-extras-commits mailing list