Switch to git for improved locale support

This commit is contained in:
leigh123linux 2017-09-14 12:41:52 +01:00
parent 986e612150
commit 117f2f49ee
3 changed files with 31 additions and 21 deletions

1
.gitignore vendored
View File

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

View File

@ -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 <leigh123linux@googlemail.com> - 0.106-0.1
- Switch to git for improved locale support
* Thu Sep 14 2017 Leigh Scott <leigh123linux@googlemail.com> - 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 <releng@fedoraproject.org> - 0.105-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
50ecad37c8342fb4a52f590db7530621 polkit-gnome-0.105.tar.xz
SHA512 (polkit-gnome-a0763a2.tar.gz) = 30de2b59396b21fab8664c695d8ae4d74459ee79765bb41aaea1baa37fbd9eaaeae9ae3946014bf94ef12690f079444292481c8d0785c81f4b1cf7ab6762f8a7