Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
apper
apper.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apper.spec of Package apper
# # spec file for package apper # # Copyright (c) 2013 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: apper Summary: KDE interface for PackageKit License: GPL-2.0+ and LGPL-3.0+ Group: System/Packages Version: 0.8.0 Release: 0 #http://websvn.kde.org/trunk/playground/sysadmin/kpackagekit/ # http://kde-apps.org/CONTENT/content-files/84745-kpackagekit-%{version}.7z Source0: %{name}-%{version}.tar.bz2 Source1: 10-opensuse-apper.js Patch0: 0001-Fixed-bug-when-using-double-click-on-the-desktop-BUG.patch Patch1: 0002-Don-t-tell-apperd-to-watch-a-transaction-when-it-s-j.patch Patch2: 0003-Reduce-the-CPU-usage-by-not-setting-an-initial-state.patch Patch3: 0004-Adds-a-Help-menu-to-Apper-BUG-293440.patch Patch4: 0005-Fix-a-connection-caused-by-a-fix-for-BUG-302786.patch Patch5: 0006-Fixes-package-installation-of-files-in-non-latin-pat.patch Patch6: 0007-Make-hide-button-more-clear-BUG-263309.patch Patch7: 0008-Fix-about-application-icon.patch Patch8: 0009-Fix-About-Application-dialog-in-Apper-BUG-293440.patch Patch9: 0010-Feature-show-application-status-in-window-title-BUG-.patch Patch10: 0013-Get-rid-of-g_type_init.patch Patch11: 0014-Fix-browsing-groups.patch Patch12: 0015-Change-the-way-we-toggle-repos-so-that-we-can-report.patch Patch13: 0016-Show-how-much-download-is-left-and-use-QPointers-ins.patch Patch14: 0017-Fix-bug-that-after-a-refresh-cache-made-the-package-.patch Patch15: 0018-Add-a-feature-to-tell-the-user-to-refresh-his-cache-.patch Patch16: 0019-Connect-to-finished-signal-of-ApplicationLaunch-in-o.patch Patch17: 0020-Allow-PackageDetails-to-show-screenshots-from-softwa.patch Patch18: 0021-Update-the-last-refresh-cache-time-from-the-update-c.patch Patch19: 0022-just-return-after-EULA-acceptance.patch Patch20: 0023-fix-annoying-notifications-over-and-over.patch # Patches before 100 are from upstream git # to be sent upstream Patch100: apper-ui-fixes.diff # https://bugzilla.novell.com/show_bug.cgi?id=729164 Patch101: apper-no-dbus-service.diff # setting proxy requires polkit permissions - for very little gain Patch103: apper-no-user-proxy.diff Url: http://www.kde-apps.org/content/show.php/KPackageKit?content=84745 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: PackageKit-Qt-devel >= 0.8.5 BuildRequires: kdebase4-workspace-devel BuildRequires: libkde4-devel BuildRequires: libxml2-tools Requires: PackageKit >= 0.8.5 # last used in 11.3 Provides: kupdateapplet = 0.9.18 Obsoletes: kupdateapplet <= 0.9.17 # last used in 11.0 Provides: kde4-opensuse-updater < 0.8 Obsoletes: kde4-opensuse-updater < 0.8 Obsoletes: kpackagekit < %{version} Provides: kpackagekit = %{version} Obsoletes: kupjk Recommends: %{name}-lang %kde4_runtime_requires %description KDE interface for PackageKit package management. %package plasmoid Summary: Plasmoid for the Apper Package management Group: System/Packages Requires: %{name} = %{version} %description plasmoid The Plasmoids for the Apper Package Management %lang_package %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch100 -p1 %patch101 -p1 %patch103 -p1 %build %cmake_kde4 -d build -- -DSCREENSHOT_PROVIDER=openSUSE %make_jobs %install cd build %makeinstall cd .. # avoid confusion with yast %suse_update_desktop_file -C "Install, Update or Remove Software Packages" -N "Apper Software Management" %{buildroot}/%{_kde4_servicesdir}/kcm_apper.desktop mkdir -p %{buildroot}%{_kde4_appsdir}/plasma-desktop/updates install -m 0644 %{SOURCE1} %{buildroot}%{_kde4_appsdir}/plasma-desktop/updates/10-opensuse-apper.js %kde_post_install %find_lang %{name} %{name}.lang %find_lang plasma_package_updater %{name}.lang mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/ cat <<EOF >%{buildroot}%{_sysconfdir}/ld.so.conf.d/apper.conf %{_kde4_libdir}/apper EOF %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING TODO %_kde4_libexecdir/apper-pk-session %_kde4_appsdir/apperd/ %config %{_kde4_sysconfdir}/ld.so.conf.d/apper.conf %_kde4_modulesdir/*.so %_kde4_appsdir/apper/ %_kde4_bindir/apper %dir %_kde4_libdir/apper %_kde4_libdir/apper/libapper.so %_kde4_applicationsdir/apper*.desktop %_kde4_servicesdir/kcm_apper.desktop %_kde4_servicesdir/kded/apperd.desktop /usr/share/dbus-1/services/org.freedesktop.PackageKit.service %{_mandir}/ %files plasmoid %defattr(-,root,root) %_kde4_appsdir/plasma/ %_kde4_servicesdir/plasma-applet-updater.desktop %{_kde4_appsdir}/plasma-desktop/updates/10-opensuse-apper.js %files lang -f %{name}.lang %defattr(-,root,root) %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor