File sblim-cmpi-network.spec of Package sblim-cmpi-network
#
# spec file for package sblim-cmpi-network (Version 1.3.8)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: sblim-cmpi-network
BuildRequires: gcc-c++ openslp-devel openssl-devel pam-devel sblim-cmpi-base-devel sblim-indication_helper-devel sblim-sfcb sblim-testsuite
Version: 1.3.8
Release: 53
Group: System/Management
License: IBM Public License
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: sblim-cmpi-base, sblim-sfcb
PreReq: /usr/bin/loadmof.sh, /usr/bin/rmmof.sh
Url: http://sblim.wiki.sourceforge.net/
Source: http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
Summary: SBLIM Network Instrumentation
%description
Standards Based Linux Instrumentation Network Providers. The Network
Instrumentation allows you to get information about the network
configuration of a system via CIMOM technology/infrastructure.
Authors:
--------
SBLIM Project
%package devel
License: IBM Public License
Summary: SBLIM Network Provider Development Package
Group: System/Management
Requires: %{name} = %{version}
%description devel
SBLIM Network Instrumentation Header Development Files
Authors:
--------
SBLIM Project
%prep
%setup
%build
%configure --disable-static
%{__make}
%install
%makeinstall docdir=%{_docdir}/%{name}
rm %buildroot%_libdir/cmpi/*.la
rm %buildroot%_libdir/*.la
%clean
%{__rm} -rf %{buildroot}
%post
/sbin/ldconfig
# compile MOF
/usr/share/%{name}/provider-register.sh -t sfcb \
-r /usr/share/%{name}/Linux_Network.registration \
-m /usr/share/%{name}/Linux_Network.mof
%preun
if [ "$1" = "0" ]; then
/usr/share/%{name}/provider-register.sh -t sfcb -d \
-r /usr/share/%{name}/Linux_Network.registration \
-m /usr/share/%{name}/Linux_Network.mof
fi
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/cmpi/*.so*
%{_libdir}/*.so.*
%doc %{_docdir}/%{name}/
%{_datadir}/%{name}
# XXX: split -test and -devel?
%{_datadir}/sblim-testsuite/*
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/sblim/*
%changelog
* Wed Aug 13 2008 bwhiteley@suse.de
- Changed to use provider-register.sh with SFCB.
- Added a -devel package.
* Thu Nov 01 2007 mmarek@suse.cz
- updated to version 1.3.8
fixed upstream bugs:
* 1597648 Fixed data gathering that caused seg faults
* 1601713 Fixed unresolved symbols in shared lib
- removed static libs
* Wed Mar 15 2006 mrueckert@suse.de
- update to version 1.3.7 (#142308)
(fixes the following upstream bugs)
o Bugs 1199129, 1203849: Updates for warning-free compilation
with CMPI headers >= 1.0.0.
o Bugs 1353262: Better support for Fedora/RH RPM environment.
o Bugs 1285011: 1285324: Fixed portability issues.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Nov 14 2005 mrueckert@suse.de
- Update to version 1.3.6
* Thu Nov 11 2004 ro@suse.de
- fixed file list
* Wed May 12 2004 nashif@suse.de
- Do not De-register when updating package
* Mon May 10 2004 nashif@suse.de
- Dereigster providers when uninstalling (#39667)
* Tue May 04 2004 nashif@suse.de
- Removed binaries from tar archive (fixes #39844)
* Thu Apr 29 2004 nashif@suse.de
- Update to version 1.2.5
* Wed Apr 14 2004 nashif@suse.de
- Added PreReq for loadmof.sh
* Tue Apr 06 2004 nashif@suse.de
- Initial release