aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-01-17 13:46:28 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-01-17 13:46:28 +0100
commit16fce2ee7cb6131410e6b190879ad62ef636314a (patch)
tree2d6514f07f6b2f83ed883323a3fafd362e418f0e
parentc138cc7910095ad7178f57b3f8053c2cbcc5a45c (diff)
downloadvconsole-16fce2ee7cb6131410e6b190879ad62ef636314a.tar.gz
switch spec to meson
-rw-r--r--vconsole.spec9
1 files changed, 5 insertions, 4 deletions
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 <kraxel@redhat.com> 0.8-1
- new package built with tito
-