2008-01-09 04:28:16 +01:00
#
2011-09-15 11:58:41 +02:00
# spec file for package cim-schema (Version 2.27.0)
2008-01-09 04:28:16 +01:00
#
2009-06-02 12:35:46 +02:00
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
2008-01-09 04:28:16 +01:00
#
2008-09-04 23:29:49 +02:00
# 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.
2008-01-09 04:28:16 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
2008-01-09 21:54:15 +01:00
BuildRequires : unzip
2008-05-17 21:39:10 +02:00
Name : cim-schema
2008-01-09 21:54:15 +01:00
Url : http://www.dmtf.org/
2008-01-09 04:28:16 +01:00
Summary : Common Information Model (CIM) Schema
2011-09-15 11:58:41 +02:00
Version : 2.27.0
2009-06-17 19:18:37 +02:00
Release : 2
2008-01-09 04:28:16 +01:00
Group : System/Management
2011-09-15 11:58:41 +02:00
License : Reproducable (c) 1998-2010 DMTF
2008-01-09 04:28:16 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2011-09-15 11:58:41 +02:00
Source0 : http://www.dmtf.org/standards/cim/cim_schema_v2260/cim_schema_%{version} Final-MOFs.zip
2008-01-09 04:28:16 +01:00
Source1 : loadmof.sh
Source2 : rmmof.sh
2008-01-09 21:54:15 +01:00
BuildArch : noarch
2008-01-09 04:28:16 +01:00
%description
Common Information Model (CIM) is a model for describing overall
management information in a network or enterprise environment. CIM
consists of a specification and a schema. The specification defines the
details for integration with other management models. The schema
provides the actual model descriptions.
Authors:
--------
DTMF <http://www.dmtf.org/about/contact>
%prep
%setup -c -n %{name} -%{version}
%build
%install
MOFDIR=/usr/share/mof
CIMDIR=$MOFDIR/cimv%{version}
2008-01-09 21:54:15 +01:00
for i in `find . -name " * . m o f " `; do
perl -p -i -e 's/\r//g' $i
done
2008-01-09 04:28:16 +01:00
install -d $RPM_BUILD_ROOT /$CIMDIR
2008-09-04 23:29:49 +02:00
perl -p -i -e 's/\\/\//g' cim*.mof
2008-01-09 04:28:16 +01:00
echo " " >> qualifiers.mof
echo " / / O p t i o n a l Q u a l i f i e r s : " >> qualifiers.mof
echo " " >> qualifiers.mof
cat qualifiers_optional.mof >> qualifiers.mof
%__rm qualifiers_optional.mof
chmod -R go-wx .
chmod -R a+rX .
%__mv * $RPM_BUILD_ROOT /$CIMDIR/
ln -s cimv%{version} $RPM_BUILD_ROOT /$MOFDIR/cim-current
2008-09-04 23:29:49 +02:00
pushd $RPM_BUILD_ROOT /$CIMDIR/
ln -s cim*.mof CIM_Schema.mof
popd
2008-01-09 04:28:16 +01:00
install -d $RPM_BUILD_ROOT /usr/bin
install -m 755 %{S:1} $RPM_BUILD_ROOT /usr/bin/
install -m 755 %{S:2} $RPM_BUILD_ROOT /usr/bin/
perl -p -i -e 's~^#pragma include ("qualifiers_optional\.mof")~\/\/#pragma include ("qualifiers_optional\.mof")~g' $RPM_BUILD_ROOT /$MOFDIR/cim-current/CIM_Schema.mof
perl -p -i -e \
's~^#pragma include \("qualifiers_optional\.mof"\)~\/\/#pragma include ("qualifiers_optional\.mof")~g' \
$RPM_BUILD_ROOT /$MOFDIR/cim-current/CIM_Schema.mof
2008-09-04 23:29:49 +02:00
%clean
%__rm -rf $RPM_BUILD_ROOT
2008-01-09 04:28:16 +01:00
%files
%defattr (-, root, root)
%dir /usr/share/mof
%dir /usr/share/mof/cimv%{version}
/usr/share/mof/cimv%{version} /*
/usr/share/mof/cim-current
/usr/bin/loadmof.sh
/usr/bin/rmmof.sh
%changelog
2009-06-02 12:35:46 +02:00
* Tue May 26 2009 mhrusecky@suse.cz
- Upgraded to version 2.2.21.0
* 2.21.0 release notes can be found at
http://www.dmtf.org/standards/cim/cim_schema_v2210/releasenotes.html
* 2.20.1 release notes can be found at
http://www.dmtf.org/standards/cim/cim_schema_v2201/releasenotes.html
* Fri Oct 24 2008 bwhiteley@suse.de
2008-10-25 10:43:44 +02:00
- Upgraded to cimv2.19.1Experimental (bnc#438509)
2008-09-04 23:29:49 +02:00
* Wed Sep 03 2008 mmarek@suse.cz
- don't clean buildroot in %%install
2008-10-25 10:43:44 +02:00
* Wed Aug 06 2008 bwhiteley@suse.de
2008-09-04 23:29:49 +02:00
- Upgraded to cimv2.19.0Experimental
2009-06-02 12:35:46 +02:00
* Thu May 15 2008 bwhiteley@suse.de
2008-05-17 21:39:10 +02:00
- Upgraded to cimv2.18Experimental
* Thu Jan 17 2008 bwhiteley@suse.de
- Fixed order of includes so that it will import in pegasus.
2008-10-25 10:43:44 +02:00
* Tue Jan 08 2008 bwhiteley@suse.de
2008-01-09 21:54:15 +01:00
- Updated to cimv2.17Experimental (#341800)
2008-05-17 21:39:10 +02:00
* Wed Nov 28 2007 bwhiteley@suse.de
2008-01-09 21:54:15 +01:00
- Updated to cimv2.16Experimental (#341800)
Remove carriage returns from MOF files.
Fix broken comment blocks in 2.16 schema.
2008-05-17 21:39:10 +02:00
* Thu Mar 29 2007 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- Added unzip to BuildRequires
2009-06-02 12:35:46 +02:00
* Wed Mar 28 2007 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- Fixed inclusion of missing file (#258187)
2008-05-17 21:39:10 +02:00
* Tue Mar 13 2007 bart@novell.com
2008-01-09 04:28:16 +01:00
- Added some classes from 2.15 preliminary needed for Xen
providers (#228365)
2008-05-17 21:39:10 +02:00
* Fri Jan 19 2007 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- update to schema version 2.14 (#228365)
2008-05-17 21:39:10 +02:00
* Mon Jan 08 2007 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- Combine all qualifiers back into one file (#232667)
2009-06-02 12:35:46 +02:00
* Wed Dec 20 2006 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- added loadmof.sh script. (#228349)
2008-05-17 21:39:10 +02:00
* Wed Dec 13 2006 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- Updated to schema version cimv2.13.1 (#228365)
2009-06-02 12:35:46 +02:00
* Sat Oct 07 2006 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- Updated to schema version cimv2.13
2009-06-02 12:35:46 +02:00
* Tue May 09 2006 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- Updated to schema version cimv2.12, required for SMASH 1.0
compliance (#173777)
2008-05-17 21:39:10 +02:00
* Fri May 05 2006 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- removed non-ascii char from CIM_DNSSettingData.mof (was breaking
some XML parsers) (#172939)
2008-05-17 21:39:10 +02:00
* Fri Feb 10 2006 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- fixed execute bit on directories (#149992)
2008-05-17 21:39:10 +02:00
* Wed Jan 25 2006 mls@suse.de
2008-01-09 04:28:16 +01:00
- converted neededforbuild to BuildRequires
2008-05-17 21:39:10 +02:00
* Tue Jan 17 2006 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- Added a symlink cim-current so other packages don't have to hard-
code cim schema versions.
2008-05-17 21:39:10 +02:00
* Tue Jan 10 2006 bwhiteley@suse.de
2008-01-09 04:28:16 +01:00
- Update to v2.11 Experimental.
- Moved MOFs under /usr/share/mof
2008-05-17 21:39:10 +02:00
* Thu Jan 13 2005 nashif@suse.de
2008-01-09 04:28:16 +01:00
- Update to v2.9 Final
2008-05-17 21:39:10 +02:00
* Tue Oct 12 2004 nashif@suse.de
2008-01-09 04:28:16 +01:00
- Update with cim v2.9
2009-06-02 12:35:46 +02:00
* Wed Feb 18 2004 nashif@suse.de
2008-01-09 04:28:16 +01:00
- Fixed directory permissions
- build as normal user
2008-05-17 21:39:10 +02:00
* Mon Feb 16 2004 nashif@suse.de
2008-01-09 04:28:16 +01:00
- Updated to 2.8 final
2008-05-17 21:39:10 +02:00
* Thu Nov 27 2003 nashif@suse.de
2008-01-09 04:28:16 +01:00
- Initial Release