Группа :: Эмуляторы
Пакет: 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 можно просмотреть здесь
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 можно просмотреть здесь