From 3035f69b17b7ac341b2c766290b1bee311ff91fa Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 30 Aug 2017 10:56:11 +0200 Subject: switch specfile to meson --- fbida.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'fbida.spec') diff --git a/fbida.spec b/fbida.spec index 0abaa84..0ee91b3 100644 --- a/fbida.spec +++ b/fbida.spec @@ -7,6 +7,9 @@ Group: Applications/Multimedia URL: http://www.kraxel.org/blog/linux/%{name}/ Source: http://www.kraxel.org/releases/%{name}/%{name}-%{version}.tar.gz +# meson +BuildRequires: meson ninja-build + # image format libs BuildRequires: libjpeg-devel BuildRequires: libpcd-devel @@ -63,10 +66,12 @@ jpegtran it also handles the exif metadata. %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 -n fbi %doc COPYING -- cgit