Update of /cvsroot/sblim/testsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11070 Added Files: AUTHORS COPYING ChangeLog Makefile.am NEWS autoconfiscate.sh configure.ac sblim-testsuite.spec.in Removed Files: license.html makefile Log Message: Bug 1179465: Simple autoconfiscation. The test suite is installed to /usr/share/sblim-testsuite and /var/lib/sblim-testsuite. --- license.html DELETED --- --- NEW FILE: Makefile.am --- # $Id: Makefile.am,v 1.1 2005/04/14 10:38:49 mihajlov Exp $ # ================================================================== # (C) Copyright IBM Corp. 2005 # # THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE # ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE # CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. # # You can obtain a current copy of the Common Public License from # http://www-128.ibm.com/developerworks/library/os-cpl.html # # Author: Viktor Mihajlovski <mih...@de...> # Contributors: Dr. Gareth S. Bestor <bes...@us...> # Description: Automake input file for SBLIM testsuite # ================================================================== # Various directories pkgstatedir=$(localstatedir)/lib/$(PACKAGE) systemtestdir=$(pkgdatadir)/system/linux consistencetestdir=$(pkgdatadir)/cim # # Automake instructions # # docdir defines where the documentation goes docdir=$(datadir)/doc/$(PACKAGE)-$(VERSION) # # Automake instructions for documentation # doc_DATA=README AUTHORS COPYING # We must explicity add the RPM spec file to the distribution package EXTRA_DIST=sblim-testsuite.spec # We must explicity add all the testsuite files to the distribution package consistencetest_DATA=cim/SampleClass.cim systemtest_DATA=system/linux/SampleClass.system \ system/linux/createKeyFiles.sh.sample pkgdata_SCRIPTS=associator.pm cimom.pm consistence.pm instance.pm \ consistence.pl interface.pl run.sh EXTRA_DIST+=$(pkgdata_SCRIPTS) $(consistencetest_DATA) $(systemtest_DATA) install-data-local: test -d $(DESTDIR)$(pkgstatedir)/stat || $(mkdir_p) $(DESTDIR)$(pkgstatedir)/stat $(LN_S) $(pkgstatedir)/stat $(DESTDIR)$(pkgdatadir) --- NEW FILE: autoconfiscate.sh --- #!/bin/sh # # Script to setup autoconf/automake build environment. # Run this first to create the configure script # NO CHANGES SHOULD BE NECESSARY TO THIS FILE aclocal --force && automake --add-missing --force-missing && autoconf --force && echo "You may now run ./configure" --- NEW FILE: COPYING --- --- NEW FILE: sblim-testsuite.spec.in --- # # $Id: sblim-testsuite.spec.in,v 1.1 2005/04/14 10:38:49 mihajlov Exp $ # # Package spec for @PACKAGE@ # BuildRoot: /var/tmp/buildroot Summary: SBLIM testsuite Name: @PACKAGE_TARNAME@ Version: @PACKAGE_VERSION@ Release: 0 Group: Systems Management/Base License: Common Public License 1.0 Source0: http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2 Requires: perl Requires: sblim-wbemcli %Description SBLIM automated testsuite scripts %prep %setup -T -b 0 -n %{name}-%{version} export PATCH_GET=0 #%patch0 -p1 %build %configure make %install if [ `id -ur` != 0 ] then # paranoia check rm -rf $RPM_BUILD_ROOT fi make DESTDIR=$RPM_BUILD_ROOT install %clean if [ `id -ur` != 0 ] then # paranoia check rm -rf $RPM_BUILD_ROOT fi %post %postun %files %defattr(-,root,root) /usr/share /var/lib --- NEW FILE: NEWS --- --- NEW FILE: ChangeLog --- --- makefile DELETED --- --- NEW FILE: configure.ac --- # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. # PUT YOUR PACKAGE INFO HERE. e.g. #AC_INIT(<PACKAGE_NAME>, <PACKAGE_VERSION>, <PACKAGE_BUGREPORT>, <PACKAGE_TARBALL>) AC_INIT(SBLIM Testsuite, 1.2.1, hei...@de..., sblim-testsuite) # CHANGE THIS TO THE RELATIVE PATHNAME OF *ONE* OF THE SOURCE FILES AC_CONFIG_SRCDIR([run.sh]) # CHANGE THIS TO THE NAME OF THE RPM SPEC FILE AC_CONFIG_FILES([sblim-testsuite.spec]) # DECLARE ANY SPECIAL CUSTOM CONFIGURE COMMAND LINE OPTIONS HERE # ADD CHECKS FOR ANY SPECIAL REQUIRED PROGRAMS HERE. e.g. AC_CHECK_PROG(PERL,perl,perl,not found) AC_CHECK_PROG(WBEMCLI,wbemcli,wbemcli,not found) # ADD CHECKS FOR ANY SPECIAL REQUIRED HEADER FILES HERE # ADD CHECKS FOR ANY SPECIAL REQUIRED TYPEDEFS, STRUCTURES AND COMPILER OPTIONS HERE # ADD CHECKS FOR ANY SPECIAL REQUIRED LIBRARY FUNCTIONS HERE ### NO CHANGES SHOULD BE NECESSARY BELOW AC_CONFIG_FILES([Makefile]) AM_INIT_AUTOMAKE # Check for required programs. AC_PROG_LN_S # Check for required headers # Check for required CMPI header files (defined in acinclude.m4) # Check for required libraries (defined in acinclude.m4) # Check for CIM Server (defined in acinclude.m4) # Display configuration options echo "-------------------------------------------------------" echo "Configuration for $PACKAGE complete." echo "" echo "Perl program is" $PERL echo "WBEMCLI program is" $WBEMCLI echo "-------------------------------------------------------" # Generate configure scripts for the Makefile AC_OUTPUT echo "You may now run make" --- NEW FILE: AUTHORS --- |