commit afc46dd9def4ef0465a620e94c9f28d51e7516e88a4e19ac105c7c4f162f54ae Author: Cristian Rodríguez Date: Wed Jun 16 14:02:08 2010 +0000 Accepting request 41522 from home:aledr Copy from home:aledr/perfsuite via accept of submit request 41522 revision 1. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/41522 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/perfsuite?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/perfsuite-1.0.0a4.tar.bz2 b/perfsuite-1.0.0a4.tar.bz2 new file mode 100644 index 0000000..0ae1218 --- /dev/null +++ b/perfsuite-1.0.0a4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6da882801c702293c254ea714cec5658ec14d85cb9d7bae0359ea93f358ddcc7 +size 1055737 diff --git a/perfsuite-rpmlintrc b/perfsuite-rpmlintrc new file mode 100644 index 0000000..8dc1b06 --- /dev/null +++ b/perfsuite-rpmlintrc @@ -0,0 +1 @@ +addFilter("devel-file-in-non-devel-package.*/usr/share/perfsuite/examples") diff --git a/perfsuite.changes b/perfsuite.changes new file mode 100644 index 0000000..caa7762 --- /dev/null +++ b/perfsuite.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Jun 15 23:51:06 UTC 2010 - alexandre@exatati.com.br + +- Initial package (1.0.0a4) for openSUSE. diff --git a/perfsuite.spec b/perfsuite.spec new file mode 100644 index 0000000..405795e --- /dev/null +++ b/perfsuite.spec @@ -0,0 +1,144 @@ +# +# 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 +Version: 1.0.0a4 +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 +BuildRequires: binutils-devel +BuildRequires: gcc-fortran +BuildRequires: libexpat-devel +BuildRequires: papi-devel +BuildRequires: tcl-devel +BuildRequires: tdom +BuildRequires: tk-devel +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). + +Author: +-------- + Dong Ahn + Rick Kufrin + Rui Liu + Anand Raghuraman + Jun-Hyuk Seo + +%package devel +License: Other uncritical OpenSource License +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. + +Author: +-------- + Dong Ahn + Rick Kufrin + Rui Liu + Anand Raghuraman + Jun-Hyuk Seo + +%package -n libperfsuite +License: Other uncritical OpenSource License +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). + +Author: +-------- + Dong Ahn + Rick Kufrin + Rui Liu + Anand Raghuraman + Jun-Hyuk Seo + +%prep +%setup -q + + +%build +LIBBFD_VERSION=`ls %{_libdir}/libbfd*.so | sed -n -e 's|.*-\(.*\)-\(.*\).so$|\1-\2|p'` +%configure --with-libbfd=bfd-${LIBBFD_VERSION} --with-papi=%{_prefix} +%{__make} %{?jobs:-j%jobs} -I%{_includedir} + + +%install +%makeinstall DOCDIR=%{_defaultdocdir}/%{name} +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) +%doc %{_mandir}/man1/* +%{_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) +%{_libdir}/lib*.so.* +%{_libdir}/p*/lib*.so.* +%{_libdir}/cxxfilt/*.so.* + + +%changelog