2007-08-14 04:36:11 +02:00
|
|
|
#
|
2011-09-14 14:57:29 +02:00
|
|
|
# spec file for package libmicro
|
2007-08-14 04:36:11 +02:00
|
|
|
#
|
2019-12-06 08:52:31 +01:00
|
|
|
# Copyright (c) 2019 SUSE LLC
|
2007-08-14 04:36:11 +02:00
|
|
|
#
|
2009-06-19 01:00:53 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-12-06 08:52:31 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-08-14 04:36:11 +02:00
|
|
|
#
|
|
|
|
|
2008-03-17 17:04:41 +01:00
|
|
|
|
2007-08-14 04:36:11 +02:00
|
|
|
Name: libmicro
|
2016-07-02 18:50:46 +02:00
|
|
|
Version: 0.4.2+hg.20120726
|
2015-02-15 20:47:31 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: LibMicro is a portable set of microbenchmarks
|
2012-03-26 19:56:18 +02:00
|
|
|
License: CDDL-1.0
|
2007-08-14 04:36:11 +02:00
|
|
|
Group: System/Benchmark
|
2019-12-06 08:52:31 +01:00
|
|
|
URL: https://java.net/projects/libmicro
|
2016-07-02 18:50:46 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2008-03-17 17:04:41 +01:00
|
|
|
Patch0: find_binary.patch
|
2008-05-28 16:26:23 +02:00
|
|
|
Patch1: removed_undefined_warning.patch
|
2011-09-14 14:57:29 +02:00
|
|
|
Patch2: fix-link.diff
|
2016-07-02 18:59:45 +02:00
|
|
|
Patch3: libmicro-implicit-fortify-decl.patch
|
2007-08-14 04:36:11 +02:00
|
|
|
|
|
|
|
%description
|
2015-02-15 20:47:31 +01:00
|
|
|
LibMicro is a portable set of microbenchmarks that many Solaris
|
|
|
|
engineers used during Solaris 10 development to measure the
|
|
|
|
performance of various system and library calls.
|
2008-07-08 21:44:30 +02:00
|
|
|
|
2007-08-14 04:36:11 +02:00
|
|
|
%prep
|
2019-12-06 08:52:31 +01:00
|
|
|
%autosetup
|
2007-08-14 04:36:11 +02:00
|
|
|
|
|
|
|
%build
|
2019-12-06 08:52:31 +01:00
|
|
|
%make_build CFLAGS="%{optflags}"
|
2007-08-14 04:36:11 +02:00
|
|
|
|
|
|
|
%install
|
2015-02-15 20:47:31 +01:00
|
|
|
rm bin-*/*.a
|
|
|
|
rm bin-*/*.h
|
2019-12-19 16:16:42 +01:00
|
|
|
rm bin-*/*.o
|
2015-02-15 20:47:31 +01:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/libMicro/bin
|
|
|
|
cp bin/* %{buildroot}%{_libexecdir}/libMicro/bin
|
|
|
|
cp bin-*/* %{buildroot}%{_libexecdir}/libMicro/bin
|
|
|
|
install -m 755 bench.sh %{buildroot}%{_bindir}
|
|
|
|
install -m 755 multiview.sh %{buildroot}%{_bindir}
|
2011-09-14 14:57:29 +02:00
|
|
|
|
2007-08-14 04:36:11 +02:00
|
|
|
%files
|
2019-12-06 08:52:31 +01:00
|
|
|
%license OPENSOLARIS.LICENSE
|
|
|
|
%doc README
|
2015-02-15 20:47:31 +01:00
|
|
|
%{_libexecdir}/libMicro
|
|
|
|
%{_bindir}/bench.sh
|
|
|
|
%{_bindir}/multiview.sh
|
2007-08-14 04:36:11 +02:00
|
|
|
|
|
|
|
%changelog
|