forked from pool/cmpi-provider-register
This is a merge from SLES. - Adapt sfcb_init_script to SLE12SP1 (bnc#1041885) OBS-URL: https://build.opensuse.org/request/show/509182 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:wbem/cmpi-provider-register?expand=0&rev=21
50 lines
1.4 KiB
RPMSpec
50 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package cmpi-provider-register
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX 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/
|
|
#
|
|
|
|
|
|
Name: cmpi-provider-register
|
|
Version: 1.0.1
|
|
Release: 0
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Summary: CIMOM neutral provider registration utility
|
|
License: BSD-3-Clause
|
|
Group: System/Management
|
|
Requires: cim-schema
|
|
Requires: python-pywbem
|
|
BuildRequires: cim-schema
|
|
BuildRequires: python-pywbem
|
|
BuildArch: noarch
|
|
Source0: %{name}.py
|
|
|
|
%description
|
|
A utility allowing CMPI provider packages to register with whatever
|
|
CIMOM(s) happens to be present on the system.
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
%{__mkdir} -p $RPM_BUILD_ROOT/usr/sbin
|
|
install -m 755 %{S:0} $RPM_BUILD_ROOT/usr/sbin/%{name}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/usr/sbin/*
|
|
|
|
%changelog
|