Switch to meson build system

This commit is contained in:
Kalev Lember 2020-12-14 09:56:25 +01:00
parent a930501522
commit 867c38d2ea

View File

@ -13,9 +13,14 @@ License: LGPLv2+
URL: http://www.gtkmm.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/atkmm/%{release_version}/atkmm-%{version}.tar.xz
BuildRequires: gcc-c++
BuildRequires: atk-devel
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: glibmm24-devel >= %{glibmm24_version}
BuildRequires: libxslt
BuildRequires: m4
BuildRequires: meson
BuildRequires: mm-common
Requires: glibmm24%{?_isa} >= %{glibmm24_version}
@ -54,13 +59,12 @@ documentation browser or through a web browser.
%build
%configure --disable-static
%make_build
%meson -Dbuild-documentation=true
%meson_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%meson_install
%ldconfig_scriptlets
@ -85,6 +89,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
* Mon Dec 14 2020 Kalev Lember <klember@redhat.com> - 2.28.1-1
- Update to 2.28.1
- Switch to meson build system
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild