/[packages]/cauldron/krita/current/SPECS/krita.spec
ViewVC logotype

Contents of /cauldron/krita/current/SPECS/krita.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1725478 - (show annotations) (download)
Tue May 18 19:12:07 2021 UTC (3 years, 4 months ago) by daviddavid
File size: 16377 byte(s)
- switch to new quazip 1.0
- let's build with Vc support on aarch64 and arm arches as it is now available
- remove old Obsoletes/Conflicts (SILENT)

1 # Disable automatic compilation of Python files in extra directories
2 %global _python_bytecompile_extra 0
3
4 Name: krita
5 # Heritage of calligra times
6 Epoch: 12
7 Version: 4.4.3
8 Release: %mkrel 2
9 Summary: Krita is a FREE sketching and painting program
10 Group: Graphical desktop/KDE
11 License: GPLv2+
12 URL: https://krita.org
13 Source0: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
14 ## mageia patches (0-99)
15 Patch0: krita-4.4.0-set-sip-executable.patch
16 Patch1: krita-4.4.1-c++14.patch
17 ## upstream patches (100-199)
18
19 BuildRequires: kf5-macros
20 BuildRequires: cmake(KF5KIO) >= 5.7
21 BuildRequires: cmake(KF5GuiAddons) >= 5.7
22 BuildRequires: cmake(KF5I18n) >= 5.7
23 BuildRequires: cmake(KF5ItemModels) >= 5.7
24 BuildRequires: cmake(KF5WindowSystem) >= 5.7
25 BuildRequires: cmake(KF5Archive) >= 5.7
26 BuildRequires: cmake(KF5Crash) >= 5.7
27 BuildRequires: cmake(Vc) >= 1.1.0
28
29 BuildRequires: pkgconfig(poppler-qt5)
30 BuildRequires: pkgconfig(Qt5Concurrent)
31 BuildRequires: pkgconfig(Qt5Core)
32 BuildRequires: pkgconfig(Qt5Gui)
33 BuildRequires: pkgconfig(Qt5Network)
34 BuildRequires: pkgconfig(Qt5Multimedia)
35 BuildRequires: pkgconfig(Qt5Quick)
36 BuildRequires: pkgconfig(Qt5QuickWidgets)
37 BuildRequires: pkgconfig(Qt5Svg)
38 BuildRequires: pkgconfig(Qt5Test)
39 BuildRequires: pkgconfig(Qt5X11Extras)
40 BuildRequires: pkgconfig(Qt5Widgets)
41
42 BuildRequires: boost-devel
43 BuildRequires: giflib-devel
44 BuildRequires: cmake(QuaZip-Qt5)
45 BuildRequires: pkgconfig(eigen3)
46 BuildRequires: pkgconfig(exiv2)
47 BuildRequires: pkgconfig(fftw3)
48 BuildRequires: pkgconfig(gsl)
49 BuildRequires: pkgconfig(libcurl)
50 BuildRequires: pkgconfig(libinput)
51 BuildRequires: pkgconfig(libjpeg)
52 BuildRequires: pkgconfig(libpng)
53 BuildRequires: pkgconfig(libraw)
54 BuildRequires: pkgconfig(libtiff-4)
55 BuildRequires: pkgconfig(OpenColorIO)
56 BuildRequires: pkgconfig(OpenEXR)
57 BuildRequires: pkgconfig(xcb)
58 BuildRequires: pkgconfig(xcb-util)
59 BuildRequires: pkgconfig(xi)
60 BuildRequires: pkgconfig(zlib)
61 BuildRequires: python3-sip-devel
62 BuildRequires: python3-qt5-devel
63
64 Requires: python3-qt5-core
65 Requires: python3-qt5-gui
66 Requires: python3-qt5-network
67 Requires: python3-qt5-qml
68 Requires: python3-qt5-widgets
69 Requires: python3-qt5-xml
70
71 %description
72 Krita is a FREE sketching and painting program.
73 It was created with the following types of art in mind:
74 - concept art
75 - texture or matte painting
76 - illustrations and comics
77
78 %files -f %{name}.lang
79 %_kf5_sysconfdir/xdg/kritarc
80 %_kf5_bindir/krita
81 %_kf5_bindir/kritarunner
82 %_kf5_bindir/krita_version
83 %_kf5_libdir/kritaplugins
84 %_kf5_libdir/krita-python-libs/
85 %_kf5_datadir/color-schemes/*.colors
86 %_kf5_datadir/color/icc/krita
87 %_kf5_datadir/krita
88 %_kf5_datadir/kritaplugins
89 %_kf5_metainfodir/org.kde.krita.appdata.xml
90 %_kf5_applicationsdir/*
91 %_kf5_iconsdir/*/*/*/*
92 # FIXME: /org/krita -> /org/kde/krita ?
93 %_kf5_qmldir/org/krita/
94
95 #--------------------------------------------------------------------
96
97 %define kritabasicflakes_major 20
98 %define libkritabasicflakes %mklibname kritabasicflakes %{kritabasicflakes_major}
99
100 %package -n %libkritabasicflakes
101 Summary: Krita is a FREE sketching and painting program
102 Group: System/Libraries
103
104 %description -n %libkritabasicflakes
105 Krita is a FREE sketching and painting program.
106
107 %files -n %libkritabasicflakes
108 %_kf5_libdir/libkritabasicflakes.so.%{kritabasicflakes_major}{,.*}
109
110 #--------------------------------------------------------------------
111
112 %define kritacolor_major 20
113 %define libkritacolor %mklibname kritacolor %{kritacolor_major}
114
115 %package -n %libkritacolor
116 Summary: Krita is a FREE sketching and painting program
117 Group: System/Libraries
118
119 %description -n %libkritacolor
120 Krita is a FREE sketching and painting program.
121
122 %files -n %libkritacolor
123 %_kf5_libdir/libkritacolor.so.%{kritacolor_major}{,.*}
124
125 #--------------------------------------------------------------------
126
127 %define kritacolord_major 20
128 %define libkritacolord %mklibname kritacolord %{kritacolord_major}
129
130 %package -n %libkritacolord
131 Summary: Krita is a FREE sketching and painting program
132 Group: System/Libraries
133
134 %description -n %libkritacolord
135 Krita is a FREE sketching and painting program.
136
137 %files -n %libkritacolord
138 %_kf5_libdir/libkritacolord.so.%{kritacolord_major}{,.*}
139
140 #--------------------------------------------------------------------
141
142 %define kritaflake_major 20
143 %define libkritaflake %mklibname kritaflake %{kritaflake_major}
144
145 %package -n %libkritaflake
146 Summary: Krita is a FREE sketching and painting program
147 Group: System/Libraries
148
149 %description -n %libkritaflake
150 Krita is a FREE sketching and painting program.
151
152 %files -n %libkritaflake
153 %_kf5_libdir/libkritaflake.so.%{kritaflake_major}{,.*}
154
155 #--------------------------------------------------------------------
156
157 %define kritaglobal_major 20
158 %define libkritaglobal %mklibname kritaglobal %{kritaglobal_major}
159
160 %package -n %libkritaglobal
161 Summary: Krita is a FREE sketching and painting program
162 Group: System/Libraries
163
164 %description -n %libkritaglobal
165 Krita is a FREE sketching and painting program.
166
167 %files -n %libkritaglobal
168 %_kf5_libdir/libkritaglobal.so.%{kritaglobal_major}{,.*}
169
170 #--------------------------------------------------------------------
171
172 %define kritaimage_major 20
173 %define libkritaimage %mklibname kritaimage %{kritaimage_major}
174
175 %package -n %libkritaimage
176 Summary: Krita is a FREE sketching and painting program
177 Group: System/Libraries
178
179 %description -n %libkritaimage
180 Krita is a FREE sketching and painting program.
181
182 %files -n %libkritaimage
183 %_kf5_libdir/libkritaimage.so.%{kritaimage_major}{,.*}
184
185 #--------------------------------------------------------------------
186
187 %define kritalibbrush_major 20
188 %define libkritalibbrush %mklibname kritalibbrush %{kritalibbrush_major}
189
190 %package -n %libkritalibbrush
191 Summary: Krita is a FREE sketching and painting program
192 Group: System/Libraries
193
194 %description -n %libkritalibbrush
195 Krita is a FREE sketching and painting program.
196
197 %files -n %libkritalibbrush
198 %_kf5_libdir/libkritalibbrush.so.%{kritalibbrush_major}{,.*}
199
200 #--------------------------------------------------------------------
201
202 %define kritalibpaintop_major 20
203 %define libkritalibpaintop %mklibname kritalibpaintop %{kritalibpaintop_major}
204
205 %package -n %libkritalibpaintop
206 Summary: Krita is a FREE sketching and painting program
207 Group: System/Libraries
208
209 %description -n %libkritalibpaintop
210 Krita is a FREE sketching and painting program.
211
212 %files -n %libkritalibpaintop
213 %_kf5_libdir/libkritalibpaintop.so.%{kritalibpaintop_major}{,.*}
214
215 #--------------------------------------------------------------------
216
217 %define kritametadata_major 20
218 %define libkritametadata %mklibname kritametadata %{kritametadata_major}
219
220 %package -n %libkritametadata
221 Summary: Krita is a FREE sketching and painting program
222 Group: System/Libraries
223
224 %description -n %libkritametadata
225 Krita is a FREE sketching and painting program.
226
227 %files -n %libkritametadata
228 %_kf5_libdir/libkritametadata.so.%{kritametadata_major}{,.*}
229
230 #--------------------------------------------------------------------
231
232 %define kritaodf_major 20
233 %define libkritaodf %mklibname kritaodf %{kritaodf_major}
234
235 %package -n %libkritaodf
236 Summary: Krita is a FREE sketching and painting program
237 Group: System/Libraries
238
239 %description -n %libkritaodf
240 Krita is a FREE sketching and painting program.
241
242 %files -n %libkritaodf
243 %_kf5_libdir/libkritaodf.so.%{kritaodf_major}{,.*}
244
245 #--------------------------------------------------------------------
246
247 %define kritapigment_major 20
248 %define libkritapigment %mklibname kritapigment %{kritapigment_major}
249
250 %package -n %libkritapigment
251 Summary: Krita is a FREE sketching and painting program
252 Group: System/Libraries
253
254 %description -n %libkritapigment
255 Krita is a FREE sketching and painting program.
256
257 %files -n %libkritapigment
258 %_kf5_libdir/libkritapigment.so.%{kritapigment_major}{,.*}
259
260 #--------------------------------------------------------------------
261
262 %define kritaplugin_major 20
263 %define libkritaplugin %mklibname kritaplugin %{kritaplugin_major}
264
265 %package -n %libkritaplugin
266 Summary: Krita is a FREE sketching and painting program
267 Group: System/Libraries
268
269 %description -n %libkritaplugin
270 Krita is a FREE sketching and painting program.
271
272 %files -n %libkritaplugin
273 %_kf5_libdir/libkritaplugin.so.%{kritaplugin_major}{,.*}
274
275 #--------------------------------------------------------------------
276
277 %define kritapsd_major 20
278 %define libkritapsd %mklibname kritapsd %{kritapsd_major}
279
280 %package -n %libkritapsd
281 Summary: Krita is a FREE sketching and painting program
282 Group: System/Libraries
283
284 %description -n %libkritapsd
285 Krita is a FREE sketching and painting program.
286
287 %files -n %libkritapsd
288 %_kf5_libdir/libkritapsd.so.%{kritapsd_major}{,.*}
289
290 #--------------------------------------------------------------------
291
292 %define kritastore_major 20
293 %define libkritastore %mklibname kritastore %{kritastore_major}
294
295 %package -n %libkritastore
296 Summary: Krita is a FREE sketching and painting program
297 Group: System/Libraries
298
299 %description -n %libkritastore
300 Krita is a FREE sketching and painting program.
301
302 %files -n %libkritastore
303 %_kf5_libdir/libkritastore.so.%{kritastore_major}{,.*}
304
305 #--------------------------------------------------------------------
306
307 %define kritatext_major 20
308 %define libkritatext %mklibname kritatext %{kritatext_major}
309
310 %package -n %libkritatext
311 Summary: Krita is a FREE sketching and painting program
312 Group: System/Libraries
313
314 %description -n %libkritatext
315 Krita is a FREE sketching and painting program.
316
317 %files -n %libkritatext
318 %_kf5_libdir/libkritatext.so.%{kritatext_major}{,.*}
319
320 #--------------------------------------------------------------------
321
322 %define kritatextlayout_major 20
323 %define libkritatextlayout %mklibname kritatextlayout %{kritatextlayout_major}
324
325 %package -n %libkritatextlayout
326 Summary: Krita is a FREE sketching and painting program
327 Group: System/Libraries
328
329 %description -n %libkritatextlayout
330 Krita is a FREE sketching and painting program.
331
332 %files -n %libkritatextlayout
333 %_kf5_libdir/libkritatextlayout.so.%{kritatextlayout_major}{,.*}
334
335 #--------------------------------------------------------------------
336
337 %define kritaui_major 20
338 %define libkritaui %mklibname kritaui %{kritaui_major}
339
340 %package -n %libkritaui
341 Summary: Krita is a FREE sketching and painting program
342 Group: System/Libraries
343
344 %description -n %libkritaui
345 Krita is a FREE sketching and painting program.
346
347 %files -n %libkritaui
348 %_kf5_libdir/libkritaui.so.%{kritaui_major}{,.*}
349
350 #--------------------------------------------------------------------
351
352 %define kritaversion_major 20
353 %define libkritaversion %mklibname kritaversion %{kritaversion_major}
354
355 %package -n %libkritaversion
356 Summary: Krita is a FREE sketching and painting program
357 Group: System/Libraries
358
359 %description -n %libkritaversion
360 Krita is a FREE sketching and painting program.
361
362 %files -n %libkritaversion
363 %_kf5_libdir/libkritaversion.so.%{kritaversion_major}{,.*}
364
365 #--------------------------------------------------------------------
366
367 %define kritawidgets_major 20
368 %define libkritawidgets %mklibname kritawidgets %{kritawidgets_major}
369
370 %package -n %libkritawidgets
371 Summary: Krita is a FREE sketching and painting program
372 Group: System/Libraries
373
374 %description -n %libkritawidgets
375 Krita is a FREE sketching and painting program.
376
377 %files -n %libkritawidgets
378 %_kf5_libdir/libkritawidgets.so.%{kritawidgets_major}{,.*}
379
380 #--------------------------------------------------------------------
381
382 %define kritawidgetutils_major 20
383 %define libkritawidgetutils %mklibname kritawidgetutils %{kritawidgetutils_major}
384
385 %package -n %libkritawidgetutils
386 Summary: Krita is a FREE sketching and painting program
387 Group: System/Libraries
388
389 %description -n %libkritawidgetutils
390 Krita is a FREE sketching and painting program.
391
392 %files -n %libkritawidgetutils
393 %_kf5_libdir/libkritawidgetutils.so.%{kritawidgetutils_major}{,.*}
394
395 #--------------------------------------------------------------------
396
397 %define kritacommand_major 20
398 %define libkritacommand %mklibname kritacommand %{kritacommand_major}
399
400 %package -n %libkritacommand
401 Summary: Krita is a FREE sketching and painting program
402 Group: System/Libraries
403
404 %description -n %libkritacommand
405 Krita is a FREE sketching and painting program.
406
407 %files -n %libkritacommand
408 %_kf5_libdir/libkritacommand.so.%{kritacommand_major}{,.*}
409
410 #--------------------------------------------------------------------
411
412 %define kritaimpex_major 20
413 %define libkritaimpex %mklibname kritaimpex %{kritaimpex_major}
414
415 %package -n %libkritaimpex
416 Summary: Krita is a FREE sketching and painting program
417 Group: System/Libraries
418
419 %description -n %libkritaimpex
420 Krita is a FREE sketching and painting program.
421
422 %files -n %libkritaimpex
423 %_kf5_libdir/libkritaimpex.so.%{kritaimpex_major}{,.*}
424
425 #--------------------------------------------------------------------
426
427 %define kritalibkis_major 20
428 %define libkritalibkis %mklibname kritalibkis %{kritalibkis_major}
429
430 %package -n %libkritalibkis
431 Summary: Krita is a FREE sketching and painting program
432 Group: System/Libraries
433
434 %description -n %libkritalibkis
435 Krita is a FREE sketching and painting program.
436
437 %files -n %libkritalibkis
438 %_kf5_libdir/libkritalibkis.so.%{kritalibkis_major}{,.*}
439
440 #--------------------------------------------------------------------
441
442 %define kritalibkra_major 20
443 %define libkritalibkra %mklibname kritalibkra %{kritalibkra_major}
444
445 %package -n %libkritalibkra
446 Summary: Krita is a FREE sketching and painting program
447 Group: System/Libraries
448
449 %description -n %libkritalibkra
450 Krita is a FREE sketching and painting program.
451
452 %files -n %libkritalibkra
453 %_kf5_libdir/libkritalibkra.so.%{kritalibkra_major}{,.*}
454
455 #--------------------------------------------------------------------
456
457 %define kritaqml_major 20
458 %define libkritaqml %mklibname kritaqml %{kritaqml_major}
459
460 %package -n %libkritaqml
461 Summary: Krita is a FREE sketching and painting program
462 Group: System/Libraries
463
464 %description -n %libkritaqml
465 Krita is a FREE sketching and painting program.
466
467 %files -n %libkritaqml
468 %_kf5_libdir/libkritaqml.so.%{kritaqml_major}{,.*}
469
470 #--------------------------------------------------------------------
471
472 %define krita_devel %mklibname krita -d
473
474 %package -n %krita_devel
475 Summary: Development files for %{name}
476 Group: Development/KDE and Qt
477 Requires: %libkritabasicflakes = %epoch:%version-%release
478 Requires: %libkritacolor = %epoch:%version-%release
479 Requires: %libkritacolord = %epoch:%version-%release
480 Requires: %libkritaflake = %epoch:%version-%release
481 Requires: %libkritaglobal = %epoch:%version-%release
482 Requires: %libkritaimage = %epoch:%version-%release
483 Requires: %libkritalibbrush = %epoch:%version-%release
484 Requires: %libkritalibpaintop = %epoch:%version-%release
485 Requires: %libkritametadata = %epoch:%version-%release
486 Requires: %libkritaodf = %epoch:%version-%release
487 Requires: %libkritapigment = %epoch:%version-%release
488 Requires: %libkritaplugin = %epoch:%version-%release
489 Requires: %libkritapsd = %epoch:%version-%release
490 Requires: %libkritastore = %epoch:%version-%release
491 Requires: %libkritatext = %epoch:%version-%release
492 Requires: %libkritatextlayout = %epoch:%version-%release
493 Requires: %libkritaui = %epoch:%version-%release
494 Requires: %libkritaversion = %epoch:%version-%release
495 Requires: %libkritawidgets = %epoch:%version-%release
496 Requires: %libkritawidgetutils = %epoch:%version-%release
497 Requires: %libkritacommand = %epoch:%version-%release
498 Requires: %libkritaimpex = %epoch:%version-%release
499 Requires: %libkritalibkis = %epoch:%version-%release
500 Requires: %libkritalibkra = %epoch:%version-%release
501 Requires: %libkritaqml = %epoch:%version-%release
502 Provides: %name-devel = %version-%release
503
504 %description -n %krita_devel
505 The %{krita_devel} package contains libraries and header files for
506 developing applications that use %{name}.
507
508 %files -n %krita_devel
509 %_kf5_libdir/*.so
510
511 #--------------------------------------------------------------------
512
513 %prep
514 %autosetup -p1
515
516 %build
517 %cmake_kf5 \
518 -DSIP_EXECUTABLE=%{_bindir}/python3-sip
519 %cmake_build
520
521 %install
522 %cmake_install
523 %find_lang %{name}

  ViewVC Help
Powered by ViewVC 1.1.30