Hello community,

here is the log from the commit of package PackageKit.590 for 
openSUSE:12.2:Update checked in at 2012-07-03 11:35:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/PackageKit.590 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.PackageKit.590.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "PackageKit.590", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2012-06-28 07:48:42.835576985 +0200
+++ /work/SRC/openSUSE:12.2:Update/.PackageKit.590.new/PackageKit.changes       
2012-07-03 11:35:37.000000000 +0200
@@ -0,0 +1,2352 @@
+-------------------------------------------------------------------
+Wed Jun 20 18:47:20 UTC 2012 - [email protected]
+
+- Add PackageKit-zypp-packagesize.patch: libzypp changed their
+  API and now returns Bytes instead of KBytes.
+- Add call to autoreconf, as above patch touches the build system.
+
+-------------------------------------------------------------------
+Wed Jun 20 13:23:02 UTC 2012 - [email protected]
+
+- gcc46 is no longer required for libzypp
+
+-------------------------------------------------------------------
+Thu Apr 26 06:31:34 UTC 2012 - [email protected]
+
+- Update to version 0.7.4:
+  + New Features:
+    - Deprecate Message(untrusted-package) from the API
+    - Install pk-task-sync.h as part of the public API
+    - Add full integration so that UI can know when to repair the
+      system
+  + Libraries (glib): Add GType's for packagekit-glib2 enumerations
+  + Libraries (qt2): Add simulateRepairSystem and
+    repairSystem(bool) to the Transaction API
+  + Libraries (python): Speed up get_package_list
+  + Zypp Backend:
+    - Build pool before resolving
+    - Do not set a PACKAGE_NOT_FOUND error when resolving packages
+  + Non-zypp backends updates.
+  + Bugfixes:
+    - Add some documentation about the auto-untrusted logic
+    - Add some documentation for the new RepairSystem transaction
+      interaction
+    - Do not allow an empty resolve call to be passed down to the
+      backends
+    - Do not include the website in the tarball
+    - Drop --print-reply from dbus-send command used on
+      suspend/resume
+- Remove doc subpackage, as it only contained the website which is
+  not shipped anymore in the tarball. Add a Obsoletes for it to the
+  main subpackage for smooth upgrades.
+- Add a force_gcc46 define that we can use to force building with
+  gcc 4.6. This is needed in Factory for now, as libzypp doesn't
+  build with gcc 4.7 right now. When this is set, we use gcc46-c++
+  BuildRequires and export CC and CXX environment variables to use
+  gcc 4.6.
+- Add
+  0003-Revert-packagekit-qt2-Since-new-methods-and-enums-wh.patch:
+  the soversion of libpackagekit-qt2 has been decreased by
+  accident, so revert this change for now.
+
+-------------------------------------------------------------------
+Fri Mar  2 10:59:58 UTC 2012 - [email protected]
+
+- Update to version 0.7.3:
+  + New Features:
+    - Add LANGUAGE_SUPPORT what-provides type
+  + Libraries (glib):
+    - Don't segfault the client if there are no cached properties
+    - Fix a critical warning in gnome-settings-daemon when setting
+      the proxy
+    - Fix transfer annotation of pk_results_get_package_sack()
+    - Fix transfer annotations for GPtrArray returns
+    - Do not send progress updates for non-verb packages
+  + Non-zypp backends updates.
+  + Bugfixes:
+    - Document CODEC what-provides type
+    - Don't crash when the system bus isn't available, just abort
+      with an error
+    - Fix a critical warning when starting gnome-settings-daemon
+    - Imply the install trusted polkit auth when we get the remove
+      auth
+    - Imply the install trusted polkit auth when we get the
+      untrusted auth
+    - Port the session example code to GDBus
+    - Website updates.
+- Remove xz BuildRequires now that it comes for free in the build
+  system.
+
+-------------------------------------------------------------------
+Wed Feb 15 11:08:41 UTC 2012 - [email protected]
+
+- Move dbus xml interface files from devel subpackage to main
+  subpackage: PackageKit now requires them at runtime to work.
+- Move the zypp backend to a new backend-zypp subpackage: this will
+  make it clearer to users which backend is being used. It also
+  makes it easier to test small changes in the zypp backend.
+- Move all test backends to devel subpackage, as they are not
+  useful to users.
+- Add PackageKit-backend Requires to main subpackage, so we get a
+  working backend by default. This will be PackageKit-backend-zypp
+  since nothing else provides this right now.
+
+-------------------------------------------------------------------
+Wed Jan 18 07:23:39 UTC 2012 - [email protected]
+
+- Update to version 0.7.2:
+  + New Features:
+    - Add a new repair-system policy and use it by the
+      corresponding RepairSystem method
+    - Add a transaction_reset backend hook
+    - Add new roles SimulateRepairSystem and RepairSystem
+    - Add pk_*_enum_to_localised_text to pk-enum.h and export via
+      GIR
+    - Add possibility to connect/disconnect backend signals
+    - Add PropertiesChanged signals to the main and transaction
+      interfaces
+    - Allow the Plasma version to be specified for
+      PK_PROVIDES_ENUM_PLASMA_SERVICE
+  + Libraries (glib):
+    - Convert libpackagekit-glib2 from dbus-glib to GDBus
+    - Skip empty catalog entries
+  + Libraries (qt):
+    - Automatically rebuild moc files with different moc version
+  + Zypp Backend:
+    - Retrieve url for packages instead of returning "TODO"
+  + Non-zypp backends updates.
+  + Bugfixes:
+    - browser-plugin: Make it compile with newest xulrunner
+    - Fix a critical warning in the client tools when a simulation
+      is cancelled
+    - Fix builddir != srcdir issue
+    - Fix item-percentage call in the spawned backend
+    - gtk-plugin: Fix name of GTK plugin schema file
+    - Make PkProc part of the daemon again
+    - Remove deprecated g_thread_init() on GLib < 2.31
+    - Set the frontend socket as environment variable in the
+      spawned backend
+    - Update the website matrix to include the new
+      (Simulate)RepairSystem roles
+- Rebase patches, via git, including removal of
+  0002-Retrieve-url-for-packages-instead-of-returning-TODO.patch
+  (fixed upstream).
+
+-------------------------------------------------------------------
+Wed Dec 21 15:32:38 UTC 2011 - [email protected]
+
+- Update to version 0.7.1:
+  + New Features:
+    - Add command line option to keep environment
+    - Add Introspection support for PK-Plugins
+    - Add possibility for backends/plugins to skip transactions
+    - Add 'uid' and 'cmdline' properties to PkBackend
+    - Use the new g_thread_new() for new versions of GLib
+  + Libraries (qt): Drop packagekit-qt1 which is obsolete in favor
+    of packagekit-qt2
+  + Libraries (qt2):
+    - Remove old Find* macro
+    - Really do not distribute moc files
+  + Zypp Backend:
+    - Dont call build pool inside the loop
+    - Only load repositories once
+    - Refactor the private static data into one structure
+  + Non-zypp backends updates
+  + Bugfixes:
+    - Check if a transaction should be skipped after it has started
+      too
+    - Don't use the deprecated g_thread_supported() in the dameon
+      code
+    - Finalize PackageKitPlugin GIR file
+    - Find uninstalled PackageKitGlib-1.0.gir when building
+    - Fix the role of the EULA transaction
+    - Make PK compile on GNU Hurd
+    - Move the gtk-module extra files to the PK tarball
+    - Offset the cache age by 30 minutes
+    - plugin: Add a few GIR annotations
+    - Remove the implemented checks for the simulate methods
+    - Require exactly 'y<enter>' or 'yes<enter>' before running a
+      transaction
+    - Use the newest filter when resolving for new packages to
+      install
+    - website: Fix broken link to gdb docs
+    - website: Improve links to bug trackers
+- Changes from version 0.7.0:
+  + Notes:
+    - This is the first release of the unstable 0.7.x series.
+    - This code removes a lot of deprecated code and compatibility
+      shims compared to the previous branch.
+    - Highlights of this release is the new transaction plugin
+      interface that allows external projects to add modules for
+      interfacing with PackageKit.
+  + New Features:
+    - Add an 'auto' string for the --with-default-backend=
+      configure option
+    - Add an example plugin that saves private state
+    - Add an example to contrib to show how to build an out-of-tree
+      plugin
+    - Add an ItemProgress signal designed to eventually replace
+      SubPercentage
+    - Add an untrusted section header when using console
+      applications
+    - Add a PK_PROVIDES_ENUM_LIBRARY entry
+    - Add a "Python" type to PkProvidesEnum and document how the
+      provided components should be named
+    - Add a transaction plugin infrastructure to packagekitd
+    - Do not do the compatibility method fallbacks anymore
+    - Don't ship all the valid licences as enums anymore
++++ 2155 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.2:Update/.PackageKit.590.new/PackageKit.changes

