Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37038254
en ru br
Репозитории ALT
S:1.25-alt1
5.1: 1.0-alt1
www.altlinux.org/Changes

Группа :: Эмуляторы
Пакет: virt-what

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin