Blame SPECS/cim-schema.spec

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