New:
----
  0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch
  0002-Build-against-npapi-sdk-instead-of-xulrunner.patch
  0003-Revert-packagekit-qt2-Since-new-methods-and-enums-wh.patch
  PackageKit-0.7.4.tar.xz
  PackageKit-zypp-packagesize.patch
  PackageKit.changes
  PackageKit.spec
  baselibs.conf

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ PackageKit.spec ++++++
#
# spec file for package PackageKit
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


# $ pkcon search file /usr/bin/anjuta
%define BUILD_CNF 1

%if 0%{suse_version} > 1130
%define xulrunner_version 20
%else
%if 0%{suse_version} > 1120
%define xulrunner_version 192
%else
%if 0%{suse_version} > 1110
%define xulrunner_version 191
%else
%define xulrunner_version 190
%endif
%endif
%endif

Name:           PackageKit
Version:        0.7.4
Release:        0
Summary:        Simple software installation management software
License:        GPL-2.0+
Group:          System/Daemons
Url:            http://packagekit.org/
Source:         http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
Source2:        baselibs.conf
# To update this package, please git-format-patch the tag of the
# tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: 
openSUSE_Factory)
# in https://github.com/openSUSE/PackageKit and keep the patches
# in that git repository for easier tracking and merging.
# When updating the package you can rebase the distro branch against
# the new release tag.
#
# PATCH-FEATURE-OPENSUSE 
0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch 
[email protected] -- Change the configuration of the cron script to a 
sysconfig-like config
Patch0:         0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch
# PATCH-FIX-UPSTREAM PackageKit-npapi.patch fdo#40026 [email protected] -- 
Build against npapi-sdk instead of xulrunner
Patch1:         0002-Build-against-npapi-sdk-instead-of-xulrunner.patch
# PATCH-FIX-UPSTREAM 
0003-Revert-packagekit-qt2-Since-new-methods-and-enums-wh.patch 
[email protected] -- Fix broken soversion of libpackagekit-qt2, will be fixed 
properly in next upstream version
Patch2:         0003-Revert-packagekit-qt2-Since-new-methods-and-enums-wh.patch
#
# PATCH-FIX-UPSTREAM PackageKit-zypp-packagesize.patch bnc#764677 
[email protected] -- libzypp changed API and now returns Bytes instead of 
KBytes.
Patch3:         PackageKit-zypp-packagesize.patch
BuildRequires:  NetworkManager-devel
BuildRequires:  automake
BuildRequires:  docbook-utils
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gobject-introspection-devel
BuildRequires:  gstreamer-0_10-devel
BuildRequires:  gstreamer-0_10-plugins-base-devel
BuildRequires:  gtk-doc
BuildRequires:  gtk2-devel
BuildRequires:  gtk3-devel
BuildRequires:  intltool
BuildRequires:  libarchive-devel
BuildRequires:  libcppunit-devel
BuildRequires:  libgudev-1_0-devel
BuildRequires:  libqt4-devel
BuildRequires:  libtool
BuildRequires:  libzypp-devel
BuildRequires:  mozilla-nspr-devel >= 4.8
%if 0%{suse_version} > 1140
BuildRequires:  pkgconfig(npapi-sdk)
%else
BuildRequires:  mozilla-xulrunner%{xulrunner_version}-devel
%endif
BuildRequires:  pm-utils
BuildRequires:  polkit-devel >= 0.98
BuildRequires:  python-devel
# We need the %%mime_database_* macros
BuildRequires:  shared-mime-info
BuildRequires:  sqlite-devel
BuildRequires:  translation-update-upstream
Requires:       %{name}-branding = %{version}
# We really want a working backend (likely zypp)
Requires:       %{name}-backend
Recommends:     %{name}-lang
PreReq:         %fillup_prereq
# doc package only contained the website, and got removed in 0.7.4
Obsoletes:      %{name}-doc < 0.7.4
# gtk+ 2 module was removed in 0.7.0
Obsoletes:      %{name}-gtk-module < 0.7.0
# ruck was removed in 0.6.4, make sure it gets removed
Obsoletes:      ruck <= 0.6.3
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%py_requires
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif

