aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-08-30 10:56:11 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-08-30 10:56:11 +0200
commit3035f69b17b7ac341b2c766290b1bee311ff91fa (patch)
tree3539447064b69aec87970d4a2c7a723a5a5e5f15
parenta5d2695b8566d9ded46f3fbc4de5cf88d986726c (diff)
downloadfbida-3035f69b17b7ac341b2c766290b1bee311ff91fa.tar.gz
switch specfile to meson
-rw-r--r--fbida.spec9
1 files changed, 7 insertions, 2 deletions
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