sblim-cmpi-devel/sblim-cmpi-devel.spec
2020-03-03 01:03:27 -05:00

57 lines
1.3 KiB
RPMSpec

Name: sblim-cmpi-devel
Version: 2.0.3
Release: 19
Summary: SBLIM CMPI Provider Development Support
License: EPL
URL: https://sourceforge.net/projects/sblim/
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
Patch0: sblim-cmpi-devel-2.0.3-docdir.patch
BuildRequires: gcc
%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.
%package -n libcmpiCppImpl0
License: EPL
Summary: CMPI C++ wrapper library
Conflicts: tog-pegasus-libs
BuildRequires: gcc-c++
%description -n libcmpiCppImpl0
CMPI C++ wrapper library
%prep
%autosetup -p1
%build
%configure
%make_build
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d
%ldconfig_scriptlets -n libcmpiCppImpl0
%files
%doc AUTHORS COPYING README
%{_includedir}/cmpi
%files -n libcmpiCppImpl0
%exclude %{_libdir}/*a
%{_libdir}/libcmpiCppImpl.so*
%changelog
* Wed Feb 19 2020 Senlin Xia <xiasenlin1@huawei.com> - 2.0.3-19
- remove macros.sblim-cmpi-devel
* Tue Nov 19 2019 mengxian <mengxian@huawei.com> - 2.0.3-18
- Package init