%description
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package backend-zypp
Summary:        Simple software installation management software -- Zypp Backend
Group:          System/Daemons
Requires:       %{name} = %{version}
Provides:       %{name}-backend = %{version}

%description backend-zypp
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package -n typelib-1_0-PackageKitPlugin-1_0
Summary:        Simple software installation management software -- Plugin 
library, Introspection bindings
Group:          System/Libraries

%description -n typelib-1_0-PackageKitPlugin-1_0
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

This package provides the GObject Introspection bindings for the
PackageKit plugin library.

%package browser-plugin
Summary:        Simple software installation management software
Group:          Productivity/Networking/Web/Browsers
Recommends:     %{name} = %{version}
Supplements:    packageand(%{name}:MozillaFirefox)
Supplements:    packageand(%{name}:epiphany)

%description browser-plugin
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package gstreamer-plugin
Summary:        Simple software installation management software
Group:          Productivity/Multimedia/Other
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends:     %{name} = %{version}
Supplements:    packageand(%{name}:gstreamer-0_10-plugins-base)
%if %suse_version > 1130
Provides:       opensuse-codecs-installer = 10.3.1
Obsoletes:      opensuse-codecs-installer <= 10.3.1
%endif

%description gstreamer-plugin
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package gtk3-module
Summary:        Simple software installation management software
Group:          System/Libraries
Recommends:     %{name} = %{version}
Supplements:    packageand(%{name}:gtk3)
%glib2_gsettings_schema_requires

