From b0523d434b380b56b4a09dcf3554f5dbbf130820 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 3 Mar 2018 12:52:03 +0100 Subject: [PATCH] Update to 3.27.91 - Switch to the meson build system --- sources | 2 +- sysprof.spec | 24 +++++++++++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/sources b/sources index 50e6adc..6ce863a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sysprof-3.26.1.tar.xz) = ee03360e4971cd91129bac3cc9d2cf292d29aafe1cdacd078e404ee15c3ff02bcd0c0159502605c00eb2abd3a46917cf70458ad05e48b594eeb2835ead55c34c +SHA512 (sysprof-3.27.91.tar.xz) = a65195feecd89cda022f1c686e7335da1ebd51f9281a026cd48cbf74a4c372aa1408f4eb8ebc0bc04fbf5b939c68f9ec53a79802b230f4210163dd8a786e6b87 diff --git a/sysprof.spec b/sysprof.spec index a2d9c78..dd8b099 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -1,16 +1,17 @@ Name: sysprof -Version: 3.26.1 -Release: 4%{?dist} +Version: 3.27.91 +Release: 1%{?dist} Summary: A system-wide Linux profiler License: GPLv3+ URL: http://www.sysprof.com -Source0: https://download.gnome.org/sources/sysprof/3.26/sysprof-%{version}.tar.xz +Source0: https://download.gnome.org/sources/sysprof/3.27/sysprof-%{version}.tar.xz BuildRequires: binutils-devel BuildRequires: gettext BuildRequires: gtk3-devel BuildRequires: itstool +BuildRequires: meson BuildRequires: polkit-devel BuildRequires: systemd-devel BuildRequires: /usr/bin/appstream-util @@ -54,18 +55,17 @@ developing applications that use %{name}. %build -%configure --disable-static --disable-Werror -%make_build V=1 +%meson +%meson_build %install -%make_install -find $RPM_BUILD_ROOT -name '*.la' -delete +%meson_install %find_lang %{name} --with-gnome %check -appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.appdata.xml +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/*.appdata.xml desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop @@ -77,7 +77,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop %license COPYING %doc NEWS README TODO AUTHORS %{_bindir}/sysprof -%{_datadir}/appdata/org.gnome.Sysprof2.appdata.xml +%{_datadir}/metainfo/org.gnome.Sysprof2.appdata.xml %{_datadir}/applications/org.gnome.Sysprof2.desktop %{_datadir}/glib-2.0/schemas/org.gnome.sysprof2.gschema.xml %{_datadir}/icons/hicolor/*/*/* @@ -100,10 +100,16 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop %files devel %{_includedir}/sysprof-2/ %{_libdir}/pkgconfig/sysprof-2.pc +%{_libdir}/pkgconfig/sysprof-capture-2.pc %{_libdir}/pkgconfig/sysprof-ui-2.pc +%{_libdir}/libsysprof-capture-2.a %changelog +* Sat Mar 03 2018 Kalev Lember - 3.27.91-1 +- Update to 3.27.91 +- Switch to the meson build system + * Fri Feb 09 2018 Fedora Release Engineering - 3.26.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild