Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
sblim-cmpi-sysfs
sblim-cmpi-sysfs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sblim-cmpi-sysfs.spec of Package sblim-cmpi-sysfs
# # spec file for package sblim-cmpi-sysfs # # 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/ # Name: sblim-cmpi-sysfs BuildRequires: gcc-c++ BuildRequires: openssl-devel BuildRequires: pam-devel BuildRequires: sblim-cmpi-base-devel BuildRequires: sblim-indication_helper-devel BuildRequires: sblim-sfcb BuildRequires: sblim-testsuite %if 0%{?rhel_version} == 0 && 0%{?centos_version} == 0 BuildRequires: openslp-devel %endif Url: http://sblim.wiki.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: SBLIM Linux Sysfs Instrumentation for CMPI License: EPL-1.0 Group: System/Management Version: 1.2.0 Release: 0 Requires: cim-schema Requires: cim-server Requires: sblim-cmpi-base >= 1.2.3 Source0: http://prdownloads.sourceforge.net/sblim/sblim-cmpi-sysfs-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM sblim-cmpi-sysfs-enumerate-symlinks.patch bnc927344 sf#1648 pwieczorkiewicz@suse.de -- Enumerate also symlink Patch0: sblim-cmpi-sysfs-enumerate-symlinks.patch #!BuildIgnore: tog-pegasus %description This package provides SBLIM instrumentation to expose the kernel devices accessible via sysfs, which is a virtual filesystem in Linux kernel versions 2.5+ that provides a tree of system devices. The sysfs filesystem is mounted under /sys and the various subdirectories of /sys represent the different classes of devices currently registered on the machine. Authors: -------- SBLIM Project %prep %setup -q -n %{name}-%{version} %patch0 -p1 %build %configure --disable-static %{__make} %install %if 0%{?suse_version} %makeinstall docdir=%{_docdir}/%{name} %else make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-%{version} %endif rm %buildroot%_libdir/cmpi/*.la rm %buildroot%_libdir/*.la %clean %{__rm} -rf $RPM_BUILD_ROOT %define PEGASUS_MOF CIM_UnixLocalFileSystem %post # compile MOF /sbin/ldconfig # Register Schema and Provider - this is higly provider specific # tog-pegasus needs some schemes registered first if [ -x /usr/bin/peg-loadmof.sh ]; then peg-loadmof.sh -n root/cimv2 /usr/share/mof/cim-current/*/%{PEGASUS_MOF}.mof rctog-pegasus try-restart fi # and then following script can handle registration for various providers d=%{_datadir}/%{name} $d/provider-register.sh -r $d/*.registration -m $d/*.mof %preun if [ "$1" = "0" ]; then d=%{_datadir}/%{name} $d/provider-register.sh -d -r $d/*.registration -m $d/*.mof fi %postun -p /sbin/ldconfig %files %defattr(-,root,root) # skip-check-libtool-deps %{_libdir}/cmpi/*.so %{_libdir}/*.so %{_datadir}/sblim-testsuite %{_datadir}/%{name} %if 0%{?suse_version} %doc %{_docdir}/%{name} %else %doc %{_docdir}/%{name}-%{version} %endif %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