Blame SPECS/cim-schema.spec

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