Update to 0.2.7

Switch to meson
This commit is contained in:
Marek Kasik 2022-08-11 11:17:10 +02:00
parent b9e456049d
commit 054d81fe67
3 changed files with 14 additions and 18 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <mkasik@redhat.com> - 0.2.7-1
- Update to 0.2.7
- Switch to meson
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
a9045c7db6e502d6496da8fc71d8820e cups-pk-helper-0.2.6.tar.xz
SHA512 (cups-pk-helper-0.2.7.tar.xz) = 8f1d5dce73a52552d00eb3f54b39e03ca7ae711a0591572a25bd8926e228457628f1ee7e6ae89bda1b0ef473f860ad85bff9036ca1bc244d2cbda530bab96d40