Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37378030
en ru br
ALT Linux repos
S:1.25-alt1
5.0: 1.0-alt1

Group :: Emulators
RPM: virt-what

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: virt-what
Version: 1.0
Release: alt1
Summary: Detect if we are running in a virtual machine
BuildArch: noarch
Packager: Anton Protopopov <aspsk at altlinux.ru>

Group: Emulators
License: GPLv2+
URL: http://et.redhat.com/~rjones/virt-what/
Source0: http://et.redhat.com/~rjones/virt-what/files/%{name}-%{version}.tar.gz

BuildRequires: perl
Requires: dmidecode, util-linux

%description
virt-what is a shell script which can be used to detect if the program
is running in a virtual machine.

The program prints out a list of "facts" about the virtual machine,
derived from heuristics.  One fact is printed per line.

If nothing is printed and the script exits with code 0 (no error),
then it can mean either that the program is running on bare-metal or
the program is running inside a type of virtual machine which we don't
know about or cannot detect.

%prep
%setup -q

%build
make

%install
make prefix=%{_prefix} install DESTDIR=$RPM_BUILD_ROOT

%clean

%files
%defattr(-,root,root,-)
%doc README COPYING
%{_bindir}/virt-what
%{_mandir}/man1/*.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin