1 |
Name: imvirt |
2 |
Version: 0.9.6 |
3 |
Release: %mkrel 8 |
4 |
Summary: Detects several virtualizations |
5 |
License: GPLv2+ |
6 |
Group: System/Base |
7 |
URL: http://micky.ibh.net/~liske/imvirt.html |
8 |
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
9 |
Requires: dmidecode |
10 |
ExclusiveArch: %{ix86} x86_64 ia64 |
11 |
|
12 |
%description |
13 |
This little Perl script tries to detect if it is called from within |
14 |
a virtualization container. This is detected by looking for well known boot |
15 |
messages, directories and reading DMI (Desktop Management Interface) data. |
16 |
|
17 |
The following containers are detected: |
18 |
|
19 |
* Virtual PC/Virtual Server |
20 |
* VirtualBox |
21 |
* VMware |
22 |
* QEMU/KVM (experimental) |
23 |
* Xen (para and non-para virtualized) |
24 |
* OpenVZ/Virtuozzo |
25 |
* UML |
26 |
* any HVM providing CPUID 0x40000000 detection |
27 |
* lguest |
28 |
* ARAnyM |
29 |
* LXC |
30 |
|
31 |
%prep |
32 |
%setup -q |
33 |
|
34 |
%build |
35 |
%configure --prefix=%{_prefix} --libexec=%{_libexecdir}/imvirt |
36 |
%make_build |
37 |
|
38 |
%install |
39 |
%make_install |
40 |
|
41 |
%check |
42 |
#make check |
43 |
|
44 |
%files |
45 |
%{_sbindir}/imvirt-report |
46 |
%{_bindir}/* |
47 |
%dir %{_libexecdir}/imvirt |
48 |
%{_libexecdir}/imvirt/* |
49 |
%doc AUTHORS COPYING ChangeLog README |
50 |
%{_mandir}/man1/*.1* |
51 |
%{_mandir}/man3/*.3* |
52 |
%{perl_vendorlib}/* |