diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-08-30 10:56:11 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-08-30 10:56:11 +0200 |
commit | 3035f69b17b7ac341b2c766290b1bee311ff91fa (patch) | |
tree | 3539447064b69aec87970d4a2c7a723a5a5e5f15 | |
parent | a5d2695b8566d9ded46f3fbc4de5cf88d986726c (diff) | |
download | fbida-3035f69b17b7ac341b2c766290b1bee311ff91fa.tar.gz |
switch specfile to meson
-rw-r--r-- | fbida.spec | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |