1 |
%define phonon_version 4.5.0 |
2 |
%define strigi_version 0.7.5 |
3 |
%define soprano_version 2.9.0 |
4 |
%define attica_version 0.2.2 |
5 |
%define srcname kde-runtime |
6 |
|
7 |
%define subrel 2 |
8 |
%define rel 1 |
9 |
|
10 |
Name: kdebase4-runtime |
11 |
Summary: K Desktop Environment - Base Runtime |
12 |
Version: 4.10.5 |
13 |
Release: %mkrel %{rel} |
14 |
Epoch: 1 |
15 |
Group: Graphical desktop/KDE |
16 |
License: GPLv2 and LGPLv2 |
17 |
URL: http://www.kde.org |
18 |
Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{srcname}-%{version}.tar.xz |
19 |
|
20 |
# Branch patchs 100-199 |
21 |
Patch100: kde-runtime-4.14.3-CVE-2014-8600.patch |
22 |
|
23 |
# Trunk patchs (200->299) |
24 |
|
25 |
#Mageia patch (500->600) |
26 |
Patch500: kdebase-runtime-4.5.74-fix-htsearch-path.patch |
27 |
Patch503: kdebase-runtime-4.3.2-knotify-fix-cpu-charge.patch |
28 |
Source504: kdebase-runtime-4.4.1-use-mga-icon.patch |
29 |
Patch505: kdebase-runtime-4.7.3-add-category-for-help-fix-mga-2522.patch |
30 |
|
31 |
# Testing Patches 600 -> ... |
32 |
Patch601: kdebase-runtime-4.5.74-setgid-kdesud.patch |
33 |
Patch602: kdebase-runtime-4.6.0-fedora-man-overrides.patch |
34 |
Patch603: kdebase-runtime-4.6.0-fedora-support-for-compiz.patch |
35 |
Patch604: kdebase-runtime-4.6.0-canberra.patch |
36 |
|
37 |
BuildRequires: kdelibs4-devel >= 2:%{version} |
38 |
BuildRequires: kdepimlibs4-devel >= 2:%{version} |
39 |
BuildRequires: pkgconfig(libkactivities) |
40 |
BuildRequires: nepomuk-core-devel >= 1:%{version} |
41 |
BuildRequires: pkgconfig(phonon) >= %{phonon_version} |
42 |
BuildRequires: pkgconfig(libstreams) >= %{strigi_version} |
43 |
BuildRequires: pkgconfig(soprano) >= %{soprano_version} |
44 |
BuildRequires: pkgconfig(libattica) >= %{attica_version} |
45 |
BuildRequires: pkgconfig(OpenEXR) |
46 |
BuildRequires: pkgconfig(alsa) |
47 |
BuildRequires: pkgconfig(xcursor) |
48 |
BuildRequires: pkgconfig(libcanberra) |
49 |
BuildRequires: pkgconfig(exiv2) |
50 |
BuildRequires: pkgconfig(libpulse) |
51 |
BuildRequires: pkgconfig(smbclient) |
52 |
BuildRequires: pkgconfig(libssh) |
53 |
BuildRequires: pkgconfig(shared-desktop-ontologies) |
54 |
BuildRequires: pkgconfig(NetworkManager) |
55 |
BuildRequires: jpeg-devel |
56 |
BuildRequires: openslp-devel |
57 |
BuildRequires: boost-devel |
58 |
BuildRequires: doxygen |
59 |
|
60 |
Requires: kdelibs4-core >= 2:%{version} |
61 |
Requires: oxygen-icon-theme |
62 |
Requires: polkit-kde-agent-1 |
63 |
Requires: kactivitymanagerd |
64 |
# (lm) djvuthumbnail.so uses ddjvu to generate previews of djvu files (mga #10387) |
65 |
Requires: djvulibre |
66 |
# (lm) windowsexethumbnail.so uses wrestool & icotool to generate previews of .exe |
67 |
Requires: icoutils |
68 |
|
69 |
Suggests: kde4-l10n |
70 |
Suggests: hicolor-icon-theme |
71 |
Suggests: htdig |
72 |
Suggests: kwallet-daemon |
73 |
Suggests: kdialog |
74 |
Suggests: gdb |
75 |
Suggests: cagibi |
76 |
# Add openssh-clients as suggests (for fish:// support noticed by anssi) |
77 |
Suggests: openssh-clients |
78 |
Suggests: nepomuk |
79 |
|
80 |
# Added as suggests so users from live-cd can install them after |
81 |
|
82 |
Suggests: %name-handbook |
83 |
|
84 |
Conflicts: kdebase4-workspace < 2:4.9.90 |
85 |
Conflicts: nepomuk-scribo < 1:0.6.4 |
86 |
Conflicts: kdebase4-runtime-devel < 1:4.6.90-5 |
87 |
Conflicts: nepomuk < 1:4.8.95 |
88 |
|
89 |
%description |
90 |
KDE 4 application runtime components. |
91 |
|
92 |
%files |
93 |
%_sysconfdir/dbus-1/system.d/org.kde.kcontrol.kcmremotewidgets.conf |
94 |
%_kde_sysconfdir/xdg/menus/kde-information.menu |
95 |
%_kde_bindir/kcmshell4 |
96 |
%_kde_bindir/kde-cp |
97 |
%_kde_bindir/kde-mv |
98 |
%_kde_bindir/kde-open |
99 |
%_kde_bindir/kde4 |
100 |
%_kde_bindir/kde4-menu |
101 |
%_kde_bindir/kdebugdialog |
102 |
%_kde_bindir/keditfiletype |
103 |
%_kde_bindir/kfile4 |
104 |
%_kde_bindir/kglobalaccel |
105 |
%_kde_bindir/khelpcenter |
106 |
%_kde_bindir/khotnewstuff-upload |
107 |
%_kde_bindir/khotnewstuff4 |
108 |
%_kde_bindir/kiconfinder |
109 |
%_kde_bindir/kioclient |
110 |
%_kde_bindir/kmimetypefinder |
111 |
%_kde_bindir/knotify4 |
112 |
%_kde_bindir/kquitapp |
113 |
%_kde_bindir/kreadconfig |
114 |
%_kde_bindir/kstart |
115 |
%_kde_bindir/ksvgtopng |
116 |
%_kde_bindir/ktraderclient |
117 |
%_kde_bindir/ktrash |
118 |
%_kde_bindir/kuiserver |
119 |
%_kde_bindir/kwriteconfig |
120 |
%_kde_bindir/plasmapkg |
121 |
%_kde_bindir/plasma-remote-helper |
122 |
%_kde_bindir/solid-hardware |
123 |
%dir %_kde_libdir/kconf_update_bin |
124 |
%_kde_libdir/kconf_update_bin/phonon_devicepreference_update |
125 |
%_kde_libdir/kconf_update_bin/phonon_deviceuids_update |
126 |
%_kde_libdir/kde4/comicbookthumbnail.so |
127 |
%_kde_libdir/kde4/cursorthumbnail.so |
128 |
%_kde_libdir/kde4/djvuthumbnail.so |
129 |
%_kde_libdir/kde4/exrthumbnail.so |
130 |
%_kde_libdir/kde4/fixhosturifilter.so |
131 |
%_kde_libdir/kde4/htmlthumbnail.so |
132 |
%_kde_libdir/kde4/imagethumbnail.so |
133 |
%_kde_libdir/kde4/jpegthumbnail.so |
134 |
%_kde_libdir/kde4/kcm_attica.so |
135 |
%_kde_libdir/kde4/kcm_cgi.so |
136 |
%_kde_libdir/kde4/kcm_componentchooser.so |
137 |
%_kde_libdir/kde4/kcm_device_automounter.so |
138 |
%_kde_libdir/kde4/kcm_emoticons.so |
139 |
%_kde_libdir/kde4/kcm_filetypes.so |
140 |
%_kde_libdir/kde4/kcm_icons.so |
141 |
%_kde_libdir/kde4/kcm_kded.so |
142 |
%_kde_libdir/kde4/kcm_kdnssd.so |
143 |
%_kde_libdir/kde4/kcm_knotify.so |
144 |
%_kde_libdir/kde4/kcm_locale.so |
145 |
%_kde_libdir/kde4/kcm_phonon.so |
146 |
%_kde_libdir/kde4/kcm_trash.so |
147 |
%_kde_libdir/kde4/kcmspellchecking.so |
148 |
%_kde_libdir/kde4/kded_desktopnotifier.so |
149 |
%_kde_libdir/kde4/kded_device_automounter.so |
150 |
%_kde_libdir/kde4/kded_kpasswdserver.so |
151 |
%_kde_libdir/kde4/kded_ktimezoned.so |
152 |
%_kde_libdir/kde4/kded_networkstatus.so |
153 |
%_kde_libdir/kde4/kded_networkwatcher.so |
154 |
%_kde_libdir/kde4/kded_phononserver.so |
155 |
%_kde_libdir/kde4/kded_recentdocumentsnotifier.so |
156 |
%_kde_libdir/kde4/kded_remotedirnotify.so |
157 |
%_kde_libdir/kde4/kded_solidautoeject.so |
158 |
%_kde_libdir/kde4/kded_soliduiserver.so |
159 |
%_kde_libdir/kde4/kio_about.so |
160 |
%_kde_libdir/kde4/kio_applications.so |
161 |
%_kde_libdir/kde4/kio_archive.so |
162 |
%_kde_libdir/kde4/kio_bookmarks.so |
163 |
%_kde_libdir/kde4/kio_cgi.so |
164 |
%_kde_libdir/kde4/kio_desktop.so |
165 |
%_kde_libdir/kde4/kio_filter.so |
166 |
%_kde_libdir/kde4/kio_finger.so |
167 |
%_kde_libdir/kde4/kio_fish.so |
168 |
%_kde_libdir/kde4/kio_floppy.so |
169 |
%_kde_libdir/kde4/kio_info.so |
170 |
%_kde_libdir/kde4/kio_man.so |
171 |
%_kde_libdir/kde4/kio_network.so |
172 |
%_kde_libdir/kde4/kio_nfs.so |
173 |
%_kde_libdir/kde4/kio_recentdocuments.so |
174 |
%_kde_libdir/kde4/kio_remote.so |
175 |
%_kde_libdir/kde4/kio_settings.so |
176 |
%_kde_libdir/kde4/kio_sftp.so |
177 |
%_kde_libdir/kde4/kio_smb.so |
178 |
%_kde_libdir//kde4/kio_tags.so |
179 |
%_kde_libdir/kde4/kio_timeline.so |
180 |
%_kde_libdir/kde4/kio_thumbnail.so |
181 |
%_kde_libdir/kde4/kio_trash.so |
182 |
%_kde_libdir/kde4/kshorturifilter.so |
183 |
%_kde_libdir/kde4/kuriikwsfilter.so |
184 |
%_kde_libdir/kde4/kurisearchfilter.so |
185 |
%_kde_libdir/kde4/libkmanpart.so |
186 |
%_kde_libdir/kde4/librenaudioplugin.so |
187 |
%_kde_libdir/kde4/librenimageplugin.so |
188 |
%_kde_libdir/kde4/localdomainurifilter.so |
189 |
%_kde_libdir/kde4/plasma-kpart.so |
190 |
%_kde_libdir/kde4/plasma_appletscript_declarative.so |
191 |
%_kde_libdir/kde4/plasma_appletscript_simple_javascript.so |
192 |
%_kde_libdir/kde4/plasma_containment_newspaper.so |
193 |
%_kde_libdir/kde4/plasma_dataenginescript_javascript.so |
194 |
%_kde_libdir/kde4/plasma_packagestructure_javascriptaddon.so |
195 |
%_kde_libdir/kde4/plasma_runnerscript_javascript.so |
196 |
%_kde_libdir/kde4/svgthumbnail.so |
197 |
%_kde_libdir/kde4/textthumbnail.so |
198 |
%_kde_libdir/kde4/windowsexethumbnail.so |
199 |
%_kde_libdir/kde4/windowsimagethumbnail.so |
200 |
%_kde_libdir/kde4/imports/org/kde/* |
201 |
%_kde_libdir/kde4/platformimports/touch/org/kde/plasma |
202 |
%_kde_libdir/kde4/libexec |
203 |
%_kde_libdir/kde4/plugins |
204 |
%_kde_libdir/attica_kde.so |
205 |
%_kde_libdir/libkdeinit4_kcmshell4.so |
206 |
%_kde_libdir/libkdeinit4_kglobalaccel.so |
207 |
%_kde_libdir/libkdeinit4_khelpcenter.so |
208 |
%_kde_libdir/libkdeinit4_kuiserver.so |
209 |
%_kde_libdir/libknotifyplugin.so |
210 |
%_kde_applicationsdir/Help.desktop |
211 |
%_kde_applicationsdir/knetattach.desktop |
212 |
%_kde_appsdir/desktoptheme |
213 |
%_kde_appsdir/drkonqi |
214 |
%_kde_appsdir/hardwarenotifications |
215 |
%_kde_appsdir/kcm_componentchooser |
216 |
%_kde_appsdir/kcm_phonon |
217 |
%_kde_appsdir/kcmlocale |
218 |
%_kde_appsdir/kconf_update/*.upd |
219 |
%_kde_appsdir/kde |
220 |
%_kde_appsdir/kglobalaccel |
221 |
%_kde_appsdir/khelpcenter |
222 |
%_kde_appsdir/kio_bookmarks |
223 |
%_kde_appsdir/kio_desktop |
224 |
%_kde_appsdir/kio_docfilter |
225 |
%_kde_appsdir/kio_finger |
226 |
%_kde_appsdir/kio_info |
227 |
%_kde_appsdir/konqsidebartng |
228 |
%_kde_appsdir/konqueror/dirtree/remote/smb-network.desktop |
229 |
%_kde_appsdir/ksmserver |
230 |
%_kde_appsdir/libphonon |
231 |
%_kde_appsdir/phonon |
232 |
%_kde_appsdir/remoteview |
233 |
%_kde_datadir/config.kcfg/*.kcfg |
234 |
%_kde_configdir/*.knsrc |
235 |
%_kde_configdir/kshorturifilterrc |
236 |
%_kde_datadir/desktop-directories/*.directory |
237 |
%_kde_datadir/emoticons/kde4 |
238 |
%_kde_iconsdir/default.kde4 |
239 |
%_kde_iconsdir/hicolor/*/apps/knetattach.png |
240 |
%_kde_iconsdir/hicolor/scalable/apps/knetattach.svgz |
241 |
%_kde_services/*.protocol |
242 |
%_kde_services/comicbookthumbnail.desktop |
243 |
%_kde_services/componentchooser.desktop |
244 |
%_kde_services/cursorthumbnail.desktop |
245 |
%_kde_services/desktopthumbnail.desktop |
246 |
%_kde_services/device_automounter_kcm.desktop |
247 |
%_kde_services/directorythumbnail.desktop |
248 |
%_kde_services/djvuthumbnail.desktop |
249 |
%_kde_services/emoticons.desktop |
250 |
%_kde_services/exrthumbnail.desktop |
251 |
%_kde_services/filetypes.desktop |
252 |
%_kde_services/fixhosturifilter.desktop |
253 |
%_kde_services/htmlthumbnail.desktop |
254 |
%_kde_services/icons.desktop |
255 |
%_kde_services/imagethumbnail.desktop |
256 |
%_kde_services/jpegthumbnail.desktop |
257 |
%_kde_services/kcm_attica.desktop |
258 |
%_kde_services/kcm_kdnssd.desktop |
259 |
%_kde_services/kcm_phonon.desktop |
260 |
%_kde_services/kcmcgi.desktop |
261 |
%_kde_services/kcmkded.desktop |
262 |
%_kde_services/kcmnotify.desktop |
263 |
%_kde_services/kcmtrash.desktop |
264 |
%_kde_services/kglobalaccel.desktop |
265 |
%_kde_services/khelpcenter.desktop |
266 |
%_kde_services/kmanpart.desktop |
267 |
%_kde_services/knotify4.desktop |
268 |
%_kde_services/kshorturifilter.desktop |
269 |
%_kde_services/kuiserver.desktop |
270 |
%_kde_services/kuriikwsfilter.desktop |
271 |
%_kde_services/kurisearchfilter.desktop |
272 |
%_kde_services/language.desktop |
273 |
%_kde_services/localdomainurifilter.desktop |
274 |
%_kde_services/plasma-containment-newspaper.desktop |
275 |
%_kde_services/plasma-kpart.desktop |
276 |
%_kde_services/plasma-packagestructure-javascript-addon.desktop |
277 |
%_kde_services/plasma-scriptengine-applet-declarative.desktop |
278 |
%_kde_services/plasma-scriptengine-applet-simple-javascript.desktop |
279 |
%_kde_services/plasma-scriptengine-dataengine-javascript.desktop |
280 |
%_kde_services/plasma-scriptengine-runner-javascript.desktop |
281 |
%_kde_services/renaudiodlg.desktop |
282 |
%_kde_services/renimagedlg.desktop |
283 |
%_kde_services/searchproviders |
284 |
%_kde_services/spellchecking.desktop |
285 |
%_kde_services/svgthumbnail.desktop |
286 |
%_kde_services/textthumbnail.desktop |
287 |
%_kde_services/windowsexethumbnail.desktop |
288 |
%_kde_services/windowsimagethumbnail.desktop |
289 |
%_kde_services/kded/desktopnotifier.desktop |
290 |
%_kde_services/kded/device_automounter.desktop |
291 |
%_kde_services/kded/kpasswdserver.desktop |
292 |
%_kde_services/kded/ktimezoned.desktop |
293 |
%_kde_services/kded/networkstatus.desktop |
294 |
%_kde_services/kded/networkwatcher.desktop |
295 |
%_kde_services/kded/phononserver.desktop |
296 |
%_kde_services/kded/recentdocumentsnotifier.desktop |
297 |
%_kde_services/kded/remotedirnotify.desktop |
298 |
%_kde_services/kded/solidautoeject.desktop |
299 |
%_kde_services/kded/soliduiserver.desktop |
300 |
%_kde_servicetypes/knotifynotifymethod.desktop |
301 |
%_kde_servicetypes/phononbackend.desktop |
302 |
%_kde_servicetypes/plasma-javascriptaddon.desktop |
303 |
%_kde_servicetypes/searchprovider.desktop |
304 |
%_kde_servicetypes/thumbcreator.desktop |
305 |
%_kde_datadir/locale/currency |
306 |
%_kde_datadir/locale/l10n/*/* |
307 |
%_kde_datadir/locale/l10n/*.desktop |
308 |
%_kde_mandir/man?/* |
309 |
%_kde_datadir/mime/packages/*.xml |
310 |
%_kde_datadir/sounds/* |
311 |
%_datadir/polkit-1/actions/*.policy |
312 |
%_datadir/dbus-1/services/*.service |
313 |
%_datadir/dbus-1/system-services/*.service |
314 |
%_datadir/dbus-1/interfaces/* |
315 |
|
316 |
#------------------------------------------------------------------------------ |
317 |
# Split handbook in his own package should also fix mga #2101 |
318 |
|
319 |
%package handbook |
320 |
Summary: KDE Handbook for %{name} |
321 |
Conflicts: %name < 1:4.7.1 |
322 |
Requires: %name >= %{epoch}:%{version}-%{release} |
323 |
BuildArch: noarch |
324 |
Group: Documentation |
325 |
|
326 |
%description handbook |
327 |
This packages provides the handbook for %{name} |
328 |
|
329 |
%files handbook |
330 |
%doc COPYING COPYING.LIB |
331 |
%doc %_kde_docdir/HTML/en/* |
332 |
|
333 |
#------------------------------------------------------------------------------ |
334 |
%package -n nepomuk |
335 |
Summary: Nepomuk core service daemon |
336 |
Conflicts: kdebase4-runtime < 1:4.7.97-2 |
337 |
Requires: nepomuk-core >= 1:%{version} |
338 |
Requires: raptor2 |
339 |
Requires: soprano-plugin-redland |
340 |
Requires: soprano-plugin-virtuoso |
341 |
# pdftotext is a requires for nepomuk to handle PDF file (commit db8f01aaa990dfd625ab705f3f84bef4c6f85896 & kde #231936 ) |
342 |
#Requires: poppler |
343 |
#Requires: %{mklibname strigiqtdbusclient0} |
344 |
|
345 |
%description -n nepomuk |
346 |
This package provides the core services daemon and the service registry |
347 |
daemon for Nepomuk. |
348 |
|
349 |
%files -n nepomuk |
350 |
%_kde_autostart/nepomukcontroller.desktop |
351 |
%_kde_bindir/nepomukcontroller |
352 |
%_kde_libdir/kde4/kcm_nepomuk.so |
353 |
%_kde_libdir/kde4/kded_nepomuksearchmodule.so |
354 |
%_kde_libdir/kde4/kio_nepomuk.so |
355 |
%_kde_libdir/kde4/kio_nepomuksearch.so |
356 |
%_kde_applicationsdir/nepomukcontroller.desktop |
357 |
%_kde_services/kcm_nepomuk.desktop |
358 |
%_kde_services/kded/nepomuksearchmodule.desktop |
359 |
|
360 |
#------------------------------------------------------------------------------ |
361 |
|
362 |
%package -n kwallet-daemon |
363 |
Summary: Kwallet daemon |
364 |
Group: Networking/Remote access |
365 |
Conflicts: %{name} < 1:4.5.71 |
366 |
|
367 |
%description -n kwallet-daemon |
368 |
Kwallet daemon. |
369 |
|
370 |
%files -n kwallet-daemon |
371 |
%_kde_bindir/kwalletd |
372 |
%_kde_libdir/libkdeinit4_kwalletd.so |
373 |
%_kde_appsdir/kwalletd |
374 |
%_kde_services/kwalletd.desktop |
375 |
|
376 |
#------------------------------------------------------------------------------ |
377 |
|
378 |
%define kwalletbackend_major 4 |
379 |
%define libkwalletbackend %mklibname kwalletbackend %kwalletbackend_major |
380 |
|
381 |
%package -n %libkwalletbackend |
382 |
Summary: Kwalletd backend library |
383 |
Group: System/Libraries |
384 |
|
385 |
%description -n %libkwalletbackend |
386 |
Library used insided kwalletd to manage the actual files and encryption. |
387 |
|
388 |
%files -n %libkwalletbackend |
389 |
%_kde_libdir/libkwalletbackend.so.%{kwalletbackend_major}* |
390 |
|
391 |
#------------------------------------------------------------------------------ |
392 |
|
393 |
%define molletnetwork_major 4 |
394 |
%define libmolletnetwork %mklibname molletnetwork %molletnetwork_major |
395 |
|
396 |
%package -n %libmolletnetwork |
397 |
Summary: KDE4 core library |
398 |
Group: System/Libraries |
399 |
|
400 |
%description -n %libmolletnetwork |
401 |
KDE 4 core library. |
402 |
|
403 |
%files -n %libmolletnetwork |
404 |
%_kde_libdir/libmolletnetwork.so.%{molletnetwork_major}* |
405 |
|
406 |
#------------------------------------------------------------------------------ |
407 |
|
408 |
%package devel |
409 |
Group: Development/KDE and Qt |
410 |
Summary: Header files and documentation for compiling KDE applications |
411 |
Requires: %name = %epoch:%version |
412 |
Requires: %libkwalletbackend = %epoch:%version |
413 |
Requires: %libmolletnetwork = %epoch:%version |
414 |
Conflicts: nepomuk < 1:4.8.1-2 |
415 |
|
416 |
%description devel |
417 |
This package includes the header files you will need to compile applications |
418 |
for KDE. Also included is the KDE API documentation in HTML format for easy |
419 |
browsing. |
420 |
|
421 |
%files devel |
422 |
%_kde_includedir/*.h |
423 |
%_kde_libdir/libkwalletbackend.so |
424 |
%_kde_libdir/libmolletnetwork.so |
425 |
%_kde_appsdir/cmake/modules/*.cmake |
426 |
|
427 |
#------------------------------------------------------------------------------ |
428 |
|
429 |
%prep |
430 |
%setup -qn %{srcname}-%{version} |
431 |
%apply_patches |
432 |
|
433 |
%build |
434 |
export LD=/usr/bin/ld.gold |
435 |
%cmake_kde4 -DKDE4_ENABLE_FINAL=OFF |
436 |
%make |
437 |
|
438 |
%install |
439 |
rm -fr %buildroot |
440 |
%makeinstall_std -C build |
441 |
rm -f %buildroot%_kde_iconsdir/hicolor/index.theme |