From 16fce2ee7cb6131410e6b190879ad62ef636314a Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 17 Jan 2020 13:46:28 +0100 Subject: switch spec to meson --- vconsole.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'vconsole.spec') diff --git a/vconsole.spec b/vconsole.spec index a5ded91..c1fc8ab 100644 --- a/vconsole.spec +++ b/vconsole.spec @@ -7,7 +7,7 @@ Group: Applications/System URL: http://www.kraxel.org/blog/linux/%{name}/ Source: http://www.kraxel.org/releases/%{name}/%{name}-%{version}.tar.gz -BuildRequires: gcc +BuildRequires: gcc meson ninja-build BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) @@ -30,10 +30,12 @@ Publish virtual machine gfx console (vnc) via avahi. %build export CFLAGS="%{optflags}" -make prefix=/usr +meson --prefix="%{_prefix}" build-rpm +ninja-build -C build-rpm %install -make prefix=/usr DESTDIR=%{buildroot} STRIP="" install +export DESTDIR="%{buildroot}" +ninja-build -C build-rpm install %files %{_bindir}/vconsole @@ -47,4 +49,3 @@ make prefix=/usr DESTDIR=%{buildroot} STRIP="" install %changelog * Thu Jun 01 2017 Gerd Hoffmann 0.8-1 - new package built with tito - -- cgit