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