Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ospro
stress
stress.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stress.spec of Package stress
# # spec file for package stress (Version 1.0.1) # # Copyright (c) 2009 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: stress Url: http://weather.ou.edu/~apw/projects/stress/ License: GPLv2 #BuildRequires: Group: SUSE internal Summary: Simple workload generator for POSIX systems #Requires: perl #Requires: ctcs2 PreReq: %install_info_prereq Version: 1.0.1 Release: 1 Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-ctcs-glue-%{version}.tar.bz2 #Source2: %{name}-%{version}-rpmlintrc #Patch: %{name}-full-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildArch: i386 %description Stress is a simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system. %package ctcs-glue Summary: The let-stress-be-run-via-ctcs glue Group: SUSE internal Autoreqprov: on Requires: ctcs2 >= 0.1.6 Requires: stress = %{version} #BuildArch: noarch %description ctcs-glue This package contains the glue for integrating stress into the ctcs testing framework. %prep cd $RPM_BUILD_DIR bzip2 -dc $RPM_SOURCE_DIR/%{name}-%{version}.tar.bz2 | tar -xvf - bzip2 -dc $RPM_SOURCE_DIR/%{name}-ctcs-glue-%{version}.tar.bz2 | tar -xvf - %build cd $RPM_BUILD_DIR/%{name}-%{version} CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CFLAGS %{configure} %{__make} %install # install for package stress %{__install} -m 755 -d $RPM_BUILD_ROOT/usr/bin %{__install} -m 755 %{name}-%{version}/src/stress $RPM_BUILD_ROOT/usr/bin/ %{__strip} -s $RPM_BUILD_ROOT/usr/bin/stress %{__install} -m 755 -d $RPM_BUILD_ROOT%{_infodir} %{__install} -m 644 %{name}-%{version}/doc/stress.info $RPM_BUILD_ROOT%{_infodir}/ %{__install} -m 755 -d $RPM_BUILD_ROOT%{_mandir} %{__install} -m 755 -d $RPM_BUILD_ROOT%{_mandir}/man1 %{__install} -m 644 %{name}-%{version}/doc/stress.1 $RPM_BUILD_ROOT%{_mandir}/man1/ # install for package ctcs-glue %{__install} -m 755 -d $RPM_BUILD_ROOT/usr/lib/ctcs2 %{__install} -m 755 -d $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf %{__install} -m 755 -d $RPM_BUILD_ROOT/usr/lib/ctcs2/tools %{__install} -m 755 -d $RPM_BUILD_ROOT/usr/lib/ctcs2/bin %{__install} -m 755 -d $RPM_BUILD_ROOT/usr/lib/ctcs2/bin/stress %{__install} -m 644 %{name}-ctcs-glue-%{version}/stress.tcf $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf/ %{__install} -m 755 %{name}-ctcs-glue-%{version}/stress-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools/ %{__install} -m 755 %{name}-ctcs-glue-%{version}/stresstest.py $RPM_BUILD_ROOT/usr/bin %{__ln_s} ../../../../bin/stress $RPM_BUILD_ROOT/usr/lib/ctcs2/bin/stress/ %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %attr (0755, root, root) %{_bindir}/stress %attr (0644, root, root) %{_infodir}/stress.info.gz %attr (0644, root, root) %{_mandir}/man1/stress.1.gz %files ctcs-glue %defattr(-, root, root) %dir /usr/lib/ctcs2 %dir /usr/lib/ctcs2/tcf %dir /usr/lib/ctcs2/tools %dir /usr/lib/ctcs2/bin %dir /usr/lib/ctcs2/bin/stress %attr (0644, root, root) /usr/lib/ctcs2/tcf/stress.tcf %attr (0755, root, root) /usr/lib/ctcs2/tools/stress-run %attr (0755, root, root) /usr/bin/stresstest.py /usr/lib/ctcs2/bin/stress/stress %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor