Summary: a performance monitoring library for Linux/ia64 Name: libpfm Version: 3.0 Release: 4.2 License: MIT-style Group: Development/Libraries ExclusiveArch: ia64 ExclusiveOS: linux AutoReqProv: no Source: ftp://ftp.hpl.hp.com/pub/linux-ia64/%{name}-%{version}.tar.gz Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This package contains a library to develop performance monitoring applications using the IA-64 Performance Monitor Unit (PMU). This version supports both the Itanium and Itanium 2 processors. %package devel Summary: the Linux/ia64 performance library (libpfm) development files. Group: Development/Libraries %description devel The performance monitoring library (libpfm) is used to develop performance monitoring applications using the IA-64 Performance Monitoring Unit (PMU). This package provides the files necessary for development of applications. This version supports both the Itanium and Itanium 2 processors. It requires a kernel perfmon-2.x subsystem. %prep %setup -q %install rm -rf %{buildroot} mkdir -p %{buildroot}/%{_prefix} make install CFLAGS="$RPM_OPT_FLAGS" \ DESTDIR=%{buildroot}/%{_prefix} %post /sbin/ldconfig %preun %postun /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %attr(755,root,root) %{_prefix}/lib/libpfm.so.%{PACKAGE_VERSION}.0 %files devel %defattr(-,root,root) %doc README %doc examples/multiplex.c %doc examples/ita2_irr.c %doc examples/ita2_opcode.c %doc examples/ita2_rr.c %doc examples/ita_btb.c %doc examples/ita_irr.c %doc examples/ita_opcode.c %doc examples/ita_rr.c %doc examples/notify_self.c %doc examples/notify_self2.c %doc examples/notify_self3.c %doc examples/self.c %doc examples/showreset.c %doc examples/syst.c %doc examples/task.c %doc examples/whichpmu.c %doc examples/ita2_btb.c %doc examples/ita2_dear.c %doc examples/ita_dear.c %doc examples/task_attach.c %doc examples/task_attach_timeout.c %doc examples/task_smpl.c %attr(644,root,root) %{_prefix}/lib/libpfm.a %attr(644,root,root) %{_prefix}/include/perfmon/perfmon.h %attr(644,root,root) %{_prefix}/include/perfmon/perfmon_default_smpl.h %attr(644,root,root) %{_prefix}/include/perfmon/pfmlib.h %attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_comp.h %attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_comp_ia64.h %attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_os.h %attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_os_ia64.h %attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_generic_ia64.h %attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_itanium.h %attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_itanium2.h %attr(644,root,root) %{_mandir}/man3/* %changelog * Tue Feb 07 2006 Jesse Keating - 3.0-4.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Mon Mar 14 2005 Will Cohen - Bump rebuild with gcc4. * Tue Oct 26 2004 Will Cohen - Correct ownership of files. * Mon Sep 27 2004 Will Cohen - Correct spec file for build system. * Mon Dec 1 2003 Stephane Eranian - release 3.0 final version * Thu Jan 02 2003 Stephane Eranian - release final 2.0 version * Fri Dec 20 2002 Stephane Eranian - final 2.0 release * Thu Dec 05 2002 Stephane Eranian - initial release of the library as a standalone package - see ChangeLog for actual log