Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
sblim-cmpi-syslog
sblim-cmpi-syslog.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sblim-cmpi-syslog.spec of Package sblim-cmpi-syslog
# # spec file for package sblim-cmpi-syslog # # Copyright (c) 2012 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/ # Name: sblim-cmpi-syslog Url: http://sblim.wiki.sourceforge.net/ BuildRequires: gcc-c++ BuildRequires: openssl-devel BuildRequires: pam-devel %if 0%{?rhel_version} == 0 && 0%{?centos_version} == 0 BuildRequires: openslp-devel %endif BuildRequires: cim-server BuildRequires: sblim-cmpi-base-devel BuildRequires: sblim-indication_helper-devel BuildRequires: sblim-sfcb BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: SBLIM Syslog Instrumentation License: EPL-1.0 Group: System/Management Version: 0.8.0 Release: 0 Requires: cim-schema Requires: cim-server Requires: sblim-cmpi-base >= 1.2.3 Requires: syslog-ng Source0: http://www-126-ibm.com/pub/sblim/sblim-cmpi-syslog/%{name}-%{version}.tar.bz2 Patch0: sblim-cmpi-syslog-0.7.9_testsuite_random_return.patch Patch1: sblim-cmpi-syslog-shebang.patch #!BuildIgnore: tog-pegasus # PATCH-FIX-UPSTREAM sblim-cmpi-syslog-0.7.11-missing-fclose.patch [ bnc#530336 upstream#2843648 ] mhrusecky@suse.cz -- Fixed missing fclose Patch3: sblim-cmpi-syslog-0.7.11-missing-fclose.patch Requires(pre): /usr/bin/loadmof.sh, /usr/bin/rmmof.sh Patch4: sblim-cmpi-syslog-fix-buffer-overflow.patch %description - Syslog Configuration Instrumentation This instrumentation allows management of syslog configuration file via CIM. - Syslog Service Instrumentation This instrumentation allows to manage the syslog service via CIM. - Syslog Logfile Instrumentation This instrumentation allows viewing of syslog logfiles via CIM. Authors: -------- SBLIM Project %prep %setup %patch0 %patch1 -b .sblim-cmpi-syslog-shebang.patch %patch3 %patch4 -p1 %build %configure --with-pic --disable-static %{__make} %install %if 0%{?suse_version} %makeinstall docdir=%{_docdir}/%{name} %else make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-%{version} %endif for i in */README AUTHORS ChangeLog NEWS ; do %if 0%{?suse_version} %{__install} -m 0644 $i %{buildroot}%{_docdir}/%{name}/README.${i%%/README} ; %else %{__install} -m 0644 $i %{buildroot}%{_docdir}/%{name}-%{version}/README.${i%%/README} ; %endif done %{__install} -Dd -m 0755 %{buildroot}/var/log/ touch %{buildroot}/var/log/testlog rm -rf %{buildroot}%{_datadir}/sblim-testsuite rm -f %{buildroot}%{_libdir}/cmpi/*.la rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.so %clean %{__rm} -rf %{buildroot} %post /sbin/ldconfig # compile MOF for i in Syslog_Configuration Syslog_Log Syslog_Service; do %{_datadir}/%{name}/provider-register.sh -t sfcb \ -r %{_datadir}/%{name}/$i.registration \ -m %{_datadir}/%{name}/$i.mof done %preun if [ "$1" = 0 ]; then for i in Syslog_Configuration Syslog_Log Syslog_Service; do %{_datadir}/%{name}/provider-register.sh -t sfcb -d \ -r %{_datadir}/%{name}/$i.registration \ -m %{_datadir}/%{name}/$i.mof done fi %postun -p /sbin/ldconfig %files %defattr(-,root,root) %ghost /var/log/testlog %if 0%{?suse_version} %doc %{_docdir}/%{name} %else %doc %{_docdir}/%{name}-%{version} %endif %{_bindir}/syslog-service.sh %{_libdir}/cmpi/libSyslog_Configuration.so %{_libdir}/cmpi/libSyslog_LogRecord.so %{_libdir}/cmpi/libSyslog_MessageLog.so %{_libdir}/cmpi/libSyslog_RecordInLog.so %{_libdir}/cmpi/libSyslog_Service.so %{_libdir}/cmpi/libSyslog_ServiceProcess.so %{_libdir}/cmpi/libSyslog_Setting.so %{_libdir}/cmpi/libSyslog_SettingContext.so %{_libdir}/libSyslog_ConfUtils.so.0 %{_libdir}/libSyslog_ConfUtils.so.0.0.0 %{_libdir}/libSyslog_LogUtils.so.0 %{_libdir}/libSyslog_LogUtils.so.0.0.0 %{_libdir}/libSyslog_ServiceUtils.so.0 %{_libdir}/libSyslog_ServiceUtils.so.0.0.0 %{_libdir}/libsyslogconfutil.so.0 %{_libdir}/libsyslogconfutil.so.0.0.0 %{_libdir}/libsysloglogutil.so.0 %{_libdir}/libsysloglogutil.so.0.0.0 %{_libdir}/libsyslogserviceutil.so.0 %{_libdir}/libsyslogserviceutil.so.0.0.0 %{_libdir}/libsyslogsettingparse.so.0 %{_libdir}/libsyslogsettingparse.so.0.0.0 %{_libdir}/libsyslogtimeparse.so.0 %{_libdir}/libsyslogtimeparse.so.0.0.0 %dir %{_datadir}/sblim-cmpi-syslog/ %{_datadir}/sblim-cmpi-syslog/Syslog_Configuration.mof %{_datadir}/sblim-cmpi-syslog/Syslog_Configuration.registration %{_datadir}/sblim-cmpi-syslog/Syslog_Log.mof %{_datadir}/sblim-cmpi-syslog/Syslog_Log.registration %{_datadir}/sblim-cmpi-syslog/Syslog_Service.mof %{_datadir}/sblim-cmpi-syslog/Syslog_Service.registration %{_datadir}/sblim-cmpi-syslog/provider-register.sh %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