1 Star 0 Fork 11

ultra_planet/cim-schema

forked from src-openEuler/cim-schema 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cim-schema.spec 2.01 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 18:53 . Package init
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ultra_planet/cim-schema.git
git@gitee.com:ultra_planet/cim-schema.git
ultra_planet
cim-schema
cim-schema
master

搜索帮助