File kpackagekit.spec of Package kpackagekit

#
# spec file for package kpackagekit (Version 0.3.1)
#
# Copyright (c) 2008 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/
#


Summary:        KDE interface for PackageKit

Name:           kpackagekit
Version:        0.3.1
Release:        3
License:        GPL v3 only
Group:          System/Packages
#http://websvn.kde.org/trunk/playground/sysadmin/kpackagekit/
Source0:        http://www.kde-apps.org/CONTENT/content-files/84745-kpackagekit-%{version}.tar.bz2
Url:            http://www.kde-apps.org/content/show.php/KPackageKit?content=84745
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libkde4-devel
BuildRequires:  libpackagekit-qt10-devel
Requires:       libpackagekit-qt10
Requires:       PackageKit
Patch:          desktop.diff
Patch1:         fix_build.diff
Patch2:         fix_build2.diff

%description
KDE interface for PackageKit



Authors:
--------
    Adrien BUSTANY <madcat@mymadcat.com>
    Daniel Nicoletti <dantti85-pk@yahoo.com.br>

%files
%defattr(-,root,root)
%{_kde_libdir}/kde4/*.so
/usr/share/kde4/apps/KPackageKit
/usr/share/kde4/apps/kpackagekit
/usr/bin/kpackagekit
/usr/bin/kpackagekit-smart-icon
/usr/share/applications/kde4/kpackagekit.desktop
/usr/share/kde4/services
#--------------------------------------------------------------------

%prep
%setup -q -n KPackageKit
%patch -p1
%patch1 -p1
%patch2 -p1

%build
%cmake_kde4 -d build
%make_jobs

%install
cd build
%makeinstall
cd ..
%suse_update_desktop_file kpackagekit

%clean

%changelog
* Fri Nov 21 2008 tgoettlicher@suse.de
- Fixed desktop file
* Fri Nov 21 2008 tgoettlicher@suse.de
- Fixed dependencies
* Fri Nov 07 2008 tgoettlicher@suse.de
- Adapted dependencies to libqpackagekit
* Thu Oct 16 2008 tgoettlicher@suse.de
  0.3.1
- fixed the Updater Ui
- Add support for installing files
  0.1 release
- Automatically install updates
- Lots of bug fixes
- Enable Repositories (Origins) now possible
- QPackageKit2 complete rewrite
- Icon tray fully working
  beta4
- working with the brand new packagekit 0.3
- install updates and update system (if you select all selectables updates)
- automatically refresh cache
- the lib is now documented!(uhh hard work :P )
- thanks to Steven M. Parrish for a misspelling patch
  beta3
- fixed auth issue with polkit
- added suport for automaticaly check for Updates
  beta2
- some fixes to work with backends that do not support getDepends and getRequires yet.
- check if the user is not auth
* Thu Jul 31 2008 tgoettlicher@suse.de
- created package
openSUSE Build Service is sponsored by