LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File apper.spec of Package apper.102 (Project openSUSE:12.1:Update)

# spec file for package apper
# Copyright (c) 2011 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:           apper
Version:        0.7.0
Release:        1
License:        GPL-2.0+
Group:          System/Packages
Source0:        %{name}-%{version}.tar.bz2
Patch0:         revert-upstream.diff
Patch1:         apper-accept-eula.diff
Patch2:         apper-ui-fixes.diff
Patch3:         apper-c33ab740-file-install-crash.diff
Patch4:         apper-no-dbus-service.diff
Patch5:         apper-no-user-proxy.diff
Url:            http://kde-apps.org/content/show.php/Apper?content=84745
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libkde4-devel
BuildRequires:  libpackagekit-qt2-devel
Requires:       PackageKit
Recommends:     %{name}-lang = %{version}
# last used in 11.4
Obsoletes:      kpackagekit <=
Provides:       kpackagekit = 0.7
# last used in 11.3
Provides:       kupdateapplet = 0.9.18
Obsoletes:      kupdateapplet <= 0.9.17

KDE interface for PackageKit package management.

%setup -q -n %{name}-%{version}
# For now revert this specific commit to make libapper.so in a private library. INSTALL_RPATH seems not to function
%patch0 -p1
%patch1 -p1
#%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1

%cmake_kde4 -d build -- -DEDIT_ORIGNS_DESKTOP_NAME="yast inst_source"

cd build
cd ..
%suse_update_desktop_file apper
%find_lang %{name}


%files lang -f %{name}.lang