Fix License, Spec file cleanup, rpmlint check

This commit is contained in:
vcrhonek 2008-11-04 12:45:48 +00:00
parent 754016c992
commit 57ad3fbbc4

View File

@ -1,58 +1,47 @@
#
# sblim-cmpi-devel.spec
#
# Package spec for cmpi-devel - RedHat/Fedora Flavor
#
# Use this SPEC if building for a RH/Fedora System
# This package is providing the C and C++ headers for CMPI
# but not the C++ library.
#
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Summary: SBLIM CMPI Provider Development Support
Name: sblim-cmpi-devel
Version: 1.0.5
Release: 1%{?dist}
Group: Systems Management/Base
URL: http://www.sblim.org
License: CPL
Provides: cmpi-devel
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
%define debug_package %{nil}
%Description
This packages provides the C and C++ CMPI header files needed by
provider developers and can be used standalone. If used for
C++ provider development it is also necessary to have
Name: sblim-cmpi-devel
Version: 1.0.5
Release: 2%{?dist}
Summary: SBLIM CMPI Provider Development Support
Group: Development/Libraries
License: EPL
URL: http://sblim.wiki.sourceforge.net/
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
This packages provides the C and C++ CMPI header files needed by
provider developers and can be used standalone. If used for
C++ provider development it is also necessary to have
tog-pegasus-devel installed.
%prep
%setup -T -b 0 -n %{name}-%{version}
%setup -q
%build
%configure --disable-library
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc %{_datadir}/doc/%{name}-%{version}
%{_includedir}/cmpi
%changelog
* Tue Nov 4 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.0.5-2
- Fix License
- Spec file cleanup, rpmlint check
* Fri Oct 24 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.0.5-1
- Update to 1.0.5
Resolves: #468326
@ -60,12 +49,12 @@ rm -rf $RPM_BUILD_ROOT
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.4-6
- Autorebuild for GCC 4.3
* Mon Dec 18 2006 Mark Hamzy <hamzy@us.ibm.com> 1.0.4-5
- Removed -debuginfo package.
- Removed ldconfig from post/postun
* Mon Dec 18 2006 Mark Hamzy <hamzy@us.ibm.com> - 1.0.4-5
- Removed -debuginfo package.
- Removed ldconfig from post/postun
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.0.4-4
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> - 1.0.4-4
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Thu Feb 09 2006 Viktor Mihajlovski <mihajlov@de.ibm.com> 1.0.4-1
- Initial RH/Fedora version
* Thu Feb 09 2006 Viktor Mihajlovski <mihajlov@de.ibm.com> - 1.0.4-1
- Initial RH/Fedora version