diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-14 21:53:30 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-14 21:53:30 +0100 |
commit | 825325e3348db9b30867bef47a21101c5c0a3d65 (patch) | |
tree | 8cf32e660c7afe79fe182b1ffa33fa2b16cf6f9e | |
parent | 7d012effd316d0a93c17f634e835aa18ecfcef03 (diff) | |
download | vconsole-825325e3348db9b30867bef47a21101c5c0a3d65.tar.gz |
add specfile
-rw-r--r-- | vconsole.spec | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/vconsole.spec b/vconsole.spec new file mode 100644 index 0000000..12cc001 --- /dev/null +++ b/vconsole.spec @@ -0,0 +1,46 @@ +Name: vconsole +License: GPLv2+ +Version: 0.7 +Release: 1%{?dist} +Summary: Virtual machine serial console manager +Group: Applications/System +URL: http://www.kraxel.org/blog/linux/%{name}/ +Source: http://www.kraxel.org/releases/%{name}/%{name}-%{version}.tar.gz + +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libvirt) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(avahi-client) +BuildRequires: pkgconfig(avahi-glib) +BuildRequires: pkgconfig(vte-2.91) + +%description +Virtual machine serial console manager + +%package -n vpublish +Summary: Virtual machine gfx console publisher +%description -n vpublish +Publish virtual machine gfx console (vnc) via avahi. + +%prep +%setup -q + +%build +export CFLAGS="%{optflags}" +make prefix=/usr + +%install +make prefix=/usr DESTDIR=%{buildroot} STRIP="" install + +%files +%{_bindir}/vconsole +%{_mandir}/man1/vconsole.1* +/usr/share/applications/vconsole.desktop + +%files -n vpublish +%{_bindir}/vpublish +%{_unitdir}/vpublish.service + +%changelog |