Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:npaxton
omc-base
openwbem-base-providers.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openwbem-base-providers.spec of Package omc-base
# # spec file for package openwbem-base-providers (Version 1.0.1) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild # usedforbuild aaa_base acl attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison blocxx blocxx-devel bzip2 cim-schema coreutils cpio cpp cracklib cvs cyrus-sasl db dbus-1 dbus-1-glib dejagnu diffutils docbook-xsl-stylesheets docbook_4 doxygen e2fsprogs expat expect file filesystem fillup findutils flex fop gawk gcc gcc-c++ gdbm gdbm-devel gettext gettext-devel glib2 glibc glibc-devel glibc-locale gnome-filesystem gpm grep groff gzip hal hwinfo hwinfo-devel info insserv java-1_4_2-sun jpackage-utils klogd less libacl libapr-util1 libapr1 libattr libcom_err libgcc libgcrypt libgpg-error libltdl libnscd libpng libstdc++ libstdc++-devel libtool libusb libvolume_id libxcrypt libxml2 libxslt libzio limal limal-devel limal-devtools limal-runlevel limal-runlevel-devel m4 make man mktemp module-init-tools ncurses ncurses-devel neon net-tools netcfg openldap2-client openslp openslp-devel openssl openssl-devel openwbem openwbem-devel pam pam-devel pam-modules patch pcre pcre-devel perl perl-Config-IniFiles perl-XML-Parser perl-XML-Writer permissions pkgconfig popt procinfo procps psmisc pwdutils rcs readline recode rpm sed strace subversion swig sysfsutils sysvinit tar tcl tcpd texinfo timezone udev unzip util-linux vim wireless-tools zlib zlib-devel Name: openwbem-base-providers %if 0%{?suse_version} >= 1000 BuildRequires: gcc-c++ hwinfo-devel limal-runlevel-devel openslp-devel openssl-devel openwbem-devel pam-devel pkgconfig %else BuildRequires: gcc-c++ hwinfo-devel openslp-devel openssl-devel openwbem-devel pam-devel pkgconfig %endif %define tarname omc-base URL: https://forge.provo.novell.com/modules/xfmod/project/?las %define omcprefix /usr %define omclocalstatedir /var/lib/openwbem %define omcsysconfdir /etc/openwbem # Increment the version every time the source code changes. Version: 1.0.1 Release: 1 Group: System/Management %if 0%{?suse_version} Distribution: SUSE Linux %endif %if 0%{?fedora_version} Distribution: Fedora Linux %endif Summary: Open-source implementation of CIM Providers for base components. PreReq: /usr/bin/loadmof.sh, coreutils License: Other License(s), see package, Commercial #URL: https://forge.provo.novell.com/modules/xfmod/project/?las # This is necessary to build the RPM as a non-root user. BuildRoot: %{_tmppath}/%{name}-%{version}-build # "yes" is the default, but we put it here explicitly to avoid someone # setting it to "no" AutoReqProv: yes Requires: openwbem Source0: %{tarname}-%{version}.tar.gz Source1: %{tarname}-mof.tar.bz2 %debug_package %package devel Group : Programming/Library Summary : Headers files for %{name} Requires : openwbem, %{name} %description Linux providers for instrumentation of base operating system components such as computer, system, operating system, and processes. These are used by the OpenWBEM (Web-Based Enterprise Management) Common Information Model (CIM) object broker. Authors: -------- Alex Danoyan Bart Wise Bart Whiteley ChaoFeng Kao Jon Carey Lee Passey Ramandeep Kaur %description devel Linux providers for instrumentation of base operating system components such as computer, system, operating system, and processes. These are used by the OpenWBEM (Web-Based Enterprise Management) Common Information Model (CIM) object broker. Authors: -------- Alex Danoyan Bart Wise Bart Whiteley ChaoFeng Kao Jon Carey Lee Passey Ramandeep Kaur %prep # Untar the sources. %setup -n %{tarname}-%{version} %build # If the LD_RUN_PATH environment variable is set at link time, # it's value is embedded in the resulting binary. At run time, # The binary will look here first for shared libraries. This way # we link against the libraries we want at run-time even if libs # by the same name are in /usr/lib or some other path in /etc/ld.so.conf autoreconf --force --install CFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ CXXFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ ./configure --prefix=%{omcprefix} \ --libdir=%_libdir make %{?jobs:-j%jobs} %install %{__rm} -rf $RPM_BUILD_ROOT %{__mkdir} -p $RPM_BUILD_ROOT # Tell 'make install' to install into the BuildRoot make DESTDIR=$RPM_BUILD_ROOT install MOFDIR=$RPM_BUILD_ROOT/%{omcprefix}/share/mof/%{name} install -d $MOFDIR tar jxv -C $MOFDIR -f %{S:1} mv $MOFDIR/mof/* $MOFDIR/ rmdir $MOFDIR/mof %{__rm} -f $RPM_BUILD_ROOT%{omcprefix}/%_lib/openwbem/c++providers/*.{a,la} %clean %{__rm} -rf $RPM_BUILD_ROOT %post # Any RPM that installs a shared library into any directory # listed in /etc/ld.so.conf (or into /usr/lib if it hasn't been # fixed yet to install into the correct FHS compliant paths) # must run ldconfig in its post install script. %run_ldconfig # load MOF MOFDIR=%{omcprefix}/share/mof/%{name} loadmof.sh -n root/cimv2 \ $MOFDIR/base/omc-core.mof \ $MOFDIR/base/omc-base-providers.mof || /bin/true loadmof.sh -n omc/internal \ $MOFDIR/base/omc-provider-store.mof || /bin/true %preun # if -e operation, not -U #if [ "x$1" = "x0" ]; then #if [ -x /usr/bin/rmmof.sh ]; then # MOFDIR=%{omcprefix}/share/mof/%{name} # rmmof.sh -n root/cimv2 \ # $MOFDIR/base/omc-core.mof \ # $MOFDIR/base/omc-base-providers.mof # rmmof.sh -n omc/internal \ # $MOFDIR/base/omc-provider-store.mof #fi #fi %postun %run_ldconfig %files %defattr(-,root,root) %{omcprefix}/%_lib/openwbem/c++providers/*.so* %{omcprefix}/%_lib/lib*.so* %dir %{omcprefix}/share/mof/%{name} %{omcprefix}/share/mof/%{name}/* %files devel %defattr(-,root,root) %dir %{omcprefix}/include/omc %{omcprefix}/include/omc/* %{omcprefix}/%_lib/lib*.la %{omcprefix}/%_lib/lib*.a %changelog -n openwbem-base-providers * Fri May 12 2006 - bwhiteley@suse.de - Fixed association bug in RunningOS association. (#175468) * Mon May 08 2006 - bwhiteley@suse.de - Removed %%preun script which used to call rmmof.sh to delete schema (#172046) * Tue May 02 2006 - bwhiteley@suse.de - Fixed posix file provider to not throw NOT_SUPPORTED from enumInstance{Name}s (#171923) * Tue May 02 2006 - bwhiteley@suse.de - Removed verbose flag to calls to loadmof.sh (#171447) * Mon Apr 10 2006 - bwhiteley@suse.de - Fixed handling of a datatime property on OMC_OperatingSystem class (#164616) * Thu Apr 06 2006 - bwhiteley@suse.de - Fixed problem in syslog provider (#164178) - Fixed problem in running OS association (#164182) * Mon Apr 03 2006 - bwhiteley@suse.de - Added code to actually implement provider data store * Fri Mar 31 2006 - bwhiteley@suse.de - File provider doesn't throw on enum calls (#161910) - File system provider honors property list param (#161909) - Added internal data store API for providers. - Fixed schema on OMC_UnixProcess class (#162630) * Tue Mar 14 2006 - bwhiteley@suse.de - Fix concurrency problem in syslog-ng provider (#157985) * Wed Mar 08 2006 - bwhiteley@suse.de - Added support for RequestStateChange method (#156181) * Mon Mar 06 2006 - bwhiteley@suse.de - Name changes preparing to open source base and smash providers (#155618) * Thu Feb 23 2006 - bwhiteley@suse.de - Checking for good parameters (#152951) * Tue Feb 21 2006 - bwhiteley@suse.de - Put initd provider back in. it was accidentally disabled before (#152547) * Wed Feb 15 2006 - bwhiteley@suse.de - Compile with -fstack-protector (#65423) - Fix a warning revealed by above. * Mon Feb 13 2006 - bwhiteley@suse.de - fix uninstall ordering (#150535) * Fri Feb 10 2006 - bwhiteley@suse.de - fix for killall method on process provider (#149689) - change version to the one stated in fate. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 20 2006 - bwhiteley@suse.de - added blocxx{,-devel}, pcre{,-devel} to #neededforbuild so stuff that uses limal will actually work. * Wed Jan 18 2006 - bwhiteley@suse.de - re-enabled initd and syslog providers. We now have a depencency on limal-runlevel. * Thu Jan 12 2006 - bwhiteley@suse.de - moved MOF files * Tue Jan 10 2006 - bwhiteley@suse.de - name change to openwbem-base-providers * Tue Dec 20 2005 - bwhiteley@suse.de - Update to latest code, and get interim .spec from jw. * Wed Dec 07 2005 - jw@suse.de - Decision to opensource is pending. Let us be NoSource meanwhile. * Sat Dec 03 2005 - bwhiteley@suse.de - update to latest code. * Tue Nov 15 2005 - bwhiteley@suse.de - updated provider registration code to new OpenWBEM features. * Fri Oct 28 2005 - bwhiteley@suse.de - Fixed "extra qualification" errors for new g++. * Thu Oct 27 2005 - bwhiteley@suse.de - initial checkin
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