File gnome-packagekit.spec of Package gnome-packagekit
#
# spec file for package gnome-packagekit (Version 0.3.11)
#
# Copyright (c) 2009 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/
#
Name: gnome-packagekit
Url: http://packagekit.org/
Version: 0.3.11
Release: 2.<RELEASE3>
License: GPL v2 or later
Source: %{name}-%{version}.tar.bz2
#the .po files from https://forgesvn1.novell.com/viewsvn/suse-i18n/trunk/lcn/
Source1: %{name}-po.tar.gz
Patch1: gnome-packagekit_release.patch
Patch2: gnome-packagekit-bnc437977-help.patch
Patch5: gnome-packagekit-remove-new-untested-python-widgets.patch
#PATCH-FEATURE-OPENSUSE gnome-packagekit-fate302445.patch fate 302445
Patch3: gnome-packagekit-fate302445.patch
#PATCH-FEATURE-OPENSUSE gnome-packagekit-fate303359.patch fate 303359
Patch4: gnome-packagekit-fate303359.patch
Patch6: gnome-packagekit-bnc479107-optional.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: PackageKit-devel PolicyKit-gnome-devel cairo-devel dbus-1-devel desktop-file-utils gconf2-devel gettext-devel gnome-doc-utils-devel gtk-doc gtk2-devel intltool libglade2-devel libnotify-devel libsexy-devel libtool sqlite-devel update-desktop-files
Requires: gnome-icon-theme
Requires: %{name}-lang = %{version}
Provides: opensuse-updater-gnome = 0.4.7
Obsoletes: opensuse-updater-gnome < 0.4.7
Group: System/GUI/GNOME
Summary: Applications for the PackageKit API
%gconf_schemas_prereq
%description
GNOME PackageKit provides session applications for the PackageKit API.
There are several utilities designed for installing, updating and
removing packages on your system.
Authors:
--------
Richard Hughes <richard@hughsie.com>
%lang_package
%prep
%setup -q -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%patch5 -p1
%patch3 -p1
# do not do this patch anymore BNC #440498
# %patch4 -p1
%patch6 -p1
#replace the old po files with lcn ones
rm po/*.po
rm po/LINGUAS
tar zxf %{S:1}
cd po
for filename in `ls *.po`; do echo "$filename"; done > LINGUAS
sed -i s/\.po// LINGUAS
cd ..
%build
autoreconf -f -i
%configure \
--disable-scrollkeeper
%__make %{?jobs: -j%jobs}
%install
%makeinstall
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%suse_update_desktop_file gpk-repo
%suse_update_desktop_file gpk-log Settings
%suse_update_desktop_file gpk-update-viewer
%suse_update_desktop_file gpk-application
%suse_update_desktop_file gpk-prefs X-SuSE-ControlCenter-System
%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/gnome/autostart/gpk-update-icon.desktop
%suse_update_desktop_file gpk-install-file
%suse_update_desktop_file gpk-install-catalog
%suse_update_desktop_file gpk-service-pack
mkdir $RPM_BUILD_ROOT/usr/sbin
%clean
rm -rf "$RPM_BUILD_ROOT"
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/gpk-*
%{_datadir}/gnome-packagekit
%{_datadir}/omf/gnome-packagekit
%{_datadir}/gnome/autostart/gpk-update-icon.desktop
%{_datadir}/applications/gpk-*.desktop
%{_datadir}/icons/hicolor/*
%{_sysconfdir}/gconf/schemas/gnome-packagekit.schemas
%files lang -f %{name}.lang
%changelog
* Thu Apr 16 2009 sreeves@suse.de
- Fix for bnc#479107 - dont install optional patches by default
* Wed Jan 21 2009 sreeves@suse.de
- Fix for BNC #437977 - show help files
* Mon Dec 01 2008 sreeves@suse.de
- Fix for BNC #450105 - don't run smolt until it's updated.
* Mon Nov 24 2008 sreeves@suse.de
- Match PackageKit version 0.3.11
Pull in updated translations (.po)
* Fri Nov 21 2008 sreeves@suse.de
- Fix memory leaks with combined translatable strings not freed
Unfortunately means a string change.
Fix crash if users installs two bits of software and runs neither of them
Ensure that libnotify is init before use
Ensure we set the GpkClientDialog properly when doing a repo signature
Add prefix to notifications so users know where they came from
Match PackageKit version 0.3.10
Fix showing non local warning on terminal client
Roll in updated .po translations from lcn.
* Sat Nov 08 2008 sreeves@suse.de
- Translation fixes
Mark existing strings that were missed for translation
Redo badly worded strings
Add lots of translator comments to help in unclear cases
Fix BNC #440498 - registration problems
Fix RH #467987 - size request of gpk-application
Fix installing local files by only showing copy dialog for non native paths
Fix the signature required window to be modal over the client dialog
Fix RH #469966 - Dont use bullets when there is only one item in a list
* Mon Oct 27 2008 sreeves@suse.de
- Match PackageKit version - 0.3.9
Check if the GUI programs are being used on local and active consoles
Don't force large window sizes so we work on the eee and OLPC.
Don't crash gpk-application if a package contains no files
Don't show 'untitled window' when we review updates and then update them
* Mon Oct 13 2008 sreeves@suse.de
- Match PackageKit version - 0.3.7
Fix the bug where GetUpdates is unconditionally run at startup.
Watch for GConf keys to change so we can reassess actions based on policy
Fix for BNC #422176 - non useful error notifications
* Thu Oct 09 2008 sreeves@suse.de
- Move to 0.3.6 Bug fix release
(from the release news...)
Allow double clicking on an application in the run dialog. Fixes fd#17845
Set the window title if we go from being modal to non-modal
Set an interaction mode for the client used in GpkDbus so we don't get a finished dialog
Menu item tooltips should be phrased as imperative verbs
Always force width to avoid the dialog width changing between phases
Mark some more text translatable to fix fd#17899
Fix segfault in gpk_package_id_name_version if id was null
* Mon Sep 29 2008 sreeves@suse.de
- Move to 0.3.5
Match PackageKit version
Finish support for hardware driver install - FATE #303677
* Tue Sep 23 2008 sreeves@suse.de
- Move to 0.3.4
Match PackageKit version
Start of support for hardware driver install - FATE #303677
* Fri Sep 12 2008 sreeves@suse.de
- Update to 0.3.2.
Match PackageKit version
only show firmware prompt if firmware is available.
* Mon Sep 01 2008 sreeves@suse.de
- Match PackageKit version change to 0.3.1
* Mon Aug 18 2008 sreeves@suse.de
- Match PackageKit version change to 0.3.0
* Thu Jul 31 2008 cthiel@suse.de
- really remove restart-gpk-update-icon.sh
* Tue Jul 29 2008 jpr@suse.de
- Remove %%post action and script, it is not needed for factory
* Fri Jul 18 2008 sreeves@suse.de
- Move to 0.2.3
add support for installing catalogs
rework the gpk-application gui
Don't allow the GTK tools to be run as the root user
Allow users to install and remove multiple packages using gpk-application
Give the user a chance to update only the security updates.
* Fri Jun 27 2008 sreeves@suse.de
- More work for BNC#401057 - better loop handling
* Wed Jun 18 2008 sreeves@suse.de
- Fix for BNC#401057 - better loop handling
swampid for this - 18244
* Fri Jun 06 2008 sreeves@suse.de
- Fix for BNC#390658 - don't show dialog again if they decline to run.
* Fri Jun 06 2008 sreeves@suse.de
- Update translations
Includes initial translations for new dialog - BNC#390658
* Fri May 30 2008 sreeves@suse.de
- Fix for BNC#395445 - gpk-update-icon crash
Fix for BNC#390658 - don't show piwo
* Sat May 24 2008 sreeves@suse.de
- Fix for BNC#392064 - weird notifications
* Tue May 13 2008 aj@suse.de
- Remove requires on scrollkeeper, we build with
--disable-scrollkeeper.
- Package lang files only once.
- Remove unneeded BuildRequires and Requires.
* Fri May 09 2008 sreeves@suse.de
- Move to official upstream 0.2.1 release
Add in Fate #303359
Fix for BNC#386472 - move "Software Updates" to CC
* Mon Apr 28 2008 sreeves@suse.de
- Fix for BNC#378342
* Mon Apr 14 2008 sreeves@suse.de
- Make this package replace opensuse-updater-gnome - BNC #379564
* Mon Apr 14 2008 sreeves@suse.de
- Update to version 0.2.0
Needed update to match the API change in PackageKit 0.2.0
* Sat Apr 05 2008 sreeves@suse.de
- Update to version 0.1.11
Needed update to match the API change in PackageKit 0.1.11
* Thu Mar 27 2008 sreeves@suse.de
- Update to version 0.1.9.2
Needed update to match the API change in PackageKit 0.1.9.2
Improved interface in updater tool.
* Fri Mar 14 2008 sreeves@suse.de
- Update version to 0.1.9.1:
* Include updates to work with API change of PackageKit
* Add a new icons for a bugfix to make it more obvious
* Remove the GtkTextView and replace with a GtkTreeView in p-u-v
* Add checkboxes to the update viewer, but can't be changed yet
* Display the history viewer as the transaction is progressing
* Thu Feb 28 2008 sreeves@suse.de
- Update to (git pull on 2/28) ~0.1.9
* Wed Dec 12 2007 sreeves@suse.de
- Add .desktop files to suse_update_desktop_file
Add full path for .desktop file not /usr/share/applications
Add descriptions to pdb database
* Mon Dec 10 2007 btimothy@suse.de
- Updated to version 0.1.5git20071210a.
* Tue Dec 04 2007 btimothy@suse.de
- Removed backend-status-crash.patch since it's now included
upstream.
* Fri Nov 30 2007 btimothy@suse.de
- Update to version 0.1.5git20071130a.
* Thu Nov 22 2007 sreeves@suse.de
- Apply temp patch backend-status-crash.patch until fix gets
applied upstream
* Wed Nov 21 2007 btimothy@suse.de
- Updated tar.bz2 with one from git a few minutes ago.
* Tue Nov 13 2007 btimothy@suse.de
- init