prep Factory submission OBS-URL: https://build.opensuse.org/request/show/211888 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-what?expand=0&rev=1
45 lines
952 B
RPMSpec
45 lines
952 B
RPMSpec
#
|
|
# spec file for package
|
|
#
|
|
|
|
Name: virt-what
|
|
Version: 1.13
|
|
Release: 1
|
|
License: GPLv2+
|
|
Summary: Detect if running in a virtual machine
|
|
Url: http://people.redhat.com/~rjones/virt-what
|
|
Group: System/Console
|
|
Source0: %name-%version.tar.gz
|
|
Requires: dmidecode util-linux
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This is a collection of scripts which you can use to work out what
|
|
sort of virtualization you are running inside. Please read the manual
|
|
page virt-what(1) to find out how to use it. This file is for
|
|
developers and people compiling from source.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README
|
|
%{_sbindir}/virt-what
|
|
%{_mandir}/man1/*.1*
|
|
%{_libexecdir}/virt-what-cpuid-helper
|
|
|
|
|
|
%changelog
|
|
* Sat Dec 8 2012 José Manuel Fardello<jfardello@gmail.com> - 1.12
|
|
- Initial spec for 1.12
|
|
|
|
|