Group :: System/Libraries
RPM: polkit-gnome
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_enable snapshot
%define _libexecdir %_prefix/libexec/polkit-1
%define oldname PolicyKit-gnome
Name: polkit-gnome
Version: 0.106
Release: alt0.1
Summary: polkit integration tool for the GNOME 3 desktop
License: GPLv2+
Group: System/Libraries
Url: http://git.gnome.org/cgit/PolicyKit-gnome/
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Requires: polkit
Provides: %oldname = %version-%release
Obsoletes: %oldname < %version
Obsoletes: lib%name
%if_disabled snapshot
Source: http://ftp.gnome.org/pub/gnome/sources/%name/%version/%name-%version.tar.xz
%else
Source: %name-%version.tar
%endif
Patch: %name-0.106-alt-desktop.patch
BuildRequires(pre): rpm-build-xdg
BuildRequires: gnome-common intltool libpolkit-devel libgtk+3-devel libcairo-gobject-devel
%description
%name provides a GNOME Authentication Agent for polkit that matches the
look and feel of the GNOME desktop.
%prep
%setup
%patch -p1
%build
%autoreconf
%configure \
--disable-static
%make_build
%install
%makeinstall_std
%find_lang %name-1
%files -f %name-1.lang
%doc README AUTHORS NEWS HACKING
%_libexecdir/%name-authentication-agent-1
%_xdgconfigdir/autostart/%name-authentication-agent-1.desktop
%changelog
…
Full changelog you can see here
%define _libexecdir %_prefix/libexec/polkit-1
%define oldname PolicyKit-gnome
Name: polkit-gnome
Version: 0.106
Release: alt0.1
Summary: polkit integration tool for the GNOME 3 desktop
License: GPLv2+
Group: System/Libraries
Url: http://git.gnome.org/cgit/PolicyKit-gnome/
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Requires: polkit
Provides: %oldname = %version-%release
Obsoletes: %oldname < %version
Obsoletes: lib%name
%if_disabled snapshot
Source: http://ftp.gnome.org/pub/gnome/sources/%name/%version/%name-%version.tar.xz
%else
Source: %name-%version.tar
%endif
Patch: %name-0.106-alt-desktop.patch
BuildRequires(pre): rpm-build-xdg
BuildRequires: gnome-common intltool libpolkit-devel libgtk+3-devel libcairo-gobject-devel
%description
%name provides a GNOME Authentication Agent for polkit that matches the
look and feel of the GNOME desktop.
%prep
%setup
%patch -p1
%build
%autoreconf
%configure \
--disable-static
%make_build
%install
%makeinstall_std
%find_lang %name-1
%files -f %name-1.lang
%doc README AUTHORS NEWS HACKING
%_libexecdir/%name-authentication-agent-1
%_xdgconfigdir/autostart/%name-authentication-agent-1.desktop
%changelog
…
Full changelog you can see here