%description gtk3-module
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package devel
Summary:        Needed include files and libraries for development
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}
Requires:       libpackagekit-glib2-devel
Requires:       typelib-1_0-PackageKitPlugin-1_0 = %{version}

%description devel
This package contains all necessary include files, libraries,
configuration files and development tools (with manual pages) needed to
compile and link applications using PackageKit.

%package -n libpackagekit-glib2-14
Summary:        Simple software installation management software
Group:          System/Libraries
Recommends:     %{name}
Provides:       libpackagekit-glib12 = %{version}
Obsoletes:      libpackagekit-glib12 < %{version}

%description -n libpackagekit-glib2-14
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package -n typelib-1_0-PackageKitGlib-1_0
Summary:        Simple software installation management software -- 
Introspection bindings
Group:          System/Libraries

%description -n typelib-1_0-PackageKitGlib-1_0
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

This package provides the GObject Introspection bindings for the
PackageKit client library.

%package -n libpackagekit-glib2-devel
Summary:        Simple software installation management software
Group:          Development/Libraries/GNOME
Requires:       libpackagekit-glib2-14 = %{version}
Requires:       typelib-1_0-PackageKitGlib-1_0 = %{version}
Provides:       libpackagekit-glib12-devel = %{version}
Obsoletes:      libpackagekit-glib12-devel < %{version}

%description -n libpackagekit-glib2-devel
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package -n libpackagekit-qt2-2
Summary:        Simple software installation management software
Group:          System/Libraries
Recommends:     %{name}

%description -n libpackagekit-qt2-2
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package -n libpackagekit-qt2-devel
Summary:        Simple software installation management software
Group:          Development/Libraries/C and C++
Requires:       libpackagekit-qt2-2 = %{version}

%description -n libpackagekit-qt2-devel
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

