From 117f2f49eec36321dad18712ad96215643b695c4 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Sep 14 2017 11:41:52 +0000 Subject: Switch to git for improved locale support --- diff --git a/.gitignore b/.gitignore index 90921f6..3bef7a9 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ polkit-gnome-0.97.tar.bz2 /polkit-gnome-0.103.tar.xz /polkit-gnome-0.104.tar.xz /polkit-gnome-0.105.tar.xz +/polkit-gnome-a0763a2.tar.gz diff --git a/polkit-gnome.spec b/polkit-gnome.spec index d8b6635..72e5c11 100644 --- a/polkit-gnome.spec +++ b/polkit-gnome.spec @@ -1,11 +1,15 @@ +%global commit0 a0763a246a81188f60b0f9810143e49224dc752f +%global date 20170423 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + Summary: PolicyKit integration for the GNOME desktop -Name: polkit-gnome -Version: 0.105 -Release: 13%{?dist} +Name: polkit-gnome +Version: 0.106 +Release: 0.1%{?dist} License: LGPLv2+ -URL: http://www.freedesktop.org/wiki/Software/PolicyKit -Group: Applications/System -Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.xz +URL: http://www.freedesktop.org/wiki/Software/PolicyKit +Source0: https://github.com/GNOME/PolicyKit-gnome/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +#Source0: https://ftp.gnome.org/pub/gnome/sources/polkit-gnome/%{version}/%{name}-%{version}.tar.xz Patch0: 02-select-default-user.patch Patch1: 04-autorestart.patch Patch2: 06-authentication-failure-string.patch @@ -17,43 +21,39 @@ Patch6: remove_g_type_init.patch BuildRequires: gtk3-devel BuildRequires: glib2-devel >= 2.25.11 BuildRequires: polkit-devel >= 0.97-1 -BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: gobject-introspection-devel BuildRequires: gnome-common BuildRequires: gtk-doc Obsoletes: PolicyKit-gnome <= 0.10 -Provides: PolicyKit-gnome = 0.11 +Provides: PolicyKit-gnome = 0.11 Obsoletes: PolicyKit-gnome-libs <= 0.10 -Provides: PolicyKit-gnome-libs = 0.11 +Provides: PolicyKit-gnome-libs = 0.11 Obsoletes: polkit-gnome-devel < 0.102-2 -Provides: polkit-gnome-devel = 0.102-2 +Provides: polkit-gnome-devel = 0.102-2 Obsoletes: polkit-gnome-docs < 0.102-2 -Provides: polkit-gnome-docs = 0.102-2 +Provides: polkit-gnome-docs = 0.102-2 -Provides: PolicyKit-authentication-agent +Provides: PolicyKit-authentication-agent = %{version} -Requires: polkit >= 0.97 +Requires: polkit >= 0.97 %description polkit-gnome provides an authentication agent for PolicyKit that matches the look and feel of the GNOME desktop. %prep -%autosetup -p1 +%autosetup -p1 -n PolicyKit-gnome-%{?commit0}%{?!commit0:%{version}} NOCONFIGURE=1 ./autogen.sh %build -%configure -make %{?_smp_mflags} V=1 +%configure --disable-static --enable-compile-warnings=no +%{make_build} V=1 %install %{make_install} -rm -f $RPM_BUILD_ROOT%{_libdir}/*.a -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la - %find_lang polkit-gnome-1 %post -p /sbin/ldconfig @@ -61,12 +61,21 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %postun -p /sbin/ldconfig %files -f polkit-gnome-1.lang -%doc AUTHORS README +%doc AUTHORS README NEWS %license COPYING %{_libexecdir}/* %changelog +* Thu Sep 14 2017 Leigh Scott - 0.106-0.1 +- Switch to git for improved locale support + +* Thu Sep 14 2017 Leigh Scott - 0.105-14 +- Fix source url +- Remove build requires desktop-file-utils +- Add version to PolicyKit-authentication-agent provides +- Spec file clean up + * Thu Aug 03 2017 Fedora Release Engineering - 0.105-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index f5b7e32..d9e7fee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -50ecad37c8342fb4a52f590db7530621 polkit-gnome-0.105.tar.xz +SHA512 (polkit-gnome-a0763a2.tar.gz) = 30de2b59396b21fab8664c695d8ae4d74459ee79765bb41aaea1baa37fbd9eaaeae9ae3946014bf94ef12690f079444292481c8d0785c81f4b1cf7ab6762f8a7