Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (47 sloc) 1.23 KB
%define debug_package %{nil}
Name: vmango
Summary: Virtual Machine Manager
Version: @@_VERSION_@@
Release: @@_RELEASE_@@%{dist}
Source0: %{name}-%{version}.tar.gz
License: GPLv3
Group: Other
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}.buildroot
Vendor: subuk
Requires: genisoimage
BuildRequires: golang = 1.12.9
BuildRequires: libvirt-devel
Requires(pre): shadow-utils
%setup -q
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
install -d %{buildroot}%{_unitdir}
install vmango.service %{buildroot}%{_unitdir}/
install -d %{buildroot}/var/lib/vmango/
getent group vmango >/dev/null || groupadd -r vmango
getent passwd vmango >/dev/null || \
useradd -r -g vmango -d /var/lib/vmango -s /sbin/nologin -c "" vmango
exit 0
%systemd_postun vmango.service
%systemd_preun vmango.service
%systemd_post vmango.service
%attr(0755,root,root) %{_prefix}/bin/vmango
%attr(0755,vmango,vmango) /var/lib/vmango
%config(noreplace) /etc/vmango.conf
* Sat Sep 7 2019 20:11:31 +0000 Matvey Kruglov <> 0.9.1-1
- Update upstream to 0.9.1
You can’t perform that action at this time.