File xm-test.spec of Package xm-test

#
# spec file for package xm-test (Version 1.0)
#
# 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/
#

# norootforbuild
Name:   xm-test
License: GNU GPLv2 
Summary: Xm-Test is a test suite for Xen 3.0. 
URL: http://autotest.kernel.org/browser/trunk/client/tests/xmtest
Version: 1.0
Release: 1
Autoreqprov: on
Source0: %{name}-%{version}.tar.bz2
#For subpackage creation
#Source1: xm-test_ctcstools-%{version}.tar.bz2	
BuildRoot: %{_tmppath}/%{name}-build
Group: SUSE internal

%description
This suite provides a framework for testing the Xen userspace tools.
The directory structure is:
./xm-test
|
+-/lib:Python support libraries
|
+-/ramdisk: Staging area for building the test ramdisk
|
+-/tests
| |
| +-/create:Tests for the 'xm create' command
| +-/destroy: Tests for the 'xm destroy' command
|  ...
+-/utils: Utility scripts for ramdisk building
 

#%package ctcs-glue
#Summary:  The let-pts-be-run-via-ctcs glue
#Group:    SUSE internal
#Autoreqprov: on
#Requires:    ctcs2 >= 0.1.6
#Requires:    phoronix-test-suite = %{version}

#%description ctcs-glue
#This package contains the glue for phoronix-test-suite into the ctcs testing framework.

%prep
%setup -q

%build
./autogen
./configure
make existing

%install
#export DESTDIR=${RPM_BUILD_ROOT}
#./install-sh 

#mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
#mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf
#mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/bin/xm-test
#ln -s ../../../../bin/phoronix-test-suite $RPM_BUILD_ROOT/usr/lib/ctcs2/bin/phoronix-test-suite

# now fix file permissions
# no suid root
# no world writable
#find $RPM_BUILD_ROOT -type f -print0 |xargs -0 chmod -c o-w,u-s


%files
%defattr(-,root,root)

#%files ctcs-glue
#%defattr(-,root,root)
#/usr/lib/ctcs2

%clean
rm -rf $RPM_BUILD_ROOT

%changelog


openSUSE Build Service is sponsored by