From 054d81fe6769c41d1cffd378307cde6dbdc79259 Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Thu, 11 Aug 2022 11:17:10 +0200 Subject: [PATCH] Update to 0.2.7 Switch to meson --- .gitignore | 1 + cups-pk-helper.spec | 29 ++++++++++++----------------- sources | 2 +- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 7cf277d..d83fc20 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ cups-pk-helper-0.0.4.tar.bz2 /cups-pk-helper-0.2.4.tar.bz2 /cups-pk-helper-0.2.5.tar.xz /cups-pk-helper-0.2.6.tar.xz +/cups-pk-helper-0.2.7.tar.xz diff --git a/cups-pk-helper.spec b/cups-pk-helper.spec index 5cbf84c..f4cc079 100644 --- a/cups-pk-helper.spec +++ b/cups-pk-helper.spec @@ -1,6 +1,6 @@ Name: cups-pk-helper -Version: 0.2.6 -Release: 15%{?dist} +Version: 0.2.7 +Release: 1%{?dist} Summary: A helper that makes system-config-printer use PolicyKit License: GPLv2+ @@ -15,11 +15,7 @@ BuildRequires: glib2-devel >= 2.29.8 BuildRequires: gtk2-devel >= 2.12.0 BuildRequires: dbus-glib-devel >= 0.74 BuildRequires: polkit-devel >= 0.97 -BuildRequires: intltool >= 0.40.6 -BuildRequires: gettext-devel >= 0.17 -BuildRequires: gnome-common >= 2.26 -BuildRequires: autoconf automake libtool -BuildRequires: make +BuildRequires: meson Requires: cups-libs >= 1.2 Requires: dbus >= 1.2 @@ -32,31 +28,30 @@ cups-pk-helper is an application which makes cups configuration interfaces available under control of PolicyKit. %prep -%setup -q -%patch0 -p1 -b .polkit-result - +%autosetup -p1 %build -%configure -make %{?_smp_mflags} - +%meson +%meson_build %install -make install DESTDIR=$RPM_BUILD_ROOT - +%meson_install %find_lang %{name} %files -f %{name}.lang %{_libexecdir}/cups-pk-helper-mechanism -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf +%config(noreplace) %{_datadir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf %{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service %{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy %doc AUTHORS COPYING NEWS - %changelog +* Thu Aug 11 2022 Marek Kasik - 0.2.7-1 +- Update to 0.2.7 +- Switch to meson + * Wed Jul 20 2022 Fedora Release Engineering - 0.2.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index e35e179..7c58a6d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a9045c7db6e502d6496da8fc71d8820e cups-pk-helper-0.2.6.tar.xz +SHA512 (cups-pk-helper-0.2.7.tar.xz) = 8f1d5dce73a52552d00eb3f54b39e03ca7ae711a0591572a25bd8926e228457628f1ee7e6ae89bda1b0ef473f860ad85bff9036ca1bc244d2cbda530bab96d40