Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
sblim-cmpi-xenvm-builder
sblim-cmpi-xenvm-builder.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sblim-cmpi-xenvm-builder.spec of Package sblim-cmpi-xenvm-builder
# # spec file for package sblim-cmpi-xenvm-builder (Version 1.0.3) # # Copyright (c) 2008 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: sblim-cmpi-xenvm-builder BuildRequires: gcc pkgconfig sblim-cmpi-base sblim-cmpi-devel sblim-cmpiutil sblim-cmpiutil-devel sblim-sfcb sqlite-devel %define tarname sblim-cmpi-xenvm-builder Url: http://www.omc-project.org # Increment the version every time the source code changes. Version: 1.0.3 Release: 1 Group: System/Management Summary: Linux CIM providers for CMPI instrumentation of virtual machine creation PreReq: coreutils License: BSD 3-Clause # This is necessary to build the RPM as a non-root user. BuildRoot: %{_tmppath}/%{name}-%{version}-build # "yes" is the default, but we put it here explicitly to avoid someone # setting it to "no" AutoReqProv: yes Requires: sblim-sfcb cim-schema sblim-cmpiutil sblim-cmpi-base xen-tools Source0: %{tarname}-%{version}.tar.gz #Source1: %{tarname}-mof.tar.bz2 %description Linux CIM providers for CMPI instrumentation of XEN virtual machine creation. Authors: -------- Jon Carey %prep # Untar the sources. %setup -n %{tarname}-%{version} %build # If the LD_RUN_PATH environment variable is set at link time, # it's value is embedded in the resulting binary. At run time, # The binary will look here first for shared libraries. This way # we link against the libraries we want at run-time even if libs # by the same name are in /usr/lib or some other path in /etc/ld.so.conf autoreconf --force --install CFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ CXXFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ %configure %{__make} %install %{__rm} -rf $RPM_BUILD_ROOT %{__mkdir} -p $RPM_BUILD_ROOT # Tell 'make install' to install into the BuildRoot make DESTDIR=$RPM_BUILD_ROOT install %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/cmpi/*.{a,la} %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libcmpixen*.{a,la} %clean %{__rm} -rf $RPM_BUILD_ROOT %pre # Conditional definition of schema and registration files %define SCHEMA %{_datadir}/mof/%{name}/XEN_VMBuilder.mof %define REGISTRATION %{_datadir}/mof/%{name}/XEN_VMBuilder.reg # If upgrading/not new install/not removing, deregister old version if [ $1 -gt 1 ] then # unregister the mofs and registrations, rebuild repository, and restart sfcb sfcbunstage -n root/cimv2 -r XEN_VMBuilder.reg XEN_VMBuilder.mof sfcbrepos -f /etc/init.d/sfcb condrestart fi %post /sbin/ldconfig # register the mofs and registrations, rebuild repository, and restart sfcb sfcbstage -n root/cimv2 -r %{REGISTRATION} %{SCHEMA} sfcbrepos -f /etc/init.d/sfcb condrestart %preun # If removing (not upgrading) then de-register, before the files are gone if [ "x$1" = "x0" ]; then # unregister the mofs and registrations, rebuild repository, and restart sfcb sfcbunstage -n root/cimv2 -r XEN_VMBuilder.reg XEN_VMBuilder.mof sfcbrepos -f /etc/init.d/sfcb condrestart fi %files %defattr(-,root,root) /%{_libdir}/cmpi/*.so* /%{_libdir}/libcmpixen*.so* %dir %{_datadir}/mof/%{name} %{_datadir}/mof/%{name}/* %changelog * Fri Nov 07 2008 jcarey@novell.com - Fixed Bug where an invalid AutomaticRecoveryAction property was being return when the property was not specified. * Mon Nov 03 2008 jcarey@novell.com - Changed to log the vm-install command line to syslog if the VM_BUILDER_DEBUG environment variable is set. * Sun Oct 19 2008 jcarey@novell.com - Changed so debug trace messages would be printed out if the VM_BUILDER_DEBUG environment variable is set. Even if the package had not been built with debug enabled. * Mon Sep 08 2008 jcarey@novell.com - Added support for on_reboot, on_poweroff and on_crash * Tue Aug 26 2008 npaxton@novell.com - Include the provider .reg file in tarball * Mon Aug 25 2008 npaxton@novell.com - Added requirement on sblim-sfcb (was previously any cimom) - Changed registration to use sblim-specific tools, as provider-register.sh, and other previous attempts to abstract, have introduced problems. * Fri Aug 22 2008 jcarey@novell.com - Added VNC password to install * Thu Jul 10 2008 npaxton@novell.com - Added BuildRequires on sblim-sfcb for specific cimom, sblim-cmpi-base for /usr/sbin/provider-register.sh * Mon Jul 07 2008 jcarey@novell.com - Initial Revision
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