From 9ba8afd9708aaa9c99dff1fa1e5cac28debfdea6 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 7 Nov 2017 19:23:13 +0100 Subject: [PATCH] Update to 1.8.6 release - Switch to Meson build system --- .gitignore | 1 + network-manager-applet.spec | 30 ++++++++++++++++++------------ sources | 2 +- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index d956e46..9c2cf4d 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /network-manager-applet-1.8.0.tar.xz /network-manager-applet-1.8.2.tar.xz /network-manager-applet-1.8.4.tar.xz +/network-manager-applet-1.8.6.tar.xz diff --git a/network-manager-applet.spec b/network-manager-applet.spec index 5b2a084..177e5ad 100644 --- a/network-manager-applet.spec +++ b/network-manager-applet.spec @@ -3,8 +3,8 @@ %global nm_version 1:1.1.0 %global obsoletes_ver 1:0.9.7 -%global rpm_version 1.8.4 -%global real_version 1.8.4 +%global rpm_version 1.8.6 +%global real_version 1.8.6 %global release_version 1 %global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p') @@ -39,7 +39,9 @@ BuildRequires: gettext-devel BuildRequires: /usr/bin/autopoint BuildRequires: pkgconfig BuildRequires: libnotify-devel >= 0.4 -BuildRequires: automake autoconf intltool libtool +BuildRequires: meson +BuildRequires: intltool +BuildRequires: gtk-doc BuildRequires: desktop-file-utils BuildRequires: iso-codes-devel BuildRequires: libgudev1-devel >= 147 @@ -122,17 +124,15 @@ This package deprecates libnm-gtk. %patch1 -p1 %build -autoreconf -i -f -intltoolize --force -%configure \ - --with-gcr \ - --with-selinux \ - --disable-static \ - --enable-more-warnings=yes -make %{?_smp_mflags} +%meson \ + -Dwith-gcr=true \ + -Dwith-selinux=true \ + -Ddisable-static=true \ + -Denable-more-warnings=yes +%meson_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%meson_install mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-vpn-properties %find_lang nm-applet @@ -144,6 +144,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la desktop-file-validate $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/nm-applet.desktop desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nm-connection-editor.desktop +%check +%meson_test %post -n libnma -p /sbin/ldconfig %postun -n libnma -p /sbin/ldconfig @@ -235,6 +237,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %changelog +* Tue Nov 07 2017 Lubomir Rintel - 1.8.6-1 +- Update to 1.8.6 release +- Switch to Meson build system + * Wed Sep 20 2017 Thomas Haller - 1.8.4-1 - Update to 1.8.4 release diff --git a/sources b/sources index 2501cc2..2bba01e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (network-manager-applet-1.8.4.tar.xz) = 1ea149b8f0ea0fb44c71506a6fd637d3d9cc05e5f9acd7732f5e6e43de598f0d6f78f6e00d54ed9bd1d2a2f039b0e28c4b0aed6b77f4eae46e30bee15f944cc9 +SHA512 (network-manager-applet-1.8.6.tar.xz) = 9080fe1ef252837f16c698fe2083ebe66949e2a30f626619ef7eb82f44e988a0b8488f4f8cd0946a78a240f9bf7a5d054afc988b25c1bedeba7f79a7c84d46fa