aboutsummaryrefslogtreecommitdiffstats
path: root/vconsole.spec
blob: f4eacbe2ef4e454b328f9545c3a8dd312ffa0291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Name:         vconsole
License:      GPLv2+
Version:      0.8
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: gcc meson ninja-build
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(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}"
meson --prefix="%{_prefix}" build-rpm
ninja-build -C build-rpm

%install
export DESTDIR="%{buildroot}"
ninja-build -C build-rpm install

%files
%{_bindir}/vconsole
%{_mandir}/man1/vconsole.1*
/usr/share/applications/vconsole.desktop

%files -n vpublish
%{_bindir}/vpublish
%{_unitdir}/vpublish.service

%changelog
* Thu Jun 01 2017 Gerd Hoffmann <kraxel@redhat.com> 0.8-1
- new package built with tito