Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
sblim-cmpi-power_supply_profile
sblim-cmpi-power_supply_profile.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sblim-cmpi-power_supply_profile.spec of Package sblim-cmpi-power_supply_profile
# # spec file for package sblim-cmpi-power_supply_profile (Version 1.8.9) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: sblim-cmpi-power_supply_profile BuildRequires: autoconf BuildRequires: automake BuildRequires: konkretcmpi BuildRequires: libtool BuildRequires: sblim-cmpi-devel BuildRequires: sblim-sfcb BuildRequires: sblim-cmpi-base BuildRequires: sblim-cmpiutil-devel Url: http://sblim.sourceforge.net/ Summary: CMPI CIM provider for power supply profile Version: 1.0.0 Release: 0 License: EPL-1.0 Group: System/Management Source: %{name}-%{version}.tar.gz #PreReq: /usr/sbin/provider-register.sh BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: sblim-sfcb sblim-cmpi-base %description CMPI CIM provider for power supply profile Authors: ________ Michael E. Brasher %prep %setup -n %{name}-%{version} %build autoreconf --force --install CFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ CXXFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ %configure %{__make} %install %makeinstall %{__rm} -f $RPM_BUILD_ROOT/%_libdir/cmpi/*.{a,la} %{__rm} -f $RPM_BUILD_ROOT/%_libdir/liblinux_*.{a,la} %clean # If upgrading/not new install/not removing, deregister old version if [ $1 -gt 1 ] then # /usr/sbin/provider-register.sh -d -r %{_datadir}/mof/%{name}/*.registration -m %{_datadir}/mof/%{name}/*.mof sfcbunstage -n root/cimv2 -r linux-power-supply-profile.reg linux-power-supply-profile.mof sfcbunstage -n root/cimv2 linux-power-supply-profile-interop.mof sfcbunstage -n root/interop linux-power-supply-profile-interop.mof sfcbrepos -f /etc/init.d/sfcb condrestart fi %post /sbin/ldconfig #/usr/sbin/provider-register.sh -r %{_datadir}/mof/%{name}/*.registration -m %{_datadir}/mof/%{name}/*.mof sfcbstage -n root/cimv2 -r %{_datadir}/mof/%{name}/linux-power-supply-profile.reg %{_datadir}/mof/%{name}/linux-power-supply-profile.mof sfcbstage -n root/cimv2 %{_datadir}/mof/%{name}/linux-power-supply-profile-interop.mof sfcbstage -n root/interop %{_datadir}/mof/%{name}/linux-power-supply-profile-interop.mof 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 # /usr/sbin/provider-register.sh -d -r %{_datadir}/mof/%{name}/*.registration -m %{_datadir}/mof/%{name}/*.mof sfcbunstage -n root/cimv2 -r linux-power-supply-profile.reg linux-power-supply-profile.mof sfcbunstage -n root/cimv2 linux-power-supply-profile-interop.mof sfcbunstage -n root/interop linux-power-supply-profile-interop.mof sfcbrepos -f /etc/init.d/sfcb condrestart fi %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/cmpi/lib*.so* %dir %{_datadir}/mof/%{name} %{_datadir}/mof/%{name}/* %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