From 148df0f8c07ccc8ef1f458fc3d4796b2f037566b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 28 Sep 2020 20:10:04 +0200 Subject: [PATCH] Switch to meson build system --- libsigc++20.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libsigc++20.spec b/libsigc++20.spec index f0aa7b5..357bada 100644 --- a/libsigc++20.spec +++ b/libsigc++20.spec @@ -10,10 +10,14 @@ License: LGPLv2+ URL: http://libsigc.sourceforge.net/ Source0: http://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz +BuildRequires: docbook-style-xsl +BuildRequires: doxygen BuildRequires: gcc-c++ +BuildRequires: libxslt BuildRequires: m4 -BuildRequires: perl-interpreter +BuildRequires: meson BuildRequires: perl(Getopt::Long) +BuildRequires: perl-interpreter %description libsigc++ implements a typesafe callback system for standard C++. It @@ -48,13 +52,12 @@ This package contains the full API documentation for %{name}. %build -%configure -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 %files @@ -76,8 +79,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %changelog -* Mon Sep 28 15:16:45 CEST 2020 Kalev Lember - 2.10.4-1 +* Mon Sep 28 2020 Kalev Lember - 2.10.4-1 - Update to 2.10.4 +- Switch to meson build system * Tue Jul 28 2020 Fedora Release Engineering - 2.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild