Switch to git for improved locale support
This commit is contained in:
parent
986e612150
commit
117f2f49ee
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user