|
|
5acfdd |
#
|
|
|
5acfdd |
# spec file for package cim-schema
|
|
|
5acfdd |
#
|
|
|
5acfdd |
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
5acfdd |
#
|
|
|
5acfdd |
# All modifications and additions to the file contributed by third parties
|
|
|
5acfdd |
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
5acfdd |
# upon.
|
|
|
5acfdd |
#
|
|
|
5acfdd |
# The license for this spec file is the MIT/X11 license:
|
|
|
5acfdd |
#
|
|
|
5acfdd |
# Permission is hereby granted, free of charge, to any person obtaining
|
|
|
5acfdd |
# a copy of this software and associated documentation files (the
|
|
|
5acfdd |
# "Software"), to deal in the Software without restriction, including
|
|
|
5acfdd |
# without limitation the rights to use, copy, modify, merge, publish,
|
|
|
5acfdd |
# distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
5acfdd |
# permit persons to whom the Software is furnished to do so, subject to
|
|
|
5acfdd |
# the following conditions:
|
|
|
5acfdd |
#
|
|
|
5acfdd |
# The above copyright notice and this permission notice shall be
|
|
|
5acfdd |
# included in all copies or substantial portions of the Software.
|
|
|
5acfdd |
#
|
|
|
5acfdd |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
5acfdd |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
5acfdd |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
5acfdd |
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
5acfdd |
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
5acfdd |
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
5acfdd |
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
5acfdd |
#
|
|
|
5acfdd |
|
|
|
5acfdd |
# norootforbuild
|
|
|
5acfdd |
|
|
|
5acfdd |
%global major 2
|
|
|
5acfdd |
%global minor 33
|
|
|
5acfdd |
%global update 0
|
|
|
5acfdd |
|
|
|
5acfdd |
Name: cim-schema
|
|
|
5acfdd |
Url: http://www.dmtf.org/
|
|
|
5acfdd |
Summary: Common Information Model (CIM) Schema
|
|
|
5acfdd |
Version: %{major}.%{minor}.%{update}
|
|
|
5acfdd |
Release: 6%{?dist}
|
|
|
5acfdd |
Group: Development/Libraries
|
|
|
5acfdd |
License: DMTF
|
|
|
5acfdd |
Source0: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-MOFs.zip
|
|
|
5acfdd |
Source1: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-Doc.zip
|
|
|
5acfdd |
Source2: LICENSE
|
|
|
5acfdd |
BuildArch: noarch
|
|
|
5acfdd |
|
|
|
5acfdd |
%package docs
|
|
|
5acfdd |
Summary: Common Information Model (CIM) Schema documentation
|
|
|
5acfdd |
Group: Documentation
|
|
|
5acfdd |
|
|
|
5acfdd |
|
|
|
5acfdd |
%description
|
|
|
5acfdd |
Common Information Model (CIM) is a model for describing overall
|
|
|
5acfdd |
management information in a network or enterprise environment. CIM
|
|
|
5acfdd |
consists of a specification and a schema. The specification defines the
|
|
|
5acfdd |
details for integration with other management models. The schema
|
|
|
5acfdd |
provides the actual model descriptions.
|
|
|
5acfdd |
|
|
|
5acfdd |
|
|
|
5acfdd |
|
|
|
5acfdd |
Authors:
|
|
|
5acfdd |
--------
|
|
|
5acfdd |
DTMF <http://www.dmtf.org/about/contact>
|
|
|
5acfdd |
|
|
|
5acfdd |
%description docs
|
|
|
5acfdd |
Common Information Model (CIM) schema documentation.
|
|
|
5acfdd |
|
|
|
5acfdd |
%prep
|
|
|
5acfdd |
%setup -q -T -a 1 -c -n %{name}-%{version}-docs
|
|
|
5acfdd |
%setup -q -T -a 0 -c -n %{name}-%{version}
|
|
|
5acfdd |
|
|
|
5acfdd |
%build
|
|
|
5acfdd |
%install
|
|
|
5acfdd |
MOFDIR=%{_datadir}/mof
|
|
|
5acfdd |
CIMDIR=$MOFDIR/cimv%{version}
|
|
|
5acfdd |
%__rm -rf $RPM_BUILD_ROOT
|
|
|
5acfdd |
for i in `find . -name "*.mof"`; do
|
|
|
5acfdd |
sed -i -e 's/\r//g' $i
|
|
|
5acfdd |
done
|
|
|
5acfdd |
install -d $RPM_BUILD_ROOT/$CIMDIR
|
|
|
5acfdd |
chmod -R go-wx .
|
|
|
5acfdd |
chmod -R a+rX .
|
|
|
5acfdd |
%__mv * $RPM_BUILD_ROOT/$CIMDIR/
|
|
|
5acfdd |
ln -s cimv%{version} $RPM_BUILD_ROOT/$MOFDIR/cim-current
|
|
|
5acfdd |
ln -s cim_schema_%{version}.mof $RPM_BUILD_ROOT/$MOFDIR/cim-current/CIM_Schema.mof
|
|
|
5acfdd |
install -d $RPM_BUILD_ROOT/usr/bin
|
|
|
5acfdd |
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
|
|
|
5acfdd |
cp -a %{SOURCE2} $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
|
|
|
5acfdd |
|
|
|
5acfdd |
%clean
|
|
|
5acfdd |
%__rm -rf $RPM_BUILD_ROOT
|
|
|
5acfdd |
|
|
|
5acfdd |
%files
|
|
|
5acfdd |
%dir %{_datarootdir}/mof
|
|
|
5acfdd |
%dir %{_datarootdir}/mof/cimv%{version}
|
|
|
5acfdd |
%{_datarootdir}/mof/cimv%{version}/*
|
|
|
5acfdd |
%{_datarootdir}/mof/cim-current
|
|
|
5acfdd |
%doc %{_docdir}/%{name}-%{version}/LICENSE
|
|
|
5acfdd |
|
|
|
5acfdd |
%files docs
|
|
|
5acfdd |
%doc ../%{name}-%{version}-docs/*
|
|
|
5acfdd |
|
|
|
5acfdd |
%changelog
|
|
|
5acfdd |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.33.0-6
|
|
|
5acfdd |
- Mass rebuild 2013-12-27
|
|
|
5acfdd |
|
|
|
5acfdd |
* Mon Jul 22 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.33.0-5
|
|
|
5acfdd |
- Fix package to be able do local build
|
|
|
5acfdd |
|
|
|
5acfdd |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33.0-4
|
|
|
5acfdd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5acfdd |
|
|
|
5acfdd |
* Wed Nov 21 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.33.0-3
|
|
|
5acfdd |
- Remove loadmof.sh and rmmof.sh scripts
|
|
|
5acfdd |
|
|
|
5acfdd |
* Thu Aug 23 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.33.0-2
|
|
|
5acfdd |
- Fix issues found by fedora-review utility in the spec file
|
|
|
5acfdd |
|
|
|
5acfdd |
* Mon Jul 30 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.33.0-1
|
|
|
5acfdd |
- Update to CIM Schema 2.33.0, including experimental classes
|
|
|
5acfdd |
|
|
|
5acfdd |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29.0-3
|
|
|
5acfdd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5acfdd |
|
|
|
5acfdd |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29.0-2
|
|
|
5acfdd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5acfdd |
|
|
|
5acfdd |
* Wed May 11 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.29.0-1
|
|
|
5acfdd |
- Update to CIM Schema 2.29.0
|
|
|
5acfdd |
|
|
|
5acfdd |
* Tue Jun 22 2010 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.25.0-2
|
|
|
5acfdd |
- Minor spec file fixes
|
|
|
5acfdd |
|
|
|
5acfdd |
* Tue Jun 22 2010 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.25.0-1
|
|
|
5acfdd |
- Uploaded the second source file, so bumping up the release.
|
|
|
5acfdd |
|
|
|
5acfdd |
* Tue Jun 22 2010 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.25.0-0
|
|
|
5acfdd |
- Updating the sources to 2.25.0. Had to update sblim-sfcb to 1.3.8
|
|
|
5acfdd |
- which uses 2.25.0.
|
|
|
5acfdd |
|
|
|
5acfdd |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.0-2
|
|
|
5acfdd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5acfdd |
|
|
|
5acfdd |
* Thu Jul 16 2009 Matt Domsch <Matt_Domsch@dell.com> - 2.22.0-1.fc12
|
|
|
5acfdd |
- add dist tag
|
|
|
5acfdd |
|
|
|
5acfdd |
* Tue Jul 14 2009 Matt Domsch <Matt_Domsch@dell.com> - 2.22.0-1
|
|
|
5acfdd |
- spec license change to MIT per Novell
|
|
|
5acfdd |
- remove BR: unzip, it's in the default buildroot already
|
|
|
5acfdd |
- add MIT license to spec file
|
|
|
5acfdd |
|
|
|
5acfdd |
* Wed May 20 2009 Matt Domsch <Matt_Domsch@dell.com> - 2.21.0-1
|
|
|
5acfdd |
- upgrade to v2.22.0
|
|
|
5acfdd |
|
|
|
5acfdd |
* Thu Oct 23 2008 Matt Domsch <Matt_Domsch@dell.com> - 2.19.1-1
|
|
|
5acfdd |
- Upgraded to cimv2.19.1Experimental
|
|
|
5acfdd |
- now meets Fedora packaging guidelines too
|
|
|
5acfdd |
- added -docs subpackage
|
|
|
5acfdd |
* Wed May 14 2008 bwhiteley@suse.de
|
|
|
5acfdd |
- Upgraded to cimv2.18Experimental
|
|
|
5acfdd |
* Thu Jan 17 2008 bwhiteley@suse.de
|
|
|
5acfdd |
- Fixed order of includes so that it will import in pegasus.
|
|
|
5acfdd |
* Tue Jan 08 2008 bwhiteley@suse.de
|
|
|
5acfdd |
- Updated to cimv2.17Experimental (#341800)
|
|
|
5acfdd |
* Wed Nov 28 2007 bwhiteley@suse.de
|
|
|
5acfdd |
- Updated to cimv2.16Experimental (#341800)
|
|
|
5acfdd |
Remove carriage returns from MOF files.
|
|
|
5acfdd |
Fix broken comment blocks in 2.16 schema.
|
|
|
5acfdd |
* Thu Mar 29 2007 bwhiteley@suse.de
|
|
|
5acfdd |
- Added unzip to BuildRequires
|
|
|
5acfdd |
* Tue Mar 27 2007 bwhiteley@suse.de
|
|
|
5acfdd |
- Fixed inclusion of missing file (#258187)
|
|
|
5acfdd |
* Tue Mar 13 2007 bart@novell.com
|
|
|
5acfdd |
- Added some classes from 2.15 preliminary needed for Xen
|
|
|
5acfdd |
providers (#228365)
|
|
|
5acfdd |
* Fri Jan 19 2007 bwhiteley@suse.de
|
|
|
5acfdd |
- update to schema version 2.14 (#228365)
|
|
|
5acfdd |
* Mon Jan 08 2007 bwhiteley@suse.de
|
|
|
5acfdd |
- Combine all qualifiers back into one file (#232667)
|
|
|
5acfdd |
* Tue Dec 19 2006 bwhiteley@suse.de
|
|
|
5acfdd |
- added loadmof.sh script. (#228349)
|
|
|
5acfdd |
* Wed Dec 13 2006 bwhiteley@suse.de
|
|
|
5acfdd |
- Updated to schema version cimv2.13.1 (#228365)
|
|
|
5acfdd |
* Fri Oct 06 2006 bwhiteley@suse.de
|
|
|
5acfdd |
- Updated to schema version cimv2.13
|
|
|
5acfdd |
* Mon May 08 2006 bwhiteley@suse.de
|
|
|
5acfdd |
- Updated to schema version cimv2.12, required for SMASH 1.0
|
|
|
5acfdd |
compliance (#173777)
|
|
|
5acfdd |
* Fri May 05 2006 bwhiteley@suse.de
|
|
|
5acfdd |
- removed non-ascii char from CIM_DNSSettingData.mof (was breaking
|
|
|
5acfdd |
some XML parsers) (#172939)
|
|
|
5acfdd |
* Fri Feb 10 2006 bwhiteley@suse.de
|
|
|
5acfdd |
- fixed execute bit on directories (#149992)
|
|
|
5acfdd |
* Wed Jan 25 2006 mls@suse.de
|
|
|
5acfdd |
- converted neededforbuild to BuildRequires
|
|
|
5acfdd |
* Tue Jan 17 2006 bwhiteley@suse.de
|
|
|
5acfdd |
- Added a symlink cim-current so other packages don't have to hard-
|
|
|
5acfdd |
code cim schema versions.
|
|
|
5acfdd |
* Tue Jan 10 2006 bwhiteley@suse.de
|
|
|
5acfdd |
- Update to v2.11 Experimental.
|
|
|
5acfdd |
- Moved MOFs under /usr/share/mof
|
|
|
5acfdd |
* Thu Jan 13 2005 nashif@suse.de
|
|
|
5acfdd |
- Update to v2.9 Final
|
|
|
5acfdd |
* Tue Oct 12 2004 nashif@suse.de
|
|
|
5acfdd |
- Update with cim v2.9
|
|
|
5acfdd |
* Tue Feb 17 2004 nashif@suse.de
|
|
|
5acfdd |
- Fixed directory permissions
|
|
|
5acfdd |
- build as normal user
|
|
|
5acfdd |
* Mon Feb 16 2004 nashif@suse.de
|
|
|
5acfdd |
- Updated to 2.8 final
|
|
|
5acfdd |
* Thu Nov 27 2003 nashif@suse.de
|
|
|
5acfdd |
- Initial Release
|