%package branding-upstream
Summary:        Simple software installation management software -- Upstream 
default configuration
Group:          System/Daemons
Requires:       %{name} = %{version}
Provides:       %{name}-branding = %{version}
Conflicts:      otherproviders(%{name}-branding)
Supplements:    packageand(%{name}:branding-upstream)
BuildArch:      noarch
#BRAND: Provide configuration files -
#BRAND: /etc/PackageKit/*

%description branding-upstream
PackageKit is a system designed to make installing and updating
software on your computer easier.  The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.

This package provides the upstream default configuration for PackageKit.

%lang_package
%prep
%setup -q
translation-update-upstream
%patch0 -p1
%if 0%{?suse_version} > 1140
%patch1 -p1
%endif
%patch2 -p1
%patch3 -p1

%build
# Needed due to patch 3
autoreconf -fi
%configure \
        --disable-static \
        --enable-zypp \
        --with-default-backend=zypp \
        --with-security-framework=polkit \
        --with-mozilla-plugin-dir=%{_libdir}/browser-plugins \
%if ! %BUILD_CNF
        --disable-command-not-found \
%endif
        %{nil}
make %{?_smp_mflags} V=1

%install
%makeinstall
mv %{buildroot}%{_sysconfdir}/bash_completion.d/pk-completion.{ba,}sh
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
# the pm-utils package in openSUSE uses libexecdir and not libdir
%if "%{_libdir}" != "%{_libexecdir}"
    test ! -e %{buildroot}%{_libexecdir}/pm-utils
    mv %{buildroot}%{_libdir}/pm-utils %{buildroot}%{_libexecdir}/pm-utils
%endif
# move the cron configuration to a sysconfig template
install -d %{buildroot}%{_localstatedir}/adm/fillup-templates
mv %{buildroot}%{_sysconfdir}/sysconfig/packagekit-background 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.packagekit-background
# create ghost file
touch %{buildroot}%{_libexecdir}/gst-install-plugins-helper
%find_lang %{name} %{?no_lang_C}
%fdupes $RPM_BUILD_ROOT

%post
%{fillup_only -n packagekit-background}
%mime_database_post

%postun
%mime_database_postun

%post gstreamer-plugin
update-alternatives --install %{_libexecdir}/gst-install-plugins-helper 
gst-install-plugins-helper %{_libexecdir}/pk-gstreamer-install 10

%postun gstreamer-plugin
# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
if [ ! -f %{_libexecdir}/pk-gstreamer-install ]; then
  update-alternatives --remove gst-install-plugins-helper 
%{_libexecdir}/pk-gstreamer-install
fi

%post gtk3-module
%glib2_gsettings_schema_post

%postun gtk3-module
%glib2_gsettings_schema_postun

%post -n libpackagekit-glib2-14 -p /sbin/ldconfig

%post -n libpackagekit-qt2-2 -p /sbin/ldconfig

%postun -n libpackagekit-glib2-14 -p /sbin/ldconfig

%postun -n libpackagekit-qt2-2 -p /sbin/ldconfig

