Switch to meson build system

This commit is contained in:
Kalev Lember 2020-12-14 10:12:23 +01:00
parent 706f85c2a0
commit b026192a04

View File

@ -15,11 +15,16 @@ License: LGPLv2+
URL: https://www.gtkmm.org/
Source0: https://download.gnome.org/sources/pangomm/%{release_version}/%{name}-%{version}.tar.xz
BuildRequires: cairomm-devel >= %{cairomm_version}
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: glibmm24-devel >= %{glibmm_version}
BuildRequires: cairomm-devel >= %{cairomm_version}
BuildRequires: libxslt
BuildRequires: m4
BuildRequires: meson
BuildRequires: meson
BuildRequires: mm-common
BuildRequires: pango-devel >= %{pango_version}
BuildRequires: doxygen graphviz
Requires: glibmm24%{?_isa} >= %{glibmm_version}
Requires: cairomm%{?_isa} >= %{cairomm_version}
@ -60,14 +65,12 @@ documentation browser or through a web browser.
%build
%configure --disable-static
make %{?_smp_mflags}
%meson -Dbuild-documentation=true
%meson_build
%install
%make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%meson_install
%ldconfig_scriptlets
@ -93,6 +96,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
* Mon Dec 14 2020 Kalev Lember <klember@redhat.com> - 2.42.2-1
- Update to 2.42.2
- Update source URLs
- Switch to meson build system
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.42.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild