Summary: System daemon that is a D-Bus abstraction layer for package management
Summary(pl.UTF-8): Demon systemowy będący warstwą abstrakcji D-Bus do zarządzania pakietami
Name: PackageKit
-Version: 0.6.15
+Version: 0.6.21
Release: 1
License: GPL v2+
Group: Applications/System
-Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: 432f505462a00473c941ff907d97953e
+Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
+# Source0-md5: 216ad7429d6ea263e7e300be25a01110
Patch1: %{name}-PLD.patch
Patch2: bashism.patch
Patch3: smart-at-fix.patch
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: sqlite3-devel
+BuildRequires: tar >= 1:1.22
BuildRequires: udev-glib-devel
+BuildRequires: xz
%if %{with browser}
BuildRequires: cairo-devel
BuildRequires: nspr-devel
Requires(post,postun): shared-mime-info
Requires: %{name}-backend
Requires: %{name}-libs = %{version}-%{release}
-Requires: ConsoleKit
+Requires: ConsoleKit-x11
Requires: crondaemon
Requires: polkit >= 0.92
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%{__rm} $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum/yumBackend.py[co]
%endif
+# unsupported
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/it_IT
+
%py_postclean
%find_lang %{name}
%post qt -p /sbin/ldconfig
%postun qt -p /sbin/ldconfig
+%post qt2 -p /sbin/ldconfig
+%postun qt2 -p /sbin/ldconfig
+
%post -n browser-plugin-packagekit
%update_browser_plugins