%files lang -f %{name}.lang

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING HACKING NEWS README
%dir %{_sysconfdir}/PackageKit
%dir %{_sysconfdir}/PackageKit/events
%dir %{_sysconfdir}/PackageKit/events/post-transaction.d
%dir %{_sysconfdir}/PackageKit/events/pre-transaction.d
%dir %{_datadir}/PackageKit
%dir %{_datadir}/PackageKit/helpers
%dir %{_datadir}/PackageKit/helpers/test_spawn
%dir %{_libdir}/packagekit-backend
%dir %{_libdir}/packagekit-plugins
%dir %{python_sitelib}/packagekit
%dir %{_libexecdir}/pm-utils
%dir %{_libexecdir}/pm-utils/sleep.d
%dir %{_localstatedir}/lib/PackageKit
%{_sysconfdir}/PackageKit/events/post-transaction.d/README
%{_sysconfdir}/PackageKit/events/pre-transaction.d/README
%{_sysconfdir}/bash_completion.d/pk-completion.sh
%{_sysconfdir}/cron.daily/packagekit-background.cron
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf
%if %BUILD_CNF
%{_sysconfdir}/profile.d/PackageKit.sh
%endif
%{_localstatedir}/adm/fillup-templates/sysconfig.packagekit-background
%{_bindir}/packagekit-bugreport.sh
%{_bindir}/pk-debuginfo-install
%{_bindir}/pkcon
%{_bindir}/pkmon
%{_bindir}/pkgenpack
%{_libdir}/packagekit-backend/libpk_backend_dummy.so
%{_libdir}/packagekit-plugins/libpk_plugin-check-shared-libraries-in-use.so
%{_libdir}/packagekit-plugins/libpk-plugin-clear-firmware-requests.so
%{_libdir}/packagekit-plugins/libpk_plugin-no-update-process.so
%{_libdir}/packagekit-plugins/libpk_plugin-scan-desktop-files.so
%{_libdir}/packagekit-plugins/libpk_plugin_scripts.so
%{_libdir}/packagekit-plugins/libpk_plugin-update-check-processes.so
%{_libdir}/packagekit-plugins/libpk_plugin-update-package-list.so
%{_libexecdir}/packagekitd
%{_libexecdir}/pm-utils/sleep.d/95packagekit
%if %BUILD_CNF
%{_libexecdir}/pk-command-not-found
%endif
%{python_sitelib}/packagekit/*
%{_sbindir}/pk-device-rebind
%{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml
%{_datadir}/mime/packages/packagekit-*.xml
%{_datadir}/PackageKit/helpers/test_spawn/search-name.sh
%{_datadir}/PackageKit/pk-upgrade-distro.sh
%{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy
%{_datadir}/dbus-1/system-services/*
%doc %{_mandir}/man?/*.*
%verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db

%files backend-zypp
%defattr(-,root,root)
%{_libdir}/packagekit-backend/libpk_backend_zypp.so

%files -n typelib-1_0-PackageKitPlugin-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/PackageKitPlugin-1.0.typelib

%files browser-plugin
%defattr(-,root,root)
%{_libdir}/browser-plugins/packagekit-plugin.so

%files gstreamer-plugin
%defattr(-,root,root)
%ghost %attr(755,root,root) %{_libexecdir}/gst-install-plugins-helper
%{_libexecdir}/pk-gstreamer-install

%files gtk3-module
%defattr(-,root,root)
%dir %{_libdir}/gnome-settings-daemon-3.0
%dir %{_libdir}/gnome-settings-daemon-3.0/gtk-modules
%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop
%{_libdir}/gtk-3.0/modules/*
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.gtk-modules-packagekit.gschema.xml

%files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/PackageKit
# Test backends are not useful, except for developers
%{_libdir}/packagekit-backend/libpk_backend_test_fail.so
%{_libdir}/packagekit-backend/libpk_backend_test_nop.so
%{_libdir}/packagekit-backend/libpk_backend_test_spawn.so
%{_libdir}/packagekit-backend/libpk_backend_test_succeed.so
%{_libdir}/packagekit-backend/libpk_backend_test_thread.so
%{_libdir}/pkgconfig/packagekit-plugin.pc
%dir %{_includedir}/PackageKit
%{_includedir}/PackageKit/backend/
%{_includedir}/PackageKit/plugin/
%{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir

%files -n libpackagekit-glib2-14
%defattr(-,root,root)
%{_libdir}/libpackagekit-glib2.so.*

%files -n typelib-1_0-PackageKitGlib-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib

%files -n libpackagekit-glib2-devel
%defattr(-,root,root)
%{_libdir}/libpackagekit-glib2.so
%{_libdir}/pkgconfig/packagekit-glib2.pc
%dir %{_includedir}/PackageKit
%{_includedir}/PackageKit/packagekit-glib2/
%{_datadir}/gir-1.0/PackageKitGlib-1.0.gir

%files -n libpackagekit-qt2-2
%defattr(-,root,root)
%{_libdir}/libpackagekit-qt2.so.*

%files -n libpackagekit-qt2-devel
%defattr(-,root,root)
%{_libdir}/libpackagekit-qt2.so
%{_libdir}/cmake/packagekit-qt2/
%{_libdir}/pkgconfig/packagekit-qt2.pc
%dir %{_includedir}/PackageKit
%{_includedir}/PackageKit/packagekit-qt2/

%files branding-upstream
%defattr(-,root,root)
%if %BUILD_CNF
%config(noreplace) %{_sysconfdir}/PackageKit/CommandNotFound.conf
%endif
%config(noreplace) %{_sysconfdir}/PackageKit/PackageKit.conf
# This file should not be touched by users/admins, so we can replace it
%{_sysconfdir}/PackageKit/Vendor.conf

%changelog
++++++ 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch ++++++
>From 744da7ce30ec3ef1fc5e1a40a9ffab520315ab06 Mon Sep 17 00:00:00 2001
From: Vincent Untz <[email protected]>
Date: Tue, 26 Jul 2011 11:34:22 +0200
Subject: [PATCH 1/3] Change the configuration of the cron script to a
 sysconfig-like config

---
 contrib/cron/packagekit-background |   43 +++++++++++++++++++++++++++---------
 1 file changed, 33 insertions(+), 10 deletions(-)

diff --git a/contrib/cron/packagekit-background 
b/contrib/cron/packagekit-background
index e5b5c9b..783e2df 100644
--- a/contrib/cron/packagekit-background
+++ b/contrib/cron/packagekit-background
@@ -1,18 +1,41 @@
-# should we attempt to do this? (valid: yes|no)
+## Path:       System/Cron/PackageKit
+## Description: Cron job to update the system daily with PackageKit
+
+## Type:       yesno
+## Default:    no
+#
+# Run the cron job.
+#
 ENABLED=no
 
-# don't install, just check (valid: yes|no)
+## Type:       yesno
+## Default:    no
+#
+# Check if updates are available, instead of installing.
+#
 CHECK_ONLY=no
 
-# if MAILTO is set, the mail command is used to deliver PackageKit output
-# by default MAILTO is unset, so crond mails the output by itself
-#MAILTO=root
+## Type:       string
+## Default:    ""
+#
+# If MAILTO is set, the mail command is used to deliver PackageKit output.
+# By default MAILTO is unset, so crond mails the output by itself.
+#
+MAILTO=""
 
-# you may set SYSTEM_NAME if you want your PackageKit emails tagged 
-# differently default is output of hostname command
-#SYSTEM_NAME=""
+## Type:       string
+## Default:    ""
+#
+# You may set SYSTEM_NAME if you want your PackageKit emails tagged 
differently.
+# Default is output of hostname command.
+#
+SYSTEM_NAME=""
 
-# update checks will sleep random time before contacting the servers to
+## Type:       integer
+## Default:    3600
+#
+# Update checks will sleep random time before contacting the servers to
 # avoid hammering them with thousands of request at the same time - this
-# is the maximum sleep time (in seconds) for the random wait period
+# is the maximum sleep time (in seconds) for the random wait period.
+#
 SLEEP_MAX=3600
-- 
1.7.9.2

++++++ 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch ++++++
>From cb38c672b92c85923826612520076cbb5d204ad7 Mon Sep 17 00:00:00 2001
From: Wolfgang Rosenauer <[email protected]>
Date: Tue, 25 Oct 2011 14:27:15 +0200
Subject: [PATCH 2/3] Build against npapi-sdk instead of xulrunner

https://bugs.freedesktop.org/show_bug.cgi?id=40026
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3c52f68..026f635 100644
--- a/configure.ac
+++ b/configure.ac
@@ -349,7 +349,7 @@ AC_ARG_ENABLE(browser_plugin, 
AS_HELP_STRING([--enable-browser-plugin],[Build br
              enable_browser_plugin=$enableval,enable_browser_plugin=yes)
 if test x$enable_browser_plugin = xyes; then
        PKG_CHECK_MODULES(PK_BROWSER_PLUGIN,    \
-                         mozilla-plugin >= 8.0 \
+                         npapi-sdk             \
                          gio-unix-2.0          \
                          nspr >= 4.8           \
                          cairo                 \
-- 
1.7.9.2

++++++ 0003-Revert-packagekit-qt2-Since-new-methods-and-enums-wh.patch ++++++
>From 1e15aa707dfaf20d47e2679b0d6fb8a6fb2d59c2 Mon Sep 17 00:00:00 2001
From: Vincent Untz <[email protected]>
Date: Thu, 26 Apr 2012 15:17:01 +0200
Subject: [PATCH 3/3] Revert "packagekit-qt2: Since new methods and enums
 where added let's change the version number to 2.0.1"

This reverts commit 79545c4c40b20c2380c18971122efb7c72b7dd0a.

This is just wrong, as it results in .so.1 instead of .so.2 (which was
intended): we're going backwards with the soversion.

Next version will have a proper fix.
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 026f635..f7129f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ AC_SUBST(LT_AGE)
 #
 LT_QT_CURRENT=2
 LT_QT_REVISION=0
-LT_QT_AGE=1
+LT_QT_AGE=0
 AC_SUBST(LT_QT_CURRENT)
 AC_SUBST(LT_QT_REVISION)
 AC_SUBST(LT_QT_AGE)
-- 
1.7.9.2

++++++ PackageKit-zypp-packagesize.patch ++++++
>From e6191bb910bca7f47726be2ee273b29e9d74442d Mon Sep 17 00:00:00 2001
From: Max Lin <[email protected]>
Date: Mon, 18 Jun 2012 15:33:27 +0800
Subject: [PATCH] zypp: Fix calculation of package size with recent versions
 of libzypp

Since the return size no longer is KBytes in libzypp, but Bytes, we do
not need to do size * 1024, starting with libzypp 11.4.0.
---
 backends/zypp/pk-backend-zypp.cpp |    6 ++++++
 configure.ac                      |    4 ++++
 2 files changed, 10 insertions(+)

diff --git a/backends/zypp/pk-backend-zypp.cpp 
b/backends/zypp/pk-backend-zypp.cpp
index f7398e0..d909b35 100644
--- a/backends/zypp/pk-backend-zypp.cpp
+++ b/backends/zypp/pk-backend-zypp.cpp
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 
USA.
  */
 
