Package init
This commit is contained in:
parent
57eae05e8b
commit
a414814b37
34
LICENSE
Normal file
34
LICENSE
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// Copyright 1998-2008 Distributed Management Task Force, Inc. (DMTF).
|
||||||
|
// All rights reserved.
|
||||||
|
// DMTF is a not-for-profit association of industry members dedicated
|
||||||
|
// to promoting enterprise and systems management and interoperability.
|
||||||
|
// DMTF specifications and documents may be reproduced by
|
||||||
|
// members and non-members, provided that correct attribution is given.
|
||||||
|
// As DMTF specifications may be revised from time to time,
|
||||||
|
// the particular version and release date should always be noted.
|
||||||
|
//
|
||||||
|
// Implementation of certain elements of this standard or proposed
|
||||||
|
// standard may be subject to third party patent rights, including
|
||||||
|
// provisional patent rights (herein "patent rights"). DMTF makes
|
||||||
|
// no representations to users of the standard as to the existence
|
||||||
|
// of such rights, and is not responsible to recognize, disclose, or
|
||||||
|
// identify any or all such third party patent right, owners or
|
||||||
|
// claimants, nor for any incomplete or inaccurate identification or
|
||||||
|
// disclosure of such rights, owners or claimants. DMTF shall have no
|
||||||
|
// liability to any party, in any manner or circumstance, under any
|
||||||
|
// legal theory whatsoever, for failure to recognize, disclose, or
|
||||||
|
// identify any such third party patent rights, or for such party's
|
||||||
|
// reliance on the standard or incorporation thereof in its product,
|
||||||
|
// protocols or testing procedures. DMTF shall have no liability to
|
||||||
|
// any party implementing such standard, whether such implementation
|
||||||
|
// is foreseeable or not, nor to any patent owner or claimant, and shall
|
||||||
|
// have no liability or responsibility for costs or losses incurred if
|
||||||
|
// a standard is withdrawn or modified after publication, and shall be
|
||||||
|
// indemnified and held harmless by any party implementing the
|
||||||
|
// standard from any and all claims of infringement by a patent owner
|
||||||
|
// for such implementations.
|
||||||
|
//
|
||||||
|
// For information about patents held by third-parties which have
|
||||||
|
// notified the DMTF that, in their opinion, such patent may relate to
|
||||||
|
// or impact implementations of DMTF standards, visit
|
||||||
|
// http://www.dmtf.org/about/policies/disclosures.php.
|
||||||
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# cim-schema
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
|
||||||
|
|
||||||
1. Fork the repository
|
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
|
||||||
4. Create Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
39
README.md
39
README.md
@ -1,39 +0,0 @@
|
|||||||
# cim-schema
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
{**以下是码云平台说明,您可以替换此简介**
|
|
||||||
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
|
|
||||||
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
59
cim-schema.spec
Normal file
59
cim-schema.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
Name: cim-schema
|
||||||
|
Version: 2.43.0
|
||||||
|
Release: 8
|
||||||
|
Summary: Common Information Model Schema
|
||||||
|
License: DMTF
|
||||||
|
URL: http://www.dmtf.org/
|
||||||
|
Source0: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-MOFs.zip
|
||||||
|
Source1: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-Doc.zip
|
||||||
|
Source2: LICENSE
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The CIM Schema provides the actual model descriptions. Management schemas are the
|
||||||
|
building-blocks for management platforms and management applications, such as device
|
||||||
|
configuration, performance management, and change management. CIM structures the managed
|
||||||
|
environment as a collection of interrelated systems, each composed of discrete elements.
|
||||||
|
Supplying a set of classes with properties and associations that provide a well-understood
|
||||||
|
conceptual framework, CIM organizes information about the managed environment. The CIM Schema
|
||||||
|
is structured into these distinct layers: core model, common model, extension schemas.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -T -a 1 -c -n %{name}-docs
|
||||||
|
%setup -q -T -a 0 -c -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
for i in `find . -name "*.mof"`; do
|
||||||
|
sed -i -e 's/\r//g' $i
|
||||||
|
done
|
||||||
|
|
||||||
|
install -d %{buildroot}/%{_datadir}/mof/cimv%{version}
|
||||||
|
chmod -R go-wx .
|
||||||
|
chmod -R a+rX .
|
||||||
|
mv * %{buildroot}/%{_datadir}/mof/cimv%{version}/
|
||||||
|
|
||||||
|
ln -s cimv%{version} %{buildroot}/%{_datadir}/mof/cim-current
|
||||||
|
ln -s cim_schema_%{version}.mof %{buildroot}/%{_datadir}/mof/cim-current/CIM_Schema.mof
|
||||||
|
|
||||||
|
install -d %{buildroot}/usr/bin
|
||||||
|
mkdir -p %{buildroot}/%{_docdir}/%{name}
|
||||||
|
cp -a %{SOURCE2} %{buildroot}/%{_docdir}/%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license %{_docdir}/%{name}/LICENSE
|
||||||
|
%dir %{_datarootdir}/mof
|
||||||
|
%dir %{_datarootdir}/mof/cimv%{version}
|
||||||
|
%{_datarootdir}/mof/cimv%{version}/*
|
||||||
|
%{_datarootdir}/mof/cim-current
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc ../%{name}-docs/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Nov 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.43.0-8
|
||||||
|
- Package init
|
||||||
BIN
cim_schema_2.43.0Experimental-Doc.zip
Normal file
BIN
cim_schema_2.43.0Experimental-Doc.zip
Normal file
Binary file not shown.
BIN
cim_schema_2.43.0Experimental-MOFs.zip
Normal file
BIN
cim_schema_2.43.0Experimental-MOFs.zip
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user