-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
- CPPFLAGS="%{rpmcppflags} -I/usr/include/umfpack" \
- --enable-docs%{!?with_doc:=no} \
- %{?with_introspection:--enable-introspection} \
- %{!?with_mmx:--disable-mmx} \
- %{!?with_sse:--disable-sse} \
- --disable-silent-rules \
- %{?with_static_libs:--enable-static} \
- --with-vala%{!?with_vala:=no} \
- %{__with_without lua}
-%{__make}
+CPPFLAGS="%{rpmcppflags} -I/usr/include/umfpack"
+%meson build \
+ %{?with_doc:-Ddocs=true} \
+ %{!?with_introspection:-Dintrospection=false} \
+ %{!?with_lua:-Dlua=disabled} \
+ -Dworkshop=true
+
+%ninja_build -C build