+++ /dev/null
-commit 4fffe8867dd0db611ffe6860d4414f2b13c4fa89
-Author: Richard Hughes <richard@hughsie.com>
-Date: Wed Apr 1 10:00:36 2009 +0100
-
- bugfix: only get the distro upgrades in the update viewer if we support it
-
-diff --git a/src/gpk-update-viewer2.c b/src/gpk-update-viewer2.c
-index 771d84c..8130c30 100644
---- a/src/gpk-update-viewer2.c
-+++ b/src/gpk-update-viewer2.c
-@@ -1464,6 +1464,7 @@ gpk_update_viewer_finished_cb (PkClient *client, PkExitEnum exit, guint runtime,
- GtkTreePath *path;
- GtkTreeModel *model;
- GtkTreeSelection *selection;
-+ PkBitfield roles;
- PkRoleEnum role;
- PkPackageList *list;
- PkRestartEnum restart;
-@@ -1530,8 +1531,11 @@ gpk_update_viewer_finished_cb (PkClient *client, PkExitEnum exit, guint runtime,
- }
-
- if (role == PK_ROLE_ENUM_GET_DETAILS) {
-- /* get the distro-upgrades */
-- g_idle_add ((GSourceFunc) gpk_update_viewer_finished_get_distro_upgrades_cb, NULL);
-+
-+ /* get the distro-upgrades if we support it */
-+ roles = pk_control_get_actions (control, NULL);
-+ if (pk_bitfield_contain (roles, PK_ROLE_ENUM_GET_DISTRO_UPGRADES))
-+ g_idle_add ((GSourceFunc) gpk_update_viewer_finished_get_distro_upgrades_cb, NULL);
-
- /* select the first entry in the updates list now we've got data */
- widget = glade_xml_get_widget (glade_xml, "treeview_updates");
Summary: GNOME PackageKit Client
Summary(pl.UTF-8): Klient PackageKit dla GNOME
Name: gnome-packagekit
-Version: 2.27.1
-Release: 0.1
+Version: 2.27.2
+Release: 1
License: GPL v2+
Group: X11/Applications
Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 7a38bcdfda3e712365f674c51565e845
-Patch0: %{name}-update-viewer-crash.patch
+# Source0-md5: f9811f51567280e13d61547387503303
URL: http://www.packagekit.org/
BuildRequires: GConf2-devel
BuildRequires: PackageKit-devel >= 0.4.3
BuildRequires: intltool >= 0.35.0
BuildRequires: libglade2-devel >= 1:2.6.2
BuildRequires: libnotify-devel >= 0.4.4
-BuildRequires: libsexy-devel >= 0.1.11
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: rpmbuild(find_lang) >= 1.23
%prep
%setup -q
-%patch0 -p1
%build
+mkdir m4
+sed -i 's/gpk-xxxxxxxxxxxxx/gpk-application/g' man/gpk-application.sgml
+sed -i 's/gpk-xxxxxxxxxxxxx/gpk-backend-status/g' man/gpk-backend-status.sgml
%{__intltoolize}
%{__libtoolize}
%{__aclocal} -I m4
%attr(755,root,root) %{_bindir}/gpk-service-pack
%attr(755,root,root) %{_bindir}/gpk-update-icon
%attr(755,root,root) %{_bindir}/gpk-update-viewer
-%attr(755,root,root) %{_bindir}/gpk-update-viewer2
%{_datadir}/gnome-packagekit
%{_sysconfdir}/gconf/schemas/gnome-packagekit.schemas
%{_datadir}/gnome/autostart/gpk-update-icon.desktop
%{_desktopdir}/gpk-repo.desktop
%{_desktopdir}/gpk-service-pack.desktop
%{_desktopdir}/gpk-update-viewer.desktop
+%{_mandir}/man1/gpk-application.1*
+%{_mandir}/man1/gpk-backend-status.1*
%{_mandir}/man1/gpk-install-local-file.1*
%{_mandir}/man1/gpk-install-mime-type.1*
%{_mandir}/man1/gpk-install-package-name.1*