2008-08-07 15:28:22 +00:00
|
|
|
Summary: A performance monitoring library for Linux
|
2004-09-24 14:14:15 +00:00
|
|
|
Name: libpfm
|
2008-07-31 21:25:36 +00:00
|
|
|
Version: 3.5
|
2009-02-25 17:30:13 +00:00
|
|
|
Release: 3%{?dist}
|
2008-08-07 15:28:22 +00:00
|
|
|
License: MIT
|
2004-09-24 14:14:15 +00:00
|
|
|
Group: Development/Libraries
|
2008-07-31 21:25:36 +00:00
|
|
|
ExclusiveArch: ia64 %{ix86} x86_64 ppc ppc64
|
2004-09-24 14:14:15 +00:00
|
|
|
ExclusiveOS: linux
|
2008-02-26 02:49:52 +00:00
|
|
|
Source: http://prdownloads.sourceforge.net/perfmon2/%{name}-%{version}.tar.gz
|
2007-05-21 21:33:12 +00:00
|
|
|
URL: http://sourceforge.net/projects/perfmon2/
|
|
|
|
|
2006-06-27 13:53:41 +00:00
|
|
|
Patch3: libpfm-3.2-rpm_opt.patch
|
2006-12-04 19:22:32 +00:00
|
|
|
#Patch4: libpfm-3.2-man3.patch
|
2008-02-26 16:33:35 +00:00
|
|
|
Patch5: libpfm-3.3-ia64-build.patch
|
2008-05-02 15:15:12 +00:00
|
|
|
Patch6: libpfm-3.4-unused.patch
|
2007-05-21 21:33:12 +00:00
|
|
|
|
|
|
|
BuildRequires: ncurses-devel
|
2004-09-24 14:14:15 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a library to develop performance monitoring
|
2006-06-27 13:53:41 +00:00
|
|
|
applications using the Performance Monitor Unit (PMU) available on
|
|
|
|
various processors.
|
2004-09-24 14:14:15 +00:00
|
|
|
|
|
|
|
%package devel
|
2006-06-27 13:53:41 +00:00
|
|
|
Summary: the Linux performance library (libpfm) development files.
|
2004-09-24 14:14:15 +00:00
|
|
|
Group: Development/Libraries
|
2008-08-07 15:28:22 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-09-24 14:14:15 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The performance monitoring library (libpfm) is used to develop
|
2006-06-27 13:53:41 +00:00
|
|
|
performance monitoring applications using the Performance Monitoring
|
|
|
|
Unit (PMU) available on various processors. This package provides the
|
|
|
|
files necessary for development of applications.
|
2004-09-24 14:14:15 +00:00
|
|
|
It requires a kernel perfmon-2.x subsystem.
|
|
|
|
|
2006-06-27 16:34:03 +00:00
|
|
|
Requires: ncurses
|
|
|
|
|
2004-09-24 14:14:15 +00:00
|
|
|
%prep
|
2008-02-26 02:49:52 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2006-06-27 13:53:41 +00:00
|
|
|
%patch3 -p1 -b .rpm_opt
|
2006-12-04 19:22:32 +00:00
|
|
|
#%patch4 -p1 -b .man3
|
2008-02-26 16:33:35 +00:00
|
|
|
%patch5 -p1 -b .ia64build
|
2008-05-02 15:15:12 +00:00
|
|
|
%patch6 -p1 -b .unused
|
2006-06-27 13:53:41 +00:00
|
|
|
|
|
|
|
%build
|
2006-10-02 05:43:49 +00:00
|
|
|
make PREFIX=/usr DESTDIR=%{buildroot} LIBDIR=%{_libdir}
|
2006-06-27 13:53:41 +00:00
|
|
|
|
2004-09-24 14:14:15 +00:00
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2006-10-02 05:43:49 +00:00
|
|
|
mkdir -p %{buildroot}
|
|
|
|
make install PREFIX=/usr DESTDIR=%{buildroot} LIBDIR=%{_libdir}
|
2008-08-07 15:28:22 +00:00
|
|
|
# If we need this static library, make a -static subpackage for it.
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/*.a
|
2006-09-19 19:32:48 +00:00
|
|
|
|
2006-02-09 15:08:17 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2008-08-07 15:28:22 +00:00
|
|
|
|
2004-09-24 14:14:15 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
2008-08-07 15:28:22 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README COPYRIGHT
|
|
|
|
%attr(755,root,root) %{_libdir}/*.so.*
|
2004-09-24 14:14:15 +00:00
|
|
|
|
|
|
|
%files devel
|
2008-08-07 15:28:22 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_libdir}/libpfm.so
|
|
|
|
%{_includedir}/*
|
2004-09-24 14:14:15 +00:00
|
|
|
|
|
|
|
%changelog
|
2009-02-25 17:30:13 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-08-07 15:28:22 +00:00
|
|
|
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.5-2
|
|
|
|
- fix license tag
|
|
|
|
- package cleanups (drop static library, package shared bits correctly)
|
|
|
|
|
2008-07-31 21:25:36 +00:00
|
|
|
* Thu Jul 31 2008 Will Cohen <wcohen@redhat.com> - 3.5-1
|
|
|
|
- Update to libpfm-3.5.
|
|
|
|
|
2008-05-02 15:15:12 +00:00
|
|
|
* Fri May 2 2008 Will Cohen <wcohen@redhat.com> - 3.4-1
|
|
|
|
- Update to libpfm-3.4.
|
|
|
|
|
2008-02-26 16:33:35 +00:00
|
|
|
* Tue Feb 26 2008 Will Cohen <wcohen@redhat.com> - 3.3-0.080225.2
|
|
|
|
- Correct possibly unitialized variable umask. Resolves: rhbz #434968
|
|
|
|
|
2008-02-26 02:49:52 +00:00
|
|
|
* Mon Feb 25 2008 Will Cohen <wcohen@redhat.com> - 3.3-0.080225.1
|
|
|
|
- Update to libpfm-3.3.
|
|
|
|
|
2008-02-20 06:54:51 +00:00
|
|
|
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.2-1.071017.1
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-10-26 17:53:07 +00:00
|
|
|
* Wed Oct 24 2007 Will Cohen <wcohen@redhat.com> - 3.2-0.071017.1
|
|
|
|
- Update to libpfm-3.2-071017.
|
|
|
|
|
2007-08-21 18:42:48 +00:00
|
|
|
* Tue Aug 21 2007 Will Cohen <wcohen@redhat.com> - 3.2-0.061205.3
|
|
|
|
- rebuild
|
|
|
|
|
2007-05-21 21:33:12 +00:00
|
|
|
* Mon May 21 2007 Will Cohen <wcohen@redhat.com> - 3.2-0.061205.2
|
|
|
|
- Fix up rpmlint complaints.
|
|
|
|
|
2006-12-04 19:22:32 +00:00
|
|
|
* Mon Dec 4 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.061205.1
|
|
|
|
- Update to libpfm-3.2-061205.
|
|
|
|
|
2006-11-03 19:24:41 +00:00
|
|
|
* Fri Nov 3 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060926.3
|
2006-11-03 19:21:50 +00:00
|
|
|
- Add dist tag to build.
|
|
|
|
|
2006-10-02 05:59:41 +00:00
|
|
|
* Sun Oct 1 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060926.2
|
2008-02-26 02:49:52 +00:00
|
|
|
- Eliminate unneeded libpfm-compa.tpatch.
|
2006-10-02 05:59:41 +00:00
|
|
|
|
2006-10-02 05:43:49 +00:00
|
|
|
* Sun Oct 1 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060926.1
|
|
|
|
- Update to libpfm-3.2-060926.
|
|
|
|
|
2006-09-19 19:51:28 +00:00
|
|
|
* Tue Sep 19 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060621.10
|
|
|
|
- Make sure fix works on i386. (#205221)
|
|
|
|
|
2006-09-19 19:32:48 +00:00
|
|
|
* Tue Sep 19 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060621.9
|
|
|
|
- Make sure libraries put in correct directory. (#205221)
|
|
|
|
|
2006-07-12 06:55:18 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.2-0.060621.8.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-08 19:19:00 +00:00
|
|
|
* Sat Jul 8 2006 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Avoid pulling in the example ELF executable into /usr/share. (#198001)
|
|
|
|
- Mark man pages as documentation.
|
|
|
|
|
2006-06-27 16:26:29 +00:00
|
|
|
* Tue Jun 27 2006 Will Cohen <wcohen@redhat.com>
|
2006-06-27 16:34:03 +00:00
|
|
|
- Add ncurses requires.
|
2006-06-27 16:26:29 +00:00
|
|
|
- Add ncurses-devel buildprereq.
|
|
|
|
|
2006-06-27 13:53:41 +00:00
|
|
|
* Mon Jun 26 2006 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Make sure that CFLAGS in pfmlib/lib/ is used.
|
|
|
|
- Separate build and install processes.
|
|
|
|
- Clean up the descriptions.
|
|
|
|
|
2006-06-26 21:09:46 +00:00
|
|
|
* Mon Jun 26 2006 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Update to libpfm-3.2-060621.
|
|
|
|
|
2006-06-14 14:08:10 +00:00
|
|
|
* Wed Jun 14 2006 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Update to libpfm-3.2-060613.
|
|
|
|
|
2006-05-05 15:21:25 +00:00
|
|
|
* Fri May 05 2006 Will Cohen <wcohen@redhat.com>
|
|
|
|
- fno-strict-aliasing so ia64 builds.
|
|
|
|
|
2006-05-05 14:35:15 +00:00
|
|
|
* Fri May 05 2006 Will Cohen <wcohen@redhat.com>
|
|
|
|
- make sure that perfmon_compat.h installed for ia64.
|
|
|
|
|
2006-05-05 02:27:43 +00:00
|
|
|
* Thu May 04 2006 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Update to libpfm-3.2-060421.
|
|
|
|
|
2006-02-09 15:08:17 +00:00
|
|
|
* Thu Feb 09 2006 Florian La Roche <laroche@redhat.com>
|
|
|
|
- remove empty scripts
|
|
|
|
|
2006-02-07 12:42:48 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0-4.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:39 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-14 23:13:31 +00:00
|
|
|
* Mon Mar 14 2005 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Bump rebuild with gcc4.
|
|
|
|
|
2004-10-26 14:24:36 +00:00
|
|
|
* Tue Oct 26 2004 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Correct ownership of files.
|
|
|
|
|
2004-09-27 21:26:18 +00:00
|
|
|
* Mon Sep 27 2004 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Correct spec file for build system.
|
|
|
|
|
2004-09-24 14:14:15 +00:00
|
|
|
* Mon Dec 1 2003 Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
- release 3.0 final version
|
|
|
|
* Thu Jan 02 2003 Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
- release final 2.0 version
|
|
|
|
* Fri Dec 20 2002 Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
- final 2.0 release
|
|
|
|
* Thu Dec 05 2002 Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
- initial release of the library as a standalone package
|
|
|
|
- see ChangeLog for actual log
|