/[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 1709090 - (show annotations) (download)
Wed Mar 24 18:44:34 2021 UTC (3 years, 6 months ago) by daviddavid
File size: 16571 byte(s)
- new version: 4.4.3

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

  ViewVC Help
Powered by ViewVC 1.1.30