Compare commits
3 Commits
F-10-start
...
libvirt-0_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
13203d395a | ||
|
|
562d8c791b | ||
|
|
fb9ca2f0ad |
21
libvirt.spec
21
libvirt.spec
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
%if "%{fedora}" >= "8"
|
%if "%{fedora}" >= "8"
|
||||||
%define with_polkit 1
|
%define with_polkit 1
|
||||||
|
%define with_lokkit 1
|
||||||
%define with_proxy no
|
%define with_proxy no
|
||||||
%else
|
%else
|
||||||
%define with_polkit 0
|
%define with_polkit 0
|
||||||
|
%define with_lokkit 0
|
||||||
%define with_proxy yes
|
%define with_proxy yes
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -21,7 +23,7 @@
|
|||||||
Summary: Library providing a simple API virtualization
|
Summary: Library providing a simple API virtualization
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Version: 0.4.2
|
Version: 0.4.2
|
||||||
Release: 1%{?dist}%{?extra_release}
|
Release: 3%{?dist}%{?extra_release}
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Source: libvirt-%{version}.tar.gz
|
Source: libvirt-%{version}.tar.gz
|
||||||
@@ -44,6 +46,9 @@ Requires: cyrus-sasl-md5
|
|||||||
%if %{with_polkit}
|
%if %{with_polkit}
|
||||||
Requires: PolicyKit >= 0.6
|
Requires: PolicyKit >= 0.6
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with_lokkit}
|
||||||
|
Requires: /usr/sbin/lokkit
|
||||||
|
%endif
|
||||||
# For mount/umount in FS driver
|
# For mount/umount in FS driver
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
# PPC64 has no Xen nor QEmu, try to build anyway
|
# PPC64 has no Xen nor QEmu, try to build anyway
|
||||||
@@ -81,6 +86,9 @@ BuildRequires: cyrus-sasl-devel
|
|||||||
%if %{with_polkit}
|
%if %{with_polkit}
|
||||||
BuildRequires: PolicyKit-devel >= 0.6
|
BuildRequires: PolicyKit-devel >= 0.6
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with_lokkit}
|
||||||
|
BuildRequires: /usr/sbin/lokkit
|
||||||
|
%endif
|
||||||
# For mount/umount in FS driver
|
# For mount/umount in FS driver
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
# PPC64 has no Xen nor QEmu, try to build anyway
|
# PPC64 has no Xen nor QEmu, try to build anyway
|
||||||
@@ -174,6 +182,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
|
|||||||
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/run/libvirt/
|
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/run/libvirt/
|
||||||
# Default dir for disk images defined in SELinux policy
|
# Default dir for disk images defined in SELinux policy
|
||||||
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/libvirt/images/
|
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/libvirt/images/
|
||||||
|
# Default dir for kernel+initrd images defnied in SELinux policy
|
||||||
|
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/libvirt/boot/
|
||||||
|
|
||||||
# We don't want to install /etc/libvirt/qemu/networks in the main %files list
|
# We don't want to install /etc/libvirt/qemu/networks in the main %files list
|
||||||
# because if the admin wants to delete the default network completely, we don't
|
# because if the admin wants to delete the default network completely, we don't
|
||||||
@@ -239,6 +249,7 @@ fi
|
|||||||
%dir %{_localstatedir}/run/libvirt/
|
%dir %{_localstatedir}/run/libvirt/
|
||||||
%dir %{_localstatedir}/lib/libvirt/
|
%dir %{_localstatedir}/lib/libvirt/
|
||||||
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/images/
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/images/
|
||||||
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/boot/
|
||||||
%if %{with_polkit}
|
%if %{with_polkit}
|
||||||
%{_datadir}/PolicyKit/policy/libvirtd.policy
|
%{_datadir}/PolicyKit/policy/libvirtd.policy
|
||||||
%endif
|
%endif
|
||||||
@@ -279,7 +290,13 @@ fi
|
|||||||
%doc docs/examples/python
|
%doc docs/examples/python
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Apr 8 2008 Daniel Veillard ,veillard@redhat.com> 0.4.2-1.fc9
|
* Fri May 9 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.2-3.fc9
|
||||||
|
- Added directory for initrd/kernel images for SELinux policy
|
||||||
|
|
||||||
|
* Mon Apr 28 2008 Mark McLoughlin <markmc@redhat.com> - 0.4.2-2.fc9
|
||||||
|
- Enable lokkit support (#443796)
|
||||||
|
|
||||||
|
* Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1.fc9
|
||||||
- upstream release 0.4.2
|
- upstream release 0.4.2
|
||||||
- many bug fixes
|
- many bug fixes
|
||||||
- localization updates
|
- localization updates
|
||||||
|
|||||||
Reference in New Issue
Block a user