From 0f89e11990ecdf1dd36f2d0beabeb5d23c7c1a8f0125caee82d5271fd2303706 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 9 Jan 2008 03:28:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cim-schema?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + cim-schema.changes | 101 +++++++++++++++++++++++++++ cim-schema.spec | 128 +++++++++++++++++++++++++++++++++++ cimv214Experimental-MOFs.zip | 3 + cimv215-unreleased.tar.bz2 | 3 + loadmof.sh | 13 ++++ ready | 0 rmmof.sh | 13 ++++ 9 files changed, 285 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 cim-schema.changes create mode 100644 cim-schema.spec create mode 100644 cimv214Experimental-MOFs.zip create mode 100644 cimv215-unreleased.tar.bz2 create mode 100644 loadmof.sh create mode 100644 ready create mode 100644 rmmof.sh diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/cim-schema.changes b/cim-schema.changes new file mode 100644 index 0000000..24c1d46 --- /dev/null +++ b/cim-schema.changes @@ -0,0 +1,101 @@ +------------------------------------------------------------------- +Thu Mar 29 17:00:12 CEST 2007 - bwhiteley@suse.de + +- Added unzip to BuildRequires + +------------------------------------------------------------------- +Wed Mar 28 01:07:22 CEST 2007 - bwhiteley@suse.de + +- Fixed inclusion of missing file (#258187) + +------------------------------------------------------------------- +Tue Mar 13 13:46:54 MDT 2007 - bart@novell.com + +- Added some classes from 2.15 preliminary needed for Xen + providers (#228365) + +------------------------------------------------------------------- +Fri Jan 19 18:01:14 CET 2007 - bwhiteley@suse.de + +- update to schema version 2.14 (#228365) + +------------------------------------------------------------------- +Mon Jan 8 21:30:40 CET 2007 - bwhiteley@suse.de + +- Combine all qualifiers back into one file (#232667) + +------------------------------------------------------------------- +Wed Dec 20 00:18:31 CET 2006 - bwhiteley@suse.de + +- added loadmof.sh script. (#228349) + +------------------------------------------------------------------- +Wed Dec 13 20:16:42 CET 2006 - bwhiteley@suse.de + +- Updated to schema version cimv2.13.1 (#228365) + +------------------------------------------------------------------- +Sat Oct 7 05:31:13 CEST 2006 - bwhiteley@suse.de + +- Updated to schema version cimv2.13 + +------------------------------------------------------------------- +Tue May 9 01:08:09 CEST 2006 - bwhiteley@suse.de + +- Updated to schema version cimv2.12, required for SMASH 1.0 + compliance (#173777) + +------------------------------------------------------------------- +Fri May 5 20:06:55 CEST 2006 - bwhiteley@suse.de + +- removed non-ascii char from CIM_DNSSettingData.mof (was breaking + some XML parsers) (#172939) + +------------------------------------------------------------------- +Fri Feb 10 17:44:33 CET 2006 - bwhiteley@suse.de + +- fixed execute bit on directories (#149992) + +------------------------------------------------------------------- +Wed Jan 25 21:46:00 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Jan 17 21:38:52 CET 2006 - bwhiteley@suse.de + +- Added a symlink cim-current so other packages don't have to hard- + code cim schema versions. + +------------------------------------------------------------------- +Tue Jan 10 21:11:46 CET 2006 - bwhiteley@suse.de + +- Update to v2.11 Experimental. +- Moved MOFs under /usr/share/mof + +------------------------------------------------------------------- +Thu Jan 13 16:37:16 CET 2005 - nashif@suse.de + +- Update to v2.9 Final + +------------------------------------------------------------------- +Tue Oct 12 17:34:33 CEST 2004 - nashif@suse.de + +- Update with cim v2.9 + +------------------------------------------------------------------- +Wed Feb 18 00:04:01 CET 2004 - nashif@suse.de + +- Fixed directory permissions +- build as normal user + +------------------------------------------------------------------- +Mon Feb 16 21:36:41 CET 2004 - nashif@suse.de + +- Updated to 2.8 final + +------------------------------------------------------------------- +Thu Nov 27 20:38:47 CET 2003 - nashif@suse.de + +- Initial Release + diff --git a/cim-schema.spec b/cim-schema.spec new file mode 100644 index 0000000..ec517fb --- /dev/null +++ b/cim-schema.spec @@ -0,0 +1,128 @@ +# +# spec file for package cim-schema (Version 2.14) +# +# Copyright (c) 2007 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 + +Name: cim-schema +URL: http://www.dmtf.org/ +Summary: Common Information Model (CIM) Schema +Version: 2.14 +Release: 1 +Group: System/Management +License: Any permissive +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: unzip +Source0: http://www.dmtf.org/standards/cim/cim_schema_v214/cimv214Experimental-MOFs.zip +Source1: loadmof.sh +Source2: rmmof.sh +Source3: cimv215-unreleased.tar.bz2 +BuildArch: noarch + +%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 + +%prep +%setup -c -n %{name}-%{version} + +%build + +%install +MOFDIR=/usr/share/mof +CIMDIR=$MOFDIR/cimv%{version} + +%__rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/$CIMDIR +perl -p -i -e 's/\\/\//g' cimv214.mof +echo "" >> qualifiers.mof +echo "// Optional Qualifiers: " >> 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 +ln -s cimv214.mof $RPM_BUILD_ROOT/$MOFDIR/cim-current/CIM_Schema.mof +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 +mkdir $RPM_BUILD_ROOT/$MOFDIR/cim-current/cimv2.15-unreleased +tar jxv -C $RPM_BUILD_ROOT/$MOFDIR/cim-current/cimv2.15-unreleased -f %{S:3} + +%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 +* Thu Mar 29 2007 - bwhiteley@suse.de +- Added unzip to BuildRequires +* Wed Mar 28 2007 - bwhiteley@suse.de +- Fixed inclusion of missing file (#258187) +* Tue Mar 13 2007 - bart@novell.com +- Added some classes from 2.15 preliminary needed for Xen + providers (#228365) +* Fri Jan 19 2007 - bwhiteley@suse.de +- update to schema version 2.14 (#228365) +* Mon Jan 08 2007 - bwhiteley@suse.de +- Combine all qualifiers back into one file (#232667) +* Wed Dec 20 2006 - bwhiteley@suse.de +- added loadmof.sh script. (#228349) +* Wed Dec 13 2006 - bwhiteley@suse.de +- Updated to schema version cimv2.13.1 (#228365) +* Sat Oct 07 2006 - bwhiteley@suse.de +- Updated to schema version cimv2.13 +* Tue May 09 2006 - bwhiteley@suse.de +- Updated to schema version cimv2.12, required for SMASH 1.0 + compliance (#173777) +* Fri May 05 2006 - bwhiteley@suse.de +- removed non-ascii char from CIM_DNSSettingData.mof (was breaking + some XML parsers) (#172939) +* Fri Feb 10 2006 - bwhiteley@suse.de +- fixed execute bit on directories (#149992) +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Tue Jan 17 2006 - bwhiteley@suse.de +- Added a symlink cim-current so other packages don't have to hard- + code cim schema versions. +* Tue Jan 10 2006 - bwhiteley@suse.de +- Update to v2.11 Experimental. +- Moved MOFs under /usr/share/mof +* Thu Jan 13 2005 - nashif@suse.de +- Update to v2.9 Final +* Tue Oct 12 2004 - nashif@suse.de +- Update with cim v2.9 +* Wed Feb 18 2004 - nashif@suse.de +- Fixed directory permissions +- build as normal user +* Mon Feb 16 2004 - nashif@suse.de +- Updated to 2.8 final +* Thu Nov 27 2003 - nashif@suse.de +- Initial Release diff --git a/cimv214Experimental-MOFs.zip b/cimv214Experimental-MOFs.zip new file mode 100644 index 0000000..72ba2c8 --- /dev/null +++ b/cimv214Experimental-MOFs.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fae50455529df499964930ebab7877beae2df7f58d0c32886bf8fc2bb33ee7bc +size 1644130 diff --git a/cimv215-unreleased.tar.bz2 b/cimv215-unreleased.tar.bz2 new file mode 100644 index 0000000..7b4153f --- /dev/null +++ b/cimv215-unreleased.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8f71ed1230a1988569aa939369369f62a2d7954208b5bbc4f75583421a3605e +size 8987 diff --git a/loadmof.sh b/loadmof.sh new file mode 100644 index 0000000..c3a766e --- /dev/null +++ b/loadmof.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +OWLM=/usr/bin/ow-loadmof.sh +PEGLM=/usr/bin/peg-loadmof.sh + +if [ -x $OWLM ]; then + $OWLM $@ +fi + +if [ -x $PEGLM ]; then + $PEGLM $@ +fi + diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/rmmof.sh b/rmmof.sh new file mode 100644 index 0000000..468de4f --- /dev/null +++ b/rmmof.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +OWLM=/usr/bin/ow-rmmof.sh +PEGLM=/usr/bin/peg-rmmof.sh + +if [ -x $OWLM ]; then + $OWLM $@ +fi + +if [ -x $PEGLM ]; then + $PEGLM $@ +fi +