commit
9527d538e0
12
sblim-cmpi-devel-2.0.3-docdir.patch
Normal file
12
sblim-cmpi-devel-2.0.3-docdir.patch
Normal file
@ -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@
|
||||||
BIN
sblim-cmpi-devel-2.0.3.tar.bz2
Normal file
BIN
sblim-cmpi-devel-2.0.3.tar.bz2
Normal file
Binary file not shown.
53
sblim-cmpi-devel.spec
Normal file
53
sblim-cmpi-devel.spec
Normal file
@ -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 <xiasenlin1@huawei.com> - 2.0.3-19
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user