Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
apper5
apper.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apper.spec of Package apper5
# # spec file for package apper5 # # Copyright (c) 2015 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/ # # Internal QML import %global __requires_exclude qmlimport\\(org\\.kde\\.apper.* Name: apper5 Summary: KDE interface for PackageKit License: GPL-2.0+ and LGPL-3.0+ Group: System/Packages Version: 0.9.1 Release: 0 Source0: http://download.kde.org/stable/apper/%{version}/src/apper-%{version}.tar.xz Source1: 10-opensuse-org.packagekit.updater.js Patch0: apper-ui-fixes.diff # https://bugzilla.novell.com/show_bug.cgi?id=729164 Patch1: apper-no-dbus-service.diff # setting proxy requires polkit permissions - for very little gain Patch2: apper-no-user-proxy.diff Patch3: no-popup-for-background-actions.patch Patch4: port-updater.patch Patch5: disable-updater-applet-by-default.patch Url: http://kde-apps.org/content/show.php/Apper?content=84745 BuildRoot: %{_tmppath}/apper-%{version}-build BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem BuildRequires: kconfig-devel BuildRequires: kdoctools-devel BuildRequires: kguiaddons-devel BuildRequires: ki18n-devel BuildRequires: kcmutils-devel BuildRequires: kdbusaddons-devel BuildRequires: kded-devel BuildRequires: kio-devel BuildRequires: knotifications-devel BuildRequires: kdelibs4support-devel BuildRequires: PackageKit-Qt5-devel >= 1.0.0 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5XmlPatterns) BuildRequires: plasma5-workspace-devel BuildRequires: libxml2-tools BuildRequires: update-desktop-files %if 0%{?suse_version} < 1500 BuildRequires: gcc7-c++ %endif Recommends: %{name}-lang = %{version} Provides: org.freedesktop.PackageKit.service Requires: PackageKit >= 0.9.2 %description KDE interface for PackageKit package management. %lang_package %prep %setup -q -n apper-%{version} #patch1 -p1 %patch2 -p1 #patch3 -p1 %patch4 -p1 %patch5 -p1 %build %if 0%{?suse_version} < 1500 # gcc 4.8 is too old export CC=gcc-7 export CXX=g++-7 %endif %cmake_kf5 -d build -- -DSCREENSHOT_PROVIDER=openSUSE -DLIB_INSTALL_DIR=%{_kf5_libdir} -DBIN_INSTALL_DIR=%{_kf5_bindir} -DXDG_APPS_INSTALL_DIR=%{_kf5_applicationsdir} %make_jobs %install %kf5_makeinstall -C build # avoid confusion with yast #suse_update_desktop_file -C "Install, Update or Remove Software Packages" -N "Apper Software Management" %{buildroot}/%{_kf5_servicesdir}/kcm_apper.desktop #mkdir -p %{buildroot}%{_kde4_appsdir}/plasma-desktop/updates #install -m 0644 %{SOURCE1} %{buildroot}%{_kde4_appsdir}/plasma-desktop/updates/10-opensuse-org.packagekit.updater.js # hack around gnome-packagekit conflict (bnc#846342) #mv %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \ # %{buildroot}%{_datadir}/dbus-1/services/kde-org.freedesktop.PackageKit.service #kde_post_install #mkdir -p %{buildroot}%{_kf5_sharedir}/help #find_lang %{name} %{name}.lang #find_lang plasma_applet_org.packagekit.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 %suse_update_desktop_file org.kde.apper %suse_update_desktop_file org.kde.apper_installer %suse_update_desktop_file org.kde.apper_settings %suse_update_desktop_file org.kde.apper_updates %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING TODO %{_libexecdir}/apper-pk-session %{_kf5_sharedir}/apperd/ %{_kf5_sharedir}/apper/ %{_kf5_bindir}/apper %dir %{_kf5_libdir}/apper %{_kf5_applicationsdir}/org.kde.apper*.desktop #%{_kf5_servicesdir}/kcm_apper.desktop %dir %{_kf5_servicesdir}/kded %{_kf5_servicesdir}/kded/apperd.desktop %{_kf5_sharedir}/dbus-1/services/org.freedesktop.PackageKit.service %{_kf5_plasmadir}/ %{_kf5_servicesdir}/plasma-applet-org.packagekit.updater.desktop #{_kf5_appsdir}/plasma-desktop/updates/10-opensuse-org.packagekit.updater.js %doc %{_kf5_mandir}/man1/* %{_kf5_libdir}/apper/libapper_private.so %{_kf5_plugindir}/*.so #config %{_kf5_sysconfdir}/ld.so.conf.d/apper.conf %{_kf5_importdir}/org/ %{_kf5_appstreamdir}/org.kde.apper.appdata.xml #%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