Adapt for meson build
This commit is contained in:
parent
f0117e3086
commit
7c1deb6a92
|
@ -28,13 +28,12 @@ of scanned pages before performing optical character recognition
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
autoreconf -fis
|
||||
%configure --prefix=%{_prefix}
|
||||
%{__make}
|
||||
CFLAGS="-march=native" meson --buildtype=debugoptimized builddir
|
||||
meson compile -C builddir
|
||||
|
||||
%install
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
%{__make} install DESTDIR=%{buildroot}
|
||||
DESTDIR=%{buildroot} meson install
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
|
Loading…
Reference in New Issue