Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
openlmi-bmc
openlmi-bmc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openlmi-bmc.spec of Package openlmi-bmc
# # spec file for package openlmi-bmc # # Copyright (c) 2015 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/ # %global logfile %{_localstatedir}/log/openlmi-install.log %global omr %{_bindir}/openlmi-mof-register Name: openlmi-bmc Version: 0.5.4 Release: 0 Summary: CMPI provider for BMC management License: LGPL-2.1+ Group: Applications/System Url: https://github.com/praveen-pk/lmi-bmc Source: https://github.com/praveen-pk/lmi-bmc/archive/%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: konkretcmpi BuildRequires: konkretcmpi-devel BuildRequires: openlmi-providers-devel >= 0.4.1 BuildRequires: sblim-cmpi-devel Requires: OpenIPMI Requires: cim-server Requires: dmidecode Requires: ipmitool Requires: konkretcmpi Requires: openlmi-providers >= 0.4.1 ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64 %description CMPI provider for managing publishing and managing the configuraiton of the BMC. %prep -n %{version}.tar.gz %setup -q -n lmi-bmc-%{version} %build %cmake make %{?_smp_mflags} %install %cmake_install rm -rf %{buildroot}%{_datadir}/doc/* %pre # If upgrading, deregister old version if [ "$1" -gt 1 ]; then # __MethodParameters classes %{omr} -v %{version} unregister \ %{_datadir}/openlmi-providers/LMI_BMC.mof \ %{_datadir}/openlmi-providers/LMI_BMC.reg || : fi >> %{logfile} 2>&1 %post # Register Schema and Provider if [ "$1" -ge 1 ]; then %{omr} -v %{version} register \ %{_datadir}/openlmi-providers/LMI_BMC.mof \ %{_datadir}/openlmi-providers/LMI_BMC.reg || : fi >> %{logfile} 2>&1 %preun # Deregister only if not upgrading if [ "$1" -eq 0 ]; then # __MethodParameters classes %{omr} -v %{version} unregister \ %{_datadir}/openlmi-providers/LMI_BMC.mof \ %{_datadir}/openlmi-providers/LMI_BMC.reg || : fi >> %{logfile} 2>&1 %files %defattr(-,root,root) %{_libdir}/cmpi/* %{_datarootdir}/openlmi-providers/* %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