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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1725478 - (hide 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 daviddavid 1397634 # Disable automatic compilation of Python files in extra directories
2     %global _python_bytecompile_extra 0
3    
4 akien 1098643 Name: krita
5 akien 1109225 # Heritage of calligra times
6     Epoch: 12
7 daviddavid 1709090 Version: 4.4.3
8 daviddavid 1725478 Release: %mkrel 2
9 akien 1098642 Summary: Krita is a FREE sketching and painting program
10     Group: Graphical desktop/KDE
11     License: GPLv2+
12 daviddavid 1426685 URL: https://krita.org
13 daviddavid 1448810 Source0: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
14 daviddavid 1397467 ## mageia patches (0-99)
15 daviddavid 1636164 Patch0: krita-4.4.0-set-sip-executable.patch
16 daviddavid 1668584 Patch1: krita-4.4.1-c++14.patch
17 daviddavid 1354739 ## upstream patches (100-199)
18 akien 1098643
19 akien 1098642 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 akien 1098649 BuildRequires: pkgconfig(poppler-qt5)
30 akien 1098675 BuildRequires: pkgconfig(Qt5Concurrent)
31 akien 1098649 BuildRequires: pkgconfig(Qt5Core)
32 daviddavid 1215938 BuildRequires: pkgconfig(Qt5Gui)
33     BuildRequires: pkgconfig(Qt5Network)
34 akien 1098649 BuildRequires: pkgconfig(Qt5Multimedia)
35 daviddavid 1215938 BuildRequires: pkgconfig(Qt5Quick)
36     BuildRequires: pkgconfig(Qt5QuickWidgets)
37 akien 1098649 BuildRequires: pkgconfig(Qt5Svg)
38 akien 1098674 BuildRequires: pkgconfig(Qt5Test)
39 akien 1098649 BuildRequires: pkgconfig(Qt5X11Extras)
40 daviddavid 1215938 BuildRequires: pkgconfig(Qt5Widgets)
41 akien 1098642
42     BuildRequires: boost-devel
43 daviddavid 1215914 BuildRequires: giflib-devel
44 daviddavid 1725478 BuildRequires: cmake(QuaZip-Qt5)
45 akien 1098642 BuildRequires: pkgconfig(eigen3)
46     BuildRequires: pkgconfig(exiv2)
47 akien 1098649 BuildRequires: pkgconfig(fftw3)
48     BuildRequires: pkgconfig(gsl)
49     BuildRequires: pkgconfig(libcurl)
50     BuildRequires: pkgconfig(libinput)
51     BuildRequires: pkgconfig(libjpeg)
52 akien 1098642 BuildRequires: pkgconfig(libpng)
53 akien 1098649 BuildRequires: pkgconfig(libraw)
54     BuildRequires: pkgconfig(libtiff-4)
55     BuildRequires: pkgconfig(OpenColorIO)
56 akien 1098642 BuildRequires: pkgconfig(OpenEXR)
57     BuildRequires: pkgconfig(xcb)
58     BuildRequires: pkgconfig(xcb-util)
59 akien 1098649 BuildRequires: pkgconfig(xi)
60     BuildRequires: pkgconfig(zlib)
61 daviddavid 1397349 BuildRequires: python3-sip-devel
62     BuildRequires: python3-qt5-devel
63 akien 1098642
64 daviddavid 1397459 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 akien 1098642 %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 akien 1098643 %files -f %{name}.lang
79 akien 1098642 %_kf5_sysconfdir/xdg/kritarc
80     %_kf5_bindir/krita
81 daviddavid 1397634 %_kf5_bindir/kritarunner
82 daviddavid 1636169 %_kf5_bindir/krita_version
83 akien 1098642 %_kf5_libdir/kritaplugins
84 daviddavid 1397634 %_kf5_libdir/krita-python-libs/
85 akien 1098642 %_kf5_datadir/color-schemes/*.colors
86     %_kf5_datadir/color/icc/krita
87     %_kf5_datadir/krita
88     %_kf5_datadir/kritaplugins
89 daviddavid 1588489 %_kf5_metainfodir/org.kde.krita.appdata.xml
90 akien 1098642 %_kf5_applicationsdir/*
91     %_kf5_iconsdir/*/*/*/*
92 daviddavid 1215914 # FIXME: /org/krita -> /org/kde/krita ?
93     %_kf5_qmldir/org/krita/
94 akien 1098642
95     #--------------------------------------------------------------------
96    
97 daviddavid 1636165 %define kritabasicflakes_major 20
98 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritabasicflakes.so.%{kritabasicflakes_major}{,.*}
109 akien 1098642
110     #--------------------------------------------------------------------
111    
112 daviddavid 1636165 %define kritacolor_major 20
113 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritacolor.so.%{kritacolor_major}{,.*}
124 akien 1098642
125     #--------------------------------------------------------------------
126    
127 daviddavid 1636165 %define kritacolord_major 20
128 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritacolord.so.%{kritacolord_major}{,.*}
139 akien 1098642
140     #--------------------------------------------------------------------
141    
142 daviddavid 1636165 %define kritaflake_major 20
143 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritaflake.so.%{kritaflake_major}{,.*}
154 akien 1098642
155     #--------------------------------------------------------------------
156    
157 daviddavid 1636165 %define kritaglobal_major 20
158 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritaglobal.so.%{kritaglobal_major}{,.*}
169 akien 1098642
170     #--------------------------------------------------------------------
171    
172 daviddavid 1636165 %define kritaimage_major 20
173 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritaimage.so.%{kritaimage_major}{,.*}
184 akien 1098642
185     #--------------------------------------------------------------------
186    
187 daviddavid 1636165 %define kritalibbrush_major 20
188 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritalibbrush.so.%{kritalibbrush_major}{,.*}
199 akien 1098642
200     #--------------------------------------------------------------------
201    
202 daviddavid 1636165 %define kritalibpaintop_major 20
203 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritalibpaintop.so.%{kritalibpaintop_major}{,.*}
214 akien 1098642
215     #--------------------------------------------------------------------
216    
217 daviddavid 1636165 %define kritametadata_major 20
218 daviddavid 1416528 %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 daviddavid 1636165 %define kritaodf_major 20
233 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritaodf.so.%{kritaodf_major}{,.*}
244 akien 1098642
245     #--------------------------------------------------------------------
246    
247 daviddavid 1636165 %define kritapigment_major 20
248 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritapigment.so.%{kritapigment_major}{,.*}
259 akien 1098642
260     #--------------------------------------------------------------------
261    
262 daviddavid 1636165 %define kritaplugin_major 20
263 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritaplugin.so.%{kritaplugin_major}{,.*}
274 akien 1098642
275     #--------------------------------------------------------------------
276    
277 daviddavid 1636165 %define kritapsd_major 20
278 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritapsd.so.%{kritapsd_major}{,.*}
289 akien 1098642
290     #--------------------------------------------------------------------
291    
292 daviddavid 1636165 %define kritastore_major 20
293 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritastore.so.%{kritastore_major}{,.*}
304 akien 1098642
305     #--------------------------------------------------------------------
306    
307 daviddavid 1636165 %define kritatext_major 20
308 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritatext.so.%{kritatext_major}{,.*}
319 akien 1098642
320     #--------------------------------------------------------------------
321    
322 daviddavid 1636165 %define kritatextlayout_major 20
323 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritatextlayout.so.%{kritatextlayout_major}{,.*}
334 akien 1098642
335     #--------------------------------------------------------------------
336    
337 daviddavid 1636165 %define kritaui_major 20
338 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritaui.so.%{kritaui_major}{,.*}
349 akien 1098642
350     #--------------------------------------------------------------------
351    
352 daviddavid 1636165 %define kritaversion_major 20
353 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritaversion.so.%{kritaversion_major}{,.*}
364 akien 1098642
365     #--------------------------------------------------------------------
366    
367 daviddavid 1636165 %define kritawidgets_major 20
368 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritawidgets.so.%{kritawidgets_major}{,.*}
379 akien 1098642
380     #--------------------------------------------------------------------
381    
382 daviddavid 1636165 %define kritawidgetutils_major 20
383 akien 1098642 %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 daviddavid 1216121 %_kf5_libdir/libkritawidgetutils.so.%{kritawidgetutils_major}{,.*}
394 akien 1098642
395     #--------------------------------------------------------------------
396    
397 daviddavid 1636165 %define kritacommand_major 20
398 daviddavid 1216121 %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 daviddavid 1636165 %define kritaimpex_major 20
413 daviddavid 1216121 %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 daviddavid 1636165 %define kritalibkis_major 20
428 daviddavid 1216121 %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 daviddavid 1636165 %define kritalibkra_major 20
443 daviddavid 1216121 %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 daviddavid 1636165 %define kritaqml_major 20
458 daviddavid 1216121 %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 akien 1098643 %define krita_devel %mklibname krita -d
473 akien 1098642
474 akien 1098643 %package -n %krita_devel
475     Summary: Development files for %{name}
476 akien 1098642 Group: Development/KDE and Qt
477 daviddavid 1138466 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 daviddavid 1416528 Requires: %libkritametadata = %epoch:%version-%release
486 daviddavid 1138466 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 daviddavid 1216121 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 akien 1098642 Provides: %name-devel = %version-%release
503    
504 akien 1098643 %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 akien 1098642 %_kf5_libdir/*.so
510    
511     #--------------------------------------------------------------------
512    
513     %prep
514 daviddavid 1138314 %autosetup -p1
515 akien 1098642
516     %build
517 daviddavid 1597308 %cmake_kf5 \
518 daviddavid 1397389 -DSIP_EXECUTABLE=%{_bindir}/python3-sip
519 wally 1470526 %cmake_build
520 akien 1098642
521     %install
522 wally 1470526 %cmake_install
523 akien 1098643 %find_lang %{name}

  ViewVC Help
Powered by ViewVC 1.1.30