KDE Applications 17.08.80 beta
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kget?expand=0&rev=45
This commit is contained in:
committed by
Git OBS Bridge
parent
d3aaefcbb6
commit
a36706318e
104
kget.spec
104
kget.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kget
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,76 +17,98 @@
|
||||
|
||||
|
||||
Name: kget
|
||||
Version: 16.12.3
|
||||
Version: 17.03.80
|
||||
Release: 0
|
||||
%define kf5_version 5.26.0
|
||||
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
|
||||
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
||||
# It can only build on the same platforms as Qt Webengine
|
||||
ExclusiveArch: %ix86 x86_64 %arm aarch64 mips mips64
|
||||
Summary: Download Manager
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Networking/Other
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
# Patch0: fix-qca-qt5.diff
|
||||
# PATCH-FIX-OPENSUSE moc-gnuc.patch fabian@ritter-vogt.de -- QTBUG-57796
|
||||
Patch1: 0001-QTBUG-57796.patch
|
||||
%if 0%{?suse_version} > 1325
|
||||
BuildRequires: libboost_headers-devel
|
||||
%else
|
||||
BuildRequires: boost-devel
|
||||
%endif
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gpgme-devel
|
||||
BuildRequires: libkdepimlibs4-devel
|
||||
BuildRequires: libkonq-devel
|
||||
BuildRequires: libktorrent-devel
|
||||
BuildRequires: libqca2-devel
|
||||
BuildRequires: kcmutils-devel
|
||||
BuildRequires: kconfig-devel
|
||||
BuildRequires: kconfigwidgets-devel
|
||||
BuildRequires: kcoreaddons-devel
|
||||
BuildRequires: kdbusaddons-devel
|
||||
BuildRequires: kdelibs4support-devel
|
||||
BuildRequires: ki18n-devel
|
||||
BuildRequires: kiconthemes-devel
|
||||
BuildRequires: kio-devel
|
||||
BuildRequires: knotifications-devel
|
||||
BuildRequires: knotifyconfig-devel
|
||||
BuildRequires: kwallet-devel
|
||||
BuildRequires: kwidgetsaddons-devel
|
||||
BuildRequires: libgpgmepp-devel
|
||||
BuildRequires: libqca-qt5-devel
|
||||
BuildRequires: libqgpgme-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: solid-devel
|
||||
BuildRequires: sqlite-devel
|
||||
# It can only build on the same platforms as Qt Webengine
|
||||
ExclusiveArch: %ix86 x86_64 %arm aarch64 mips mips64
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5Sql)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
Obsoletes: kget5 < %{version}
|
||||
Provides: kget5 = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
|
||||
%description
|
||||
An advanced download manager for KDE
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# %patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%ifarch ppc ppc64
|
||||
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%endif
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kf5 -d build --
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
cd build
|
||||
%kde4_makeinstall
|
||||
cd ..
|
||||
%suse_update_desktop_file -r kget System TrayIcon
|
||||
%kde_post_install
|
||||
%kf5_makeinstall -C build
|
||||
%suse_update_desktop_file -r org.kde.kget System TrayIcon
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING COPYING.DOC README
|
||||
%{_kde4_bindir}/kget
|
||||
%{_kde4_appsdir}/dolphinpart/
|
||||
%{_kde4_servicetypesdir}/*.desktop
|
||||
%{_kde4_servicesdir}/*.desktop
|
||||
%{_kde4_servicesdir}/ServiceMenus/*.desktop
|
||||
%{_datadir}/dbus-1/services/org.kde.kget.service
|
||||
%{_kde4_configkcfgdir}/*.kcfg
|
||||
%{_kde4_appsdir}/kwebkitpart/
|
||||
%{_kde4_appsdir}/khtml/
|
||||
%{_kde4_appsdir}/kget/
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/kget.*
|
||||
%{_kde4_htmldir}/en/kget/
|
||||
%{_kde4_modulesdir}/kcm_kget*.so
|
||||
%{_kde4_modulesdir}/kget_*.so
|
||||
%{_kde4_modulesdir}/krunner_*.so
|
||||
%{_kde4_modulesdir}/plasma_*.so
|
||||
%{_kde4_libdir}/libkgetcore.so*
|
||||
%{_kde4_applicationsdir}/kget.desktop
|
||||
%{_kde4_appsdir}/kconf_update/
|
||||
%{_kf5_bindir}/kget
|
||||
%{_kf5_sharedir}/dolphinpart/
|
||||
%{_kf5_servicetypesdir}/
|
||||
%{_kf5_servicesdir}/
|
||||
%{_kf5_sharedir}/dbus-1/services/org.kde.kget.service
|
||||
%{_kf5_configkcfgdir}/
|
||||
%{_kf5_sharedir}/kwebkitpart/
|
||||
%{_kf5_sharedir}/khtml/
|
||||
%{_kf5_sharedir}/kget/
|
||||
%{_kf5_sharedir}/kxmlgui5/
|
||||
%{_kf5_notifydir}/
|
||||
%{_kf5_iconsdir}/hicolor/*/apps/kget.*
|
||||
%dir %{_kf5_htmldir}
|
||||
%dir %{_kf5_htmldir}/en
|
||||
%doc %{_kf5_htmldir}/en/kget/
|
||||
%{_kf5_libdir}/libkgetcore.so*
|
||||
%{_kf5_applicationsdir}/org.kde.kget.desktop
|
||||
%{_kf5_sharedir}/kconf_update/
|
||||
%{_kf5_plugindir}/
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user