]>
Commit | Line | Data |
---|---|---|
0d3fb50c JB |
1 | Summary: CIM provider for libvirt |
2 | Summary(pl.UTF-8): Dostarczyciel CIM dla libvirt | |
3 | Name: libvirt-cim | |
48d01165 | 4 | Version: 0.6.2 |
0d3fb50c JB |
5 | Release: 1 |
6 | License: LGPL v2.1+ | |
7 | Group: Libraries | |
8 | Source0: ftp://libvirt.org/libvirt-cim/%{name}-%{version}.tar.bz2 | |
48d01165 | 9 | # Source0-md5: c3318c8291245cdee2307e8ce2aac9c7 |
0d3fb50c JB |
10 | URL: http://libvirt.org/CIM/ |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake | |
13 | BuildRequires: libcmpiutil-devel >= 0.1 | |
14 | BuildRequires: libconfig-devel | |
15 | BuildRequires: libtool | |
16 | BuildRequires: libuuid-devel >= 1.41.2 | |
17 | BuildRequires: libvirt-devel >= 0.9.0 | |
18 | BuildRequires: libxml2-devel | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: sblim-cmpi-devel | |
21 | Requires: libcmpiutil >= 0.1 | |
22 | Requires: libuuid >= 1.41.2 | |
23 | Requires: libvirt >= 0.9.0 | |
24 | Requires: sblim-sfcb | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Libvirt-cim is a CMPI CIM provider that implements the DMTF SVPC | |
29 | virtualization model. The goal is to support most of the features | |
30 | exported by libvirt itself, enabling management of multiple platforms | |
31 | with a single provider. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Libvirt-cim to dostarczyciel CMPI CIM implementujący model | |
35 | wirtualizacji DMTF SVPC. Celem jest obsługa większości funkcji | |
36 | eksportowanych przez libvirt, a tym samym umożliwienie zarządzania | |
37 | wieloma platformamy poprzez pojedynczego dostarczyciela. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
0d3fb50c JB |
41 | |
42 | %build | |
43 | %{__libtoolize} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__autoheader} | |
47 | %{__automake} | |
48 | %configure \ | |
49 | --disable-silent-rules \ | |
50 | --disable-static | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
59 | # no devel files | |
60 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxkutil.{so,la} | |
61 | # plugins | |
62 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/cmpi/*.la | |
a2cfadd1 JB |
63 | # packaged as %doc |
64 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
0d3fb50c JB |
65 | |
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post -p /sbin/ldconfig | |
70 | %postun -p /sbin/ldconfig | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc README doc/*.html | |
75 | %attr(755,root,root) %{_libdir}/libxkutil.so.*.*.* | |
76 | %attr(755,root,root) %ghost %{_libdir}/libxkutil.so.0 | |
77 | %{_libdir}/cmpi/libVirt_*.so* | |
78 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt-cim.conf | |
79 | %dir %{_datadir}/libvirt-cim | |
80 | %{_datadir}/libvirt-cim/*.mof | |
81 | %{_datadir}/libvirt-cim/*.registration | |
82 | %{_datadir}/libvirt-cim/cim_schema_2.21.0Experimental-MOFs.zip | |
83 | %{_datadir}/libvirt-cim/cimv2.21.0-*_mof | |
84 | %attr(755,root,root) %{_datadir}/libvirt-cim/install_base_schema.sh | |
85 | %attr(755,root,root) %{_datadir}/libvirt-cim/provider-register.sh |