From f7ffdb6a4489e2cf5433a962ef727f546f659f1b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 26 Jan 2019 08:14:46 +0100 Subject: [PATCH] Switch to the meson build system --- gssdp.spec | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gssdp.spec b/gssdp.spec index 5478248..71b4668 100644 --- a/gssdp.spec +++ b/gssdp.spec @@ -7,7 +7,6 @@ License: LGPLv2+ URL: http://www.gupnp.org/ Source0: http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz -BuildRequires: chrpath BuildRequires: dbus-glib-devel BuildRequires: GConf2-devel BuildRequires: glib2-devel @@ -16,6 +15,7 @@ BuildRequires: gtk3-devel BuildRequires: gtk-doc BuildRequires: libsoup-devel BuildRequires: libxml2-devel +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: vala >= 0.20 @@ -53,21 +53,14 @@ This package contains developer documentation for %{name}. %setup -q %build -%configure --disable-static - -make %{?_smp_mflags} V=1 +%meson -Dgtk_doc=true +%meson_build %install -%make_install - -#Remove libtool archives. -find %{buildroot} -name '*.la' -delete - -# Remove lib64 rpath -chrpath --delete %{buildroot}%{_bindir}/gssdp-device-sniffer +%meson_install %check -make check %{?_smp_mflags} V=1 +%meson_test %ldconfig_scriptlets @@ -96,6 +89,7 @@ make check %{?_smp_mflags} V=1 %changelog * Sat Jan 26 2019 Kalev Lember - 1.0.3-1 - Update to 1.0.3 +- Switch to the meson build system * Fri Jul 13 2018 Fedora Release Engineering - 1.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild