File kpackagekit.spec of Package kpackagekit

#
# spec file for package kpackagekit (Version 0.4.2)
#
# 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/
#


Summary:        KDE interface for PackageKit

Name:           kpackagekit
Version:        0.4.2
Release:        1
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 libpackagekit-qt12-devel
Requires:       PackageKit
Patch:          desktop.diff
%kde4_runtime_requires

%description
KDE interface for PackageKit package management.



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

%files -f kpackagekit.lang
%defattr(-,root,root)
%{_kde_libdir}/kde4/*.so
%{_libdir}/libkpackagekitlib.so
/usr/share/kde4/apps/kpackagekit
/usr/bin/kpackagekit
#/usr/bin/kpackagekit-smart-icon
#/usr/share/kde4/apps/kpackagekit-smart-icon
/usr/share/applications/kde4/kpackagekit.desktop
#/usr/share/kde4/apps/kpackagekit-smart-icon/kpackagekit-smart-icon.notifyrc
/usr/share/kde4/services
%{_libdir}/kde4/libexec/kpackagekitsmarticon
/usr/share/dbus-1/services/org.kde.KPackageKitSmartIcon.service
/usr/share/kde4/apps/KPackageKitSmartIcon/KPackageKitSmartIcon.notifyrc
/usr/share/kde4/apps/KPackageKitSmartIcon
#--------------------------------------------------------------------

%prep
%setup -q -n kpackagekit-%version
%patch -p1

%build
%cmake_kde4 -d build
%make_jobs

%install
cd build
%makeinstall
cd ..
%suse_update_desktop_file kpackagekit
%kde_post_install
%find_lang kpackagekit kpackagekit.lang

%clean

%changelog
openSUSE Build Service is sponsored by