]>
Commit | Line | Data |
---|---|---|
c0ca3c5b | 1 | %define kdeappsver 18.12.1 |
8c3c0a2a WF |
2 | %define qtver 5.9.0 |
3 | %define kaname kget | |
4 | Summary: kget | |
5 | Name: ka5-%{kaname} | |
c0ca3c5b | 6 | Version: 18.12.1 |
8c3c0a2a WF |
7 | Release: 1 |
8 | License: GPL v2+/LGPL v2.1+ | |
9 | Group: X11/Applications | |
10 | Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz | |
c0ca3c5b | 11 | # Source0-md5: 1c147a2dad1532d0d33acc70ef537f66 |
8c3c0a2a WF |
12 | URL: http://www.kde.org/ |
13 | BuildRequires: Qt5Core-devel >= %{qtver} | |
14 | BuildRequires: Qt5DBus-devel | |
15 | BuildRequires: Qt5Gui-devel | |
16 | BuildRequires: Qt5Network-devel | |
17 | BuildRequires: Qt5Sql-devel | |
18 | BuildRequires: Qt5Test-devel | |
19 | BuildRequires: Qt5Widgets-devel | |
20 | BuildRequires: Qt5Xml-devel | |
21 | BuildRequires: boost-devel | |
22 | BuildRequires: cmake >= 2.8.12 | |
23 | BuildRequires: gettext-devel | |
24 | BuildRequires: gpgme-c++-devel >= 1.7.0 | |
25 | BuildRequires: gpgme-qt5-devel | |
26 | BuildRequires: kf5-extra-cmake-modules >= 5.53.0 | |
27 | BuildRequires: kf5-kcmutils-devel >= 5.44.0 | |
28 | BuildRequires: kf5-kcompletion-devel >= 5.44.0 | |
29 | BuildRequires: kf5-kconfig-devel >= 5.44.0 | |
30 | BuildRequires: kf5-kconfigwidgets-devel >= 5.44.0 | |
31 | BuildRequires: kf5-kcoreaddons-devel >= 5.44.0 | |
32 | BuildRequires: kf5-kdbusaddons-devel >= 5.44.0 | |
33 | BuildRequires: kf5-kdelibs4support-devel >= 5.44.0 | |
34 | BuildRequires: kf5-kdoctools-devel >= 5.44.0 | |
35 | BuildRequires: kf5-ki18n-devel >= 5.44.0 | |
36 | BuildRequires: kf5-kiconthemes-devel >= 5.44.0 | |
37 | BuildRequires: kf5-kio-devel >= 5.44.0 | |
38 | BuildRequires: kf5-kitemviews-devel >= 5.44.0 | |
39 | BuildRequires: kf5-knotifications-devel >= 5.44.0 | |
40 | BuildRequires: kf5-knotifyconfig-devel >= 5.44.0 | |
41 | BuildRequires: kf5-kparts-devel >= 5.44.0 | |
42 | BuildRequires: kf5-kservice-devel >= 5.44.0 | |
43 | BuildRequires: kf5-ktextwidgets-devel >= 5.44.0 | |
44 | BuildRequires: kf5-kwallet-devel >= 5.44.0 | |
45 | BuildRequires: kf5-kwidgetsaddons-devel >= 5.44.0 | |
46 | BuildRequires: kf5-kwindowsystem-devel >= 5.44.0 | |
47 | BuildRequires: kf5-kxmlgui-devel >= 5.44.0 | |
48 | BuildRequires: kf5-solid-devel >= 5.44.0 | |
c0ca3c5b | 49 | BuildRequires: ninja |
8c3c0a2a WF |
50 | BuildRequires: qt5-build >= %{qtver} |
51 | BuildRequires: rpmbuild(macros) >= 1.164 | |
52 | BuildRequires: shared-mime-info | |
53 | BuildRequires: tar >= 1:1.22 | |
54 | BuildRequires: xz | |
55 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
56 | ||
57 | %description | |
58 | KGet is a versatile and user-friendly download manager.. Features. | |
59 | Downloading files from FTP and HTTP(S) sources. Pausing and resuming | |
60 | of downloading files, as well as the ability to restart a download. | |
61 | ||
62 | %prep | |
63 | %setup -q -n %{kaname}-%{version} | |
64 | ||
65 | %build | |
66 | install -d build | |
67 | cd build | |
68 | %cmake \ | |
c0ca3c5b | 69 | -G Ninja \ |
8c3c0a2a WF |
70 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
71 | .. | |
c0ca3c5b | 72 | %ninja_build |
8c3c0a2a WF |
73 | |
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
c0ca3c5b | 76 | %ninja_install -C build |
8c3c0a2a WF |
77 | |
78 | %find_lang %{kaname} --all-name --with-kde | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
9f82a84d WF |
83 | %post -p /sbin/ldconfig |
84 | %postun -p /sbin/ldconfig | |
85 | ||
8c3c0a2a WF |
86 | %files -f %{kaname}.lang |
87 | %defattr(644,root,root,755) | |
88 | /etc/xdg/kget.categories | |
89 | %attr(755,root,root) %{_bindir}/kget | |
90 | %attr(755,root,root) %{_libdir}/libkgetcore.so | |
91 | %attr(755,root,root) %ghost %{_libdir}/libkgetcore.so.5 | |
92 | %attr(755,root,root) %{_libdir}/libkgetcore.so.5.*.* | |
93 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kget_checksumsearchfactory.so | |
94 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kget_metalinkfactory.so | |
95 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kget_mirrorsearchfactory.so | |
96 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kget_multisegkiofactory.so | |
97 | %dir %{_libdir}/qt5/plugins/kget | |
98 | %attr(755,root,root) %{_libdir}/qt5/plugins/kget/kget_checksumsearchfactory.so | |
99 | %attr(755,root,root) %{_libdir}/qt5/plugins/kget/kget_kio.so | |
100 | %attr(755,root,root) %{_libdir}/qt5/plugins/kget/kget_metalinkfactory.so | |
101 | %attr(755,root,root) %{_libdir}/qt5/plugins/kget/kget_mirrorsearchfactory.so | |
102 | %attr(755,root,root) %{_libdir}/qt5/plugins/kget/kget_multisegkiofactory.so | |
103 | %attr(755,root,root) %{_libdir}/qt5/plugins/kget_browser_integration.so | |
104 | %{_desktopdir}/org.kde.kget.desktop | |
105 | %{_datadir}/config.kcfg/kget.kcfg | |
106 | %{_datadir}/config.kcfg/kget_checksumsearchfactory.kcfg | |
107 | %{_datadir}/config.kcfg/kget_mirrorsearchfactory.kcfg | |
108 | %{_datadir}/config.kcfg/kget_multisegkiofactory.kcfg | |
109 | %{_datadir}/dbus-1/services/org.kde.kget.service | |
110 | %{_datadir}/dolphinpart/kpartplugins/kget_plug_in.desktop | |
111 | %{_datadir}/dolphinpart/kpartplugins/kget_plug_in.rc | |
112 | %{_iconsdir}/hicolor/128x128/apps/kget.png | |
113 | %{_iconsdir}/hicolor/16x16/apps/kget.png | |
114 | %{_iconsdir}/hicolor/22x22/apps/kget.png | |
115 | %{_iconsdir}/hicolor/32x32/apps/kget.png | |
116 | %{_iconsdir}/hicolor/48x48/apps/kget.png | |
117 | %{_iconsdir}/hicolor/64x64/apps/kget.png | |
118 | %{_datadir}/kconf_update/kget.upd | |
3c162c47 WF |
119 | %attr(755,root,root) %{_datadir}/kconf_update/kget_limitdownloads.pl |
120 | %attr(755,root,root) %{_datadir}/kconf_update/kget_sensitive.pl | |
8c3c0a2a WF |
121 | %{_datadir}/kget |
122 | %{_datadir}/khtml/kpartplugins/kget_plug_in.desktop | |
123 | %{_datadir}/khtml/kpartplugins/kget_plug_in.rc | |
124 | %{_datadir}/knotifications5/kget.notifyrc | |
125 | %{_datadir}/kservices5/ServiceMenus/kget_download.desktop | |
126 | %{_datadir}/kservices5/kget_checksumsearchfactory_config.desktop | |
127 | %{_datadir}/kservices5/kget_metalinkfactory_config.desktop | |
128 | %{_datadir}/kservices5/kget_mirrorsearchfactory_config.desktop | |
129 | %{_datadir}/kservices5/kget_multisegkiofactory_config.desktop | |
130 | %{_datadir}/kservicetypes5/kget_plugin.desktop | |
131 | %{_datadir}/kwebkitpart/kpartplugins/kget_plug_in.desktop | |
132 | %{_datadir}/kwebkitpart/kpartplugins/kget_plug_in.rc | |
133 | %{_datadir}/kxmlgui5/kget | |
134 | %{_datadir}/metainfo/org.kde.kget.appdata.xml |