+#include "config.h"
+
 #include <gmodule.h>
 #include <glib.h>
 #include <pk-backend.h>
@@ -580,7 +582,11 @@ backend_get_details_thread (PkBackend *backend)
                                                    group,
                                                    package.lookupStrAttribute 
(sat::SolvAttr::description).c_str (),
                                                    package.lookupStrAttribute 
(sat::SolvAttr::url).c_str (),
+#ifdef ZYPP_RETURN_BYTES
+                                                   size);
+#else
                                                    size * 1024);
+#endif
                        }
 
                } catch (const target::rpm::RpmException &ex) {
diff --git a/configure.ac b/configure.ac
index 12a3610..3d9ea64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -742,6 +742,10 @@ fi
 
 if test x$enable_zypp = xyes; then
        PKG_CHECK_MODULES(ZYPP, libzypp >= 6.16.0)
+       PKG_CHECK_EXISTS(libzypp >= 11.4.0, [ ZYPP_RETURN_BYTES="yes" ], [ 
ZYPP_RETURN_BYTES="no" ])
+       if test "x$ZYPP_RETURN_BYTES" = "xyes"; then
+           AC_DEFINE(ZYPP_RETURN_BYTES, 1, [define if libzypp returns package 
size in bytes])
+       fi
 fi
 
 if test x$enable_slapt = xyes; then
-- 
1.7.10


++++++ baselibs.conf ++++++
libpackagekit-glib2-14
libpackagekit-glib2-devel
        requires -libpackagekit-glib2-<targettype>
        requires "libpackagekit-glib2-14-<targettype> = <version>"
libpackagekit-qt14
libpackagekit-qt-devel
        requires -libpackagekit-qt-<targettype>
        requires "libpackagekit-qt14-<targettype> = <version>"
libpackagekit-qt2-2
libpackagekit-qt2-devel
        requires -libpackagekit-qt2-<targettype>
        requires "libpackagekit-qt2-2-<targettype> = <version>"
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to