diff --git a/sblim-cmpi-devel-2.0.3-docdir.patch b/sblim-cmpi-devel-2.0.3-docdir.patch new file mode 100644 index 0000000..222f012 --- /dev/null +++ b/sblim-cmpi-devel-2.0.3-docdir.patch @@ -0,0 +1,12 @@ +diff -up sblim-cmpi-devel-2.0.3/Makefile.in.orig sblim-cmpi-devel-2.0.3/Makefile.in +--- sblim-cmpi-devel-2.0.3/Makefile.in.orig 2012-07-31 06:11:51.000000000 +0200 ++++ sblim-cmpi-devel-2.0.3/Makefile.in 2013-08-07 18:28:09.600712807 +0200 +@@ -221,7 +221,7 @@ build_vendor = @build_vendor@ + builddir = @builddir@ + datadir = @datadir@ + datarootdir = @datarootdir@ +-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) ++docdir = $(datadir)/doc/$(PACKAGE) + dvidir = @dvidir@ + exec_prefix = @exec_prefix@ + host = @host@ diff --git a/sblim-cmpi-devel-2.0.3.tar.bz2 b/sblim-cmpi-devel-2.0.3.tar.bz2 new file mode 100644 index 0000000..ae773b7 Binary files /dev/null and b/sblim-cmpi-devel-2.0.3.tar.bz2 differ diff --git a/sblim-cmpi-devel.spec b/sblim-cmpi-devel.spec new file mode 100644 index 0000000..02ff4b3 --- /dev/null +++ b/sblim-cmpi-devel.spec @@ -0,0 +1,53 @@ +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 - 2.0.3-19 +- Package init