Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hammer_pan
slamd
slamd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slamd.spec of Package slamd
# # spec file for package slamd (Version 2.0.0-20090712) # # 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/ # %define slamd_home /usr/lib/slamd %define buildid 20090712 Name: slamd Url: http://www.slamd.com License: SUN PUBLIC LICENSE Version 1.0 BuildRequires: fastjar unzip Requires: jre-sun >= 1.5.0 Group: SUSE internal Summary: SLAMD Distributed Load Generation Engine Version: 2.0.0_%{buildid} Release: 1 Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-ctcs-glue-%{version}.tar.bz2 Source2: %{name}-%{version}-rpmlintrc Patch: %{name}-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The SLAMD Distributed Load Generation Engine (SLAMD) is a Java-based application designed for stress testing and performance analysis of network-based applications. SLAMD was originally developed for the purpose of benchmarking and analyzing the performance of LDAP directory servers, and it is the most powerful and flexible tool available for this task. However, it is also well-suited for testing other kinds of network applications and has been used for things like Web servers and Web-based applications, relational databases, and mail servers. It can also be used for non-network based applications (and in fact, it is used for comparing things like CPU power and memory latency across a number of different kinds of systems), although its distributed nature makes it ideal for systems that can be accessed remotely. %package ctcs-glue Summary: The let-slamd-be-run-via-ctcs glue Group: SUSE internal Autoreqprov: on Requires: ctcs2 >= 0.1.6 Requires: slamd = %{version} %description ctcs-glue This package contains the glue for integrating slamd into the ctcs testing framework. %prep %setup -b 1 %patch -p1 %build %install cd $RPM_BUILD_DIR/%{name}-%{version} install -m 755 -d $RPM_BUILD_ROOT%{slamd_home} find . -name "*.bat" -print -delete find . -name "*.exe" -print -delete cp -R * $RPM_BUILD_ROOT%{slamd_home}/ rm -f $RPM_BUILD_ROOT%{slamd_home}/thirdparty/jai/libmlib_jai.so install -m 755 -d $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2 install -m 755 -d $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/temp install -m 755 -d $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/form install -m 644 ../%{name}-ctcs-glue-%{version}/com.slamd.jobs.HTTPGetRateJobClass $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/form/ install -m 644 ../%{name}-ctcs-glue-%{version}/PostTest.class $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/ install -m 644 ../%{name}-ctcs-glue-%{version}/slamd_dbcreate $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/ install -m 644 ../%{name}-ctcs-glue-%{version}/slamd_status $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/ install -m 755 ../%{name}-ctcs-glue-%{version}/slamd_init.sh $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/ install -m 755 ../%{name}-ctcs-glue-%{version}/slamd_shutdown.sh $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/ install -m 755 ../%{name}-ctcs-glue-%{version}/slamd_testjob.sh $RPM_BUILD_ROOT%{slamd_home}/webapps/slamd/WEB-INF/ctcs2/ #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 644 ../%{name}-ctcs-glue-%{version}/slamd.tcf $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf/ install -m 755 ../%{name}-ctcs-glue-%{version}/slamd-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools/ %clean rm -rf $RPM_BUILD_ROOT %preun rm -f %{slamd_home}/webapps/slamd/WEB-INF/ctcs2/temp/* rm -rf %{slamd_home}/webapps/slamd/WEB-INF/db rm -f %{slamd_home}/webapps/slamd/WEB-INF/slamd.log rm -rf %{slamd_home}/work rm -rf %{slamd_home}/logs/* #%postun %files %defattr(-, root, root) %{slamd_home} %files ctcs-glue %defattr(-, root, root) %dir /usr/lib/ctcs2 %dir /usr/lib/ctcs2/tcf %dir /usr/lib/ctcs2/tools %attr (0644, root, root) /usr/lib/ctcs2/tcf/slamd.tcf %attr (0755, root, root) /usr/lib/ctcs2/tools/slamd-run %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