2010-06-16 14:02:08 +00:00
|
|
|
#
|
|
|
|
# spec file for package perfsuite (Version 1.0.0a4)
|
|
|
|
#
|
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perfsuite
|
2014-09-08 12:38:01 +00:00
|
|
|
Version: 1.1.4
|
2010-06-16 14:02:08 +00:00
|
|
|
Release: 0
|
|
|
|
License: Other uncritical OpenSource License
|
|
|
|
Summary: Collection of tools for software performance analysis
|
|
|
|
Url: http://perfsuite.ncsa.uiuc.edu
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: %{name}-rpmlintrc
|
2014-07-30 13:04:51 +00:00
|
|
|
Patch0: perfsuite-autconfiscate.patch
|
2014-09-08 12:38:01 +00:00
|
|
|
Patch1: perfsuite-no_implicit_decls.patch
|
2010-06-16 14:02:08 +00:00
|
|
|
BuildRequires: binutils-devel
|
|
|
|
BuildRequires: gcc-fortran
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: papi-devel
|
|
|
|
BuildRequires: tcl-devel
|
|
|
|
BuildRequires: tdom
|
|
|
|
BuildRequires: tk-devel
|
2014-07-30 13:04:51 +00:00
|
|
|
BuildRequires: autoconf automake libtool
|
2010-06-16 14:02:08 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
PerfSuite is a collection of tools, utilities, and libraries for software
|
|
|
|
performance analysis where the primary design goals are ease of use,
|
|
|
|
comprehensibility, interoperability, and simplicity. This software can
|
|
|
|
provide a good "entry point" for more detailed performance analysis and
|
|
|
|
can help point the way towards selecting other tools and/or techniques
|
|
|
|
using more specialized software if necessary (for example, tools/libraries
|
|
|
|
from academic research groups or third-party commercial software).
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Software Development Kit for perfsuite
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: perfsuite = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package includes the C header files that specify the perfsuite userspace
|
|
|
|
libraries and interfaces. This is required for rebuilding any program
|
|
|
|
that uses perfsuite.
|
|
|
|
|
|
|
|
%package -n libperfsuite
|
|
|
|
Summary: User callbacks for library, process and threads
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libperfsuite
|
|
|
|
PerfSuite is a collection of tools, utilities, and libraries for software
|
|
|
|
performance analysis where the primary design goals are ease of use,
|
|
|
|
comprehensibility, interoperability, and simplicity. This software can
|
|
|
|
provide a good "entry point" for more detailed performance analysis and
|
|
|
|
can help point the way towards selecting other tools and/or techniques
|
|
|
|
using more specialized software if necessary (for example, tools/libraries
|
|
|
|
from academic research groups or third-party commercial software).
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2014-07-30 13:04:51 +00:00
|
|
|
%patch0
|
2014-09-08 12:38:01 +00:00
|
|
|
%patch1
|
2010-06-16 14:02:08 +00:00
|
|
|
|
|
|
|
%build
|
2014-07-30 13:04:51 +00:00
|
|
|
autoreconf -fi
|
2010-06-16 14:02:08 +00:00
|
|
|
LIBBFD_VERSION=`ls %{_libdir}/libbfd*.so | sed -n -e 's|.*-\(.*\)-\(.*\).so$|\1-\2|p'`
|
|
|
|
%configure --with-libbfd=bfd-${LIBBFD_VERSION} --with-papi=%{_prefix}
|
2012-01-29 16:00:50 +00:00
|
|
|
make %{?_smp_mflags} -I%{_includedir}
|
2010-06-16 14:02:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2014-09-08 12:38:01 +00:00
|
|
|
make DESTDIR=%{buildroot} DOCDIR=%{_defaultdocdir}/%{name} install
|
2010-06-16 14:02:08 +00:00
|
|
|
find %{buildroot}%{_libdir} -type f -name \*.la -print0 | xargs -r0 rm -v
|
|
|
|
find %{buildroot}%{_libdir} -type f -name \*.a -print0 | xargs -r0 rm -v
|
|
|
|
|
|
|
|
|
|
|
|
%post -n libperfsuite -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -n libperfsuite -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-09-08 12:38:01 +00:00
|
|
|
%dir %{_libdir}/cxxfilt
|
|
|
|
%dir %{_libdir}/papi
|
|
|
|
%doc CHANGES LICENSE AUTHORS
|
|
|
|
%{_mandir}/man1/*
|
2010-06-16 14:02:08 +00:00
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_bindir}/psconfig
|
|
|
|
%{_bindir}/psenv.csh
|
|
|
|
%{_bindir}/psenv.sh
|
|
|
|
%{_bindir}/psinv
|
|
|
|
%{_bindir}/psprocess
|
|
|
|
%{_bindir}/psrun
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/p*/lib*.so
|
|
|
|
%{_libdir}/cxxfilt/*.so
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libperfsuite
|
|
|
|
%defattr(-,root,root)
|
2014-09-08 12:38:01 +00:00
|
|
|
%{_libdir}/psmd50.1
|
|
|
|
%{_libdir}/psbfd0.3
|
2010-06-16 14:02:08 +00:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%{_libdir}/p*/lib*.so.*
|
|
|
|
%{_libdir}/cxxfilt/*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|