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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1949978 - (show annotations) (download)
Tue Mar 21 21:16:25 2023 UTC (17 months, 4 weeks ago) by daviddavid
File size: 58258 byte(s)
- new version: 3.18.1

1 Name: gambas3
2 Summary: Complete IDE based on a BASIC interpreter with object extensions
3 Version: 3.18.1
4 Release: %mkrel 1
5 License: GPLv2+
6 Group: Development/Basic
7 URL: https://gambas.sourceforge.net/
8 Source0: https://gitlab.com/gambas/gambas/-/archive/%{version}/gambas-%{version}.tar.bz2
9 Patch0: gambas-verbose-gbc.patch
10 Patch1: gambas-3.18.0-poppler-23.x.patch
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRequires: desktop-file-utils
15 BuildRequires: imagemagick
16 BuildRequires: xdg-utils
17 BuildRequires: pkgconfig(bzip2)
18 BuildRequires: gettext-devel
19 BuildRequires: gmp-devel
20 BuildRequires: pkgconfig(libjpeg)
21 BuildRequires: mysql-devel
22 BuildRequires: pkgconfig(odbc)
23 #BuildRequires: pkgconfig(alure)
24 BuildRequires: pkgconfig(cairo)
25 BuildRequires: pkgconfig(dbus-1)
26 BuildRequires: pkgconfig(glew)
27 BuildRequires: pkgconfig(gmime-3.0)
28 BuildRequires: pkgconfig(gnome-keyring-1)
29 BuildRequires: pkgconfig(gsl)
30 BuildRequires: pkgconfig(gstreamer-1.0)
31 BuildRequires: pkgconfig(gstreamer-video-1.0)
32 BuildRequires: pkgconfig(gtk+-3.0)
33 BuildRequires: pkgconfig(imlib2)
34 BuildRequires: pkgconfig(libcurl)
35 BuildRequires: pkgconfig(libffi)
36 BuildRequires: pkgconfig(libpcre2-8)
37 BuildRequires: pkgconfig(libpng)
38 BuildRequires: pkgconfig(libpq)
39 BuildRequires: pkgconfig(librsvg-2.0)
40 BuildRequires: pkgconfig(libv4l1)
41 BuildRequires: pkgconfig(libxml-2.0)
42 BuildRequires: pkgconfig(libxslt)
43 BuildRequires: pkgconfig(ncurses)
44 BuildRequires: pkgconfig(openal)
45 BuildRequires: pkgconfig(openssl)
46 BuildRequires: pkgconfig(poppler)
47 BuildRequires: pkgconfig(poppler-cpp)
48 BuildRequires: pkgconfig(poppler-glib)
49 BuildRequires: pkgconfig(poppler-qt5)
50 BuildRequires: pkgconfig(sdl)
51 BuildRequires: pkgconfig(SDL_image)
52 BuildRequires: pkgconfig(SDL_mixer)
53 BuildRequires: pkgconfig(SDL_ttf)
54 BuildRequires: SDL_sound-devel
55 BuildRequires: pkgconfig(sdl2)
56 BuildRequires: pkgconfig(SDL2_image)
57 BuildRequires: pkgconfig(SDL2_mixer)
58 BuildRequires: pkgconfig(SDL2_ttf)
59 BuildRequires: pkgconfig(sqlite)
60 BuildRequires: pkgconfig(sqlite3)
61 BuildRequires: pkgconfig(webkit2gtk-4.1)
62 BuildRequires: pkgconfig(xcursor)
63 BuildRequires: pkgconfig(libxml-2.0)
64 BuildRequires: pkgconfig(xtst)
65 ### Qt5 ###
66 BuildRequires: qttools5
67 BuildRequires: pkgconfig(Qt5Core)
68 BuildRequires: pkgconfig(Qt5Gui)
69 BuildRequires: pkgconfig(Qt5Network)
70 BuildRequires: pkgconfig(Qt5OpenGL)
71 BuildRequires: pkgconfig(Qt5PrintSupport)
72 BuildRequires: pkgconfig(Qt5Svg)
73 BuildRequires: pkgconfig(Qt5WebEngineWidgets)
74 BuildRequires: pkgconfig(Qt5WebKit)
75 BuildRequires: pkgconfig(Qt5WebKitWidgets)
76 BuildRequires: pkgconfig(Qt5Widgets)
77 BuildRequires: pkgconfig(Qt5Xml)
78 BuildRequires: pkgconfig(Qt5X11Extras)
79
80 Recommends: qttranslations5
81
82 %description
83 Gambas is a free development environment based on a Basic interpreter
84 with object extensions, like Visual Basic(tm) (but it is NOT a clone!).
85 With Gambas, you can quickly design your program GUI, access MySQL or
86 PostgreSQL databases, translate your program into many languages,
87 create network applications easily, build RPMs of your apps
88 automatically, and so on...
89
90 #-----------------------------------------------------------------------------
91
92 %package runtime
93 Summary: The Gambas runtime
94 Group: Development/Basic
95 Requires: %{name}-gb-pcre = %{version}
96 Obsoletes: %{name}-gb-geom < 3.17.2-2
97 Obsoletes: %{name}-gb-test < 3.17.2-2
98 Obsoletes: %{name}-gb-gui < 3.17.2-2
99
100 %description runtime
101 This package includes the Gambas interpreter needed to run Gambas applications.
102
103 %files runtime
104 %doc README AUTHORS ChangeLog
105 %{_bindir}/gbx3
106 %{_bindir}/gbr3
107 %dir %{_libdir}/%{name}
108 %{_libdir}/%{name}/gb.component
109 %{_libdir}/%{name}/gb.debug.*
110 %{_libdir}/%{name}/gb.eval.*
111 %{_libdir}/%{name}/gb.geom.*
112 %{_libdir}/%{name}/gb.draw.*
113 %{_libdir}/%{name}/gb.gui.*
114 %{_libdir}/%{name}/gb.test.*
115 %dir %{_datadir}/%{name}
116 %dir %{_datadir}/%{name}/info
117 %{_datadir}/%{name}/info/gb.info
118 %{_datadir}/%{name}/info/gb.list
119 %{_datadir}/%{name}/info/gb.debug.*
120 %{_datadir}/%{name}/info/gb.eval.*
121 %{_datadir}/%{name}/info/gb.geom.*
122 %{_datadir}/%{name}/info/gb.gui.*
123 %{_datadir}/%{name}/info/gb.test.*
124 %{_datadir}/%{name}/template/
125 %dir %{_datadir}/%{name}/control
126 %{_mandir}/man1/gbx3.1*
127 %{_mandir}/man1/gbr3.1*
128 # mime
129 %{_datadir}/mime/packages/gambas3.xml
130 %{_iconsdir}/hicolor/*/mimetypes/application-x-gambas3.png
131
132 #-----------------------------------------------------------------------------
133
134 %package devel
135 Summary: The Gambas development package
136 Group: Development/Basic
137
138 %description devel
139 This package includes all tools needed to compile Gambas projects
140 without having to install the complete development environment.
141
142 %files devel
143 %{_bindir}/gbc3
144 %{_bindir}/gba3
145 %{_bindir}/gbi3
146 %{_bindir}/gbh3
147 %{_bindir}/gbh3.gambas
148 %{_mandir}/man1/gbc3.1*
149 %{_mandir}/man1/gba3.1*
150 %{_mandir}/man1/gbi3.1*
151 %{_mandir}/man1/gbh3.1*
152
153 #-----------------------------------------------------------------------------
154
155 %package script
156 Summary: The Gambas scripter package
157 Group: Development/Basic
158 Requires: %{name}-runtime = %{version}
159 Requires: %{name}-devel = %{version}
160 Requires: %{name}-gb-pcre = %{version}
161
162 %description script
163 This package includes the scripter program that allows to write script files
164 in Gambas.
165
166 %files script
167 %{_bindir}/gbs3
168 %{_bindir}/gbs3.gambas
169 %{_bindir}/gbw3
170 %{_mandir}/man1/gbs3.1*
171 %{_mandir}/man1/gbw3.1*
172 # mime
173 %{_datadir}/mime/packages/gambasscript.xml
174 %{_iconsdir}/hicolor/*/mimetypes/application-x-gambasscript.png
175
176 #-----------------------------------------------------------------------------
177
178 %package ide
179 Summary: The Gambas IDE
180 Group: Development/Basic
181 Requires: %{name}-runtime = %{version}
182 Requires: %{name}-devel = %{version}
183 Requires: %{name}-webview = %{version}
184
185 Requires: %{name}-gb-clipper = %{version}
186 Requires: %{name}-gb-db = %{version}
187 Requires: %{name}-gb-db-form = %{version}
188 Requires: %{name}-gb-desktop = %{version}
189 %ifnarch %arm
190 Requires: %{name}-gb-eval-highlight = %{version}
191 %endif
192 Requires: %{name}-gb-form = %{version}
193 Requires: %{name}-gb-form-dialog = %{version}
194 Requires: %{name}-gb-form-editor = %{version}
195 Requires: %{name}-gb-form-htmlview = %{version}
196 Requires: %{name}-gb-form-mdi = %{version}
197 Requires: %{name}-gb-form-print = %{version}
198 Requires: %{name}-gb-form-stock = %{version}
199 Requires: %{name}-gb-form-terminal = %{version}
200 Requires: %{name}-gb-hash = %{version}
201 Requires: %{name}-gb-image = %{version}
202 Requires: %{name}-gb-jit = %{version}
203 Requires: %{name}-gb-markdown = %{version}
204 Requires: %{name}-gb-net = %{version}
205 Requires: %{name}-gb-net-curl = %{version}
206 Requires: %{name}-gb-settings = %{version}
207 Requires: %{name}-gb-signal = %{version}
208 Requires: %{name}-gb-term = %{version}
209 Requires: %{name}-gb-util = %{version}
210 Requires: %{name}-gb-util-web = %{version}
211 Requires: gettext
212 Requires: rpm-build
213 Requires: wget
214 Requires: pngquant
215 Requires: git-core
216 Requires: translate-shell
217
218 Recommends: %{name}-examples = %{version}
219
220 %description ide
221 This package together with dependencies form the complete Gambas Development
222 Environment. Other gambas3-* packages may be needed to run programs
223 (including the examples), in which case there will be messages about that.
224
225 %files ide
226 %{_bindir}/%{name}
227 %{_bindir}/%{name}.gambas
228 %{_datadir}/applications/%{name}.desktop
229 %{_iconsdir}/hicolor/*/apps/%{name}.{png,svg}
230 %{_datadir}/metainfo/%{name}.appdata.xml
231 %{_mandir}/man1/%{name}.1*
232
233 #-----------------------------------------------------------------------------
234
235 %package examples
236 Summary: The Gambas examples
237 Group: Development/Basic
238 BuildArch: noarch
239 Requires: %{name}-ide >= %{version}
240
241 %description examples
242 This package includes all the example projects provided with Gambas.
243
244 %files examples
245 %{_datadir}/%{name}/examples/
246
247 #-----------------------------------------------------------------------------
248
249 %package gb-cairo
250 Summary: The Gambas Cairo component
251 Group: Development/Basic
252 Requires: %{name}-runtime = %{version}
253 Requires: %{name}-gb-image = %{version}
254
255 %description gb-cairo
256 This package contains the Gambas Cairo components.
257
258 %files gb-cairo
259 %{_libdir}/%{name}/gb.cairo.*
260 %{_datadir}/%{name}/info/gb.cairo.*
261
262 #-----------------------------------------------------------------------------
263
264 %package gb-chart
265 Summary: The Gambas chart component
266 Group: Development/Basic
267 Requires: %{name}-runtime = %{version}
268 Requires: %{name}-gb-form = %{version}
269
270 %description gb-chart
271 This package contains the Gambas Chart components.
272
273 %files gb-chart
274 %{_libdir}/%{name}/gb.chart.*
275 %{_datadir}/%{name}/info/gb.chart.*
276
277 #-----------------------------------------------------------------------------
278
279 %package gb-clipper
280 Summary: The Gambas clipper component
281 Group: Development/Basic
282 Requires: %{name}-runtime = %{version}
283
284 %description gb-clipper
285 This package contains the Gambas Clipper components.
286 It wraps the Clipper library that performs polygon clipping:
287 - intersection
288 - union
289 - difference & exclusive-or
290 - polygon and polyline offsetting.
291 The library is based on Vatti's clipping algorithm.
292
293 %files gb-clipper
294 %{_libdir}/%{name}/gb.clipper.*
295 %{_datadir}/%{name}/info/gb.clipper.*
296
297 #-----------------------------------------------------------------------------
298
299 %package gb-compress
300 Summary: The Gambas compression component
301 Group: Development/Basic
302 Requires: %{name}-runtime = %{version}
303
304 %description gb-compress
305 This component allows you to compress/uncompress data or files with
306 the bzip2 and zip algorithms.
307
308 %files gb-compress
309 %{_libdir}/%{name}/gb.compress.*
310 %{_datadir}/%{name}/info/gb.compress.*
311
312 #-----------------------------------------------------------------------------
313
314 %package gb-crypt
315 Summary: The Gambas cryptography component
316 Group: Development/Basic
317 Requires: %{name}-runtime = %{version}
318
319 %description gb-crypt
320 This component allows you to use cryptography in your projects.
321
322 %files gb-crypt
323 %{_libdir}/%{name}/gb.crypt.*
324 %{_datadir}/%{name}/info/gb.crypt.*
325
326 #-----------------------------------------------------------------------------
327
328 %package gb-db
329 Summary: The Gambas database component
330 Group: Development/Basic
331 Requires: %{name}-runtime = %{version}
332
333 %description gb-db
334 This component allows you to access many databases management systems,
335 provided that you install the needed driver packages.
336
337 %files gb-db
338 %{_libdir}/%{name}/gb.db.so
339 %{_libdir}/%{name}/gb.db.component
340 %{_libdir}/%{name}/gb.db.gambas
341 %{_datadir}/%{name}/info/gb.db.info
342 %{_datadir}/%{name}/info/gb.db.list
343
344 #-----------------------------------------------------------------------------
345
346 %package gb-db-form
347 Summary: The Gambas database-form component
348 Group: Development/Basic
349 Requires: %{name}-runtime = %{version}
350 Requires: %{name}-gb-db = %{version}
351 Requires: %{name}-gb-form = %{version}
352
353 %description gb-db-form
354 This package contains the Gambas Database form components.
355
356 %files gb-db-form
357 %{_libdir}/%{name}/gb.db.form.*
358 %{_datadir}/%{name}/info/gb.db.form.*
359 %{_datadir}/%{name}/control/gb.db.form
360
361 #-----------------------------------------------------------------------------
362
363 %package gb-db-mysql
364 Summary: The MySQL driver for the Gambas database component
365 Group: Development/Basic
366 Requires: %{name}-runtime = %{version}
367 Requires: %{name}-gb-db = %{version}
368
369 %description gb-db-mysql
370 This component allows you to access MySQL databases.
371
372 %files gb-db-mysql
373 %{_libdir}/%{name}/gb.db.mysql.*
374 %{_datadir}/%{name}/info/gb.db.mysql.*
375
376 #-----------------------------------------------------------------------------
377
378 %package gb-db-odbc
379 Summary: The ODBC driver for the Gambas database component
380 Group: Development/Basic
381 Requires: %{name}-runtime = %{version}
382 Requires: %{name}-gb-db = %{version}
383
384 %description gb-db-odbc
385 This component allows you to access ODBC databases.
386
387 %files gb-db-odbc
388 %{_libdir}/%{name}/gb.db.odbc.*
389 %{_datadir}/%{name}/info/gb.db.odbc.*
390
391 #-----------------------------------------------------------------------------
392
393 %package gb-db-postgresql
394 Summary: The PostgreSQL driver for the Gambas database component
395 Group: Development/Basic
396 Requires: %{name}-runtime = %{version}
397 Requires: %{name}-gb-db = %{version}
398
399 %description gb-db-postgresql
400 This component allows you to access PostgreSQL databases.
401
402 %files gb-db-postgresql
403 %{_libdir}/%{name}/gb.db.postgresql.*
404 %{_datadir}/%{name}/info/gb.db.postgresql.*
405
406 #-----------------------------------------------------------------------------
407
408 %package gb-db-sqlite2
409 Summary: The SQLite 2 driver for the Gambas database component
410 Group: Development/Basic
411 Requires: %{name}-runtime = %{version}
412 Requires: %{name}-gb-db = %{version}
413
414 %description gb-db-sqlite2
415 This component allows you to access SQLite 2 databases.
416
417 %files gb-db-sqlite2
418
419 %{_libdir}/%{name}/gb.db.sqlite2.*
420 %{_datadir}/%{name}/info/gb.db.sqlite2.*
421
422 #-----------------------------------------------------------------------------
423
424 %package gb-db-sqlite3
425 Summary: The SQLite 3 driver for the Gambas database component
426 Group: Development/Basic
427 Requires: %{name}-runtime = %{version}
428 Requires: %{name}-gb-db = %{version}
429
430 %description gb-db-sqlite3
431 This component allows you to access SQLite 3 databases.
432
433 %files gb-db-sqlite3
434
435 %{_libdir}/%{name}/gb.db.sqlite3.*
436 %{_datadir}/%{name}/info/gb.db.sqlite3.*
437
438 #-----------------------------------------------------------------------------
439
440 %package gb-dbus
441 Summary: The Gambas dbus component
442 Group: Development/Basic
443 Requires: %{name}-runtime = %{version}
444 Requires: %{name}-gb-image = %{version}
445
446 %description gb-dbus
447 This package contains the Gambas D-bus components.
448
449 %files gb-dbus
450
451 %{_libdir}/%{name}/gb.dbus.*
452 %{_datadir}/%{name}/info/gb.dbus.*
453
454 #-----------------------------------------------------------------------------
455
456 %package gb-desktop
457 Summary: The Gambas XDG component
458 Group: Development/Basic
459 Requires: %{name}-runtime = %{version}
460 Requires: %{name}-gb-image = %{version}
461
462 %description gb-desktop
463 This component allows you to use desktop-agnostic routines based on
464 the xdg-utils scripts of the Portland project.
465
466 %files gb-desktop
467
468 %{_libdir}/%{name}/gb.desktop.*
469 %{_datadir}/%{name}/info/gb.desktop.*
470 %{_datadir}/%{name}/control/gb.desktop
471
472 #-----------------------------------------------------------------------------
473
474 %ifnarch %arm
475 %package gb-eval-highlight
476 Summary: The Gambas eval-highlight component
477 Group: Development/Basic
478 Requires: %{name}-runtime = %{version}
479
480 %description gb-eval-highlight
481 This component implements the eval-highlight control.
482
483 %files gb-eval-highlight
484
485 %{_libdir}/%{name}/gb.eval.highlight.*
486 %{_datadir}/%{name}/info/gb.eval.highlight.*
487 %endif
488
489 #-----------------------------------------------------------------------------
490
491 %package gb-form
492 Summary: The Gambas dialog form component
493 Group: Development/Basic
494 Requires: %{name}-runtime = %{version}
495 Requires: %{name}-gui = %{version}
496
497 %description gb-form
498 This component implements the form control.
499
500 %files gb-form
501 %{_libdir}/%{name}/gb.form.component
502 %{_libdir}/%{name}/gb.form.gambas
503 %{_datadir}/%{name}/control/gb.form
504 %{_datadir}/%{name}/info/gb.form.info
505 %{_datadir}/%{name}/info/gb.form.list
506
507 #-----------------------------------------------------------------------------
508
509 %package gb-form-editor
510 Summary: The Gambas dialog form editor component
511 Group: Development/Basic
512 Requires: %{name}-runtime = %{version}
513 %ifnarch %arm
514 Requires: %{name}-gb-eval-highlight = %{version}
515 %endif
516 Requires: %{name}-gb-util = %{version}
517 Requires: %{name}-gb-form = %{version}
518
519 %description gb-form-editor
520 This component implements the form-editor control.
521
522 %files gb-form-editor
523 %{_libdir}/%{name}/gb.form.editor.component
524 %{_libdir}/%{name}/gb.form.editor.gambas
525 %dir %{_datadir}/%{name}/control/gb.form.editor
526 %{_datadir}/%{name}/control/gb.form.editor/*
527 %{_datadir}/%{name}/info/gb.form.editor.info
528 %{_datadir}/%{name}/info/gb.form.editor.list
529
530 #-----------------------------------------------------------------------------
531
532 %package gb-form-dialog
533 Summary: The Gambas dialog form component
534 Group: Development/Basic
535 Requires: %{name}-runtime = %{version}
536 Requires: %{name}-gb-form = %{version}
537
538 %description gb-form-dialog
539 This component implements the form-dialog control.
540
541 %files gb-form-dialog
542
543 %{_libdir}/%{name}/gb.form.dialog.component
544 %{_libdir}/%{name}/gb.form.dialog.gambas
545 %{_datadir}/%{name}/info/gb.form.dialog.info
546 %{_datadir}/%{name}/info/gb.form.dialog.list
547
548 #-----------------------------------------------------------------------------
549
550 %package gb-form-htmlview
551 Summary: The Gambas htmlview form component
552 Group: Development/Basic
553 Requires: %{name}-runtime = %{version}
554
555 %description gb-form-htmlview
556 This component implements the form-htmlview control.
557
558 %files gb-form-htmlview
559
560 %{_libdir}/%{name}/gb.form.htmlview.*
561 %dir %{_datadir}/%{name}/control/gb.form.htmlview/
562 %{_datadir}/%{name}/control/gb.form.htmlview/htmlview.png
563 %{_datadir}/%{name}/info/gb.form.htmlview.*
564
565 #-----------------------------------------------------------------------------
566
567 %package gb-form-mdi
568 Summary: The Gambas mdi form component
569 Group: Development/Basic
570 Requires: %{name}-runtime = %{version}
571 Requires: %{name}-gb-form = %{version}
572 Requires: %{name}-gb-settings = %{version}
573
574 %description gb-form-mdi
575 This component implements the form-mdi control.
576
577 %files gb-form-mdi
578
579 %{_libdir}/%{name}/gb.form.mdi.component
580 %{_libdir}/%{name}/gb.form.mdi.gambas
581 %{_datadir}/%{name}/control/gb.form.mdi
582 %{_datadir}/%{name}/info/gb.form.mdi.info
583 %{_datadir}/%{name}/info/gb.form.mdi.list
584
585 #-----------------------------------------------------------------------------
586
587 %package gb-form-print
588 Summary: The Gambas print form component
589 Group: Development/Basic
590 Requires: %{name}-runtime = %{version}
591 Requires: %{name}-gb-form = %{version}
592
593 %description gb-form-print
594 This component implements the form-print control.
595
596 %files gb-form-print
597
598 %{_libdir}/%{name}/gb.form.print.component
599 %{_libdir}/%{name}/gb.form.print.gambas
600 %{_datadir}/%{name}/info/gb.form.print.info
601 %{_datadir}/%{name}/info/gb.form.print.list
602
603 #-----------------------------------------------------------------------------
604
605 %package gb-form-stock
606 Summary: The Gambas stock form component
607 Group: Development/Basic
608 Requires: %{name}-runtime = %{version}
609 Requires: %{name}-gb-form = %{version}
610
611 %description gb-form-stock
612 This component implements the form-stock control.
613
614 %files gb-form-stock
615
616 %{_libdir}/%{name}/gb.form.stock.component
617 %{_libdir}/%{name}/gb.form.stock.gambas
618 %{_datadir}/%{name}/info/gb.form.stock.info
619 %{_datadir}/%{name}/info/gb.form.stock.list
620
621 #-----------------------------------------------------------------------------
622
623 %package gb-form-terminal
624 Summary: The Gambas terminal form component
625 Group: Development/Basic
626 Requires: %{name}-runtime = %{version}
627 Requires: %{name}-gui = %{version}
628
629 %description gb-form-terminal
630 This component implements the form-terminal control.
631
632 %files gb-form-terminal
633
634 %{_libdir}/%{name}/gb.form.terminal.component
635 %{_libdir}/%{name}/gb.form.terminal.gambas
636 %{_datadir}/%{name}/info/gb.form.terminal.info
637 %{_datadir}/%{name}/info/gb.form.terminal.list
638 %dir %{_datadir}/%{name}/control/gb.form.terminal
639 %{_datadir}/%{name}/control/gb.form.terminal/terminalview.png
640
641 #-----------------------------------------------------------------------------
642
643 %package gb-gtk3
644 Summary: The Gambas GTK+ 3 GUI component
645 Group: Development/Basic
646 Requires: %{name}-runtime = %{version}
647 Requires: %{name}-gb-image = %{version}
648 Requires: %{name}-gb-gtk3-wayland = %{version}
649 Requires: %{name}-gb-gtk3-x11 = %{version}
650 Provides: %{name}-gui-package = %{version}-%{release}
651
652 %description gb-gtk3
653 This package contains the Gambas GTK+ 3 GUI components.
654
655 %files gb-gtk3
656
657 %{_libdir}/%{name}/gb.gtk3.component
658 %{_libdir}/%{name}/gb.gtk3.so
659 %{_datadir}/%{name}/info/gb.gtk3.info
660 %{_datadir}/%{name}/info/gb.gtk3.list
661
662 #-----------------------------------------------------------------------------
663
664 %package gb-gtk3-opengl
665 Summary: The Gambas gtk3-opengl component
666 Group: Development/Basic
667 Requires: %{name}-runtime = %{version}
668 Requires: %{name}-gb-gtk3 = %{version}
669 Conflicts: %{name}-gb-gtk3 < 3.17.2-2
670
671 %description gb-gtk3-opengl
672 This package contains the Gambas gtk3-opengl components.
673
674 %files gb-gtk3-opengl
675 %{_libdir}/%{name}/gb.gtk3.opengl.*
676 %{_datadir}/%{name}/info/gb.gtk3.opengl.*
677
678 #-----------------------------------------------------------------------------
679
680 %package gb-gtk3-wayland
681 Summary: The Gambas gtk3-wayland component
682 Group: Development/Basic
683 Requires: %{name}-runtime = %{version}
684 Requires: %{name}-gb-gtk3 = %{version}
685 Conflicts: %{name}-gb-gtk3 < 3.17.2-2
686
687 %description gb-gtk3-wayland
688 This package contains the Gambas gtk3-wayland components.
689
690 %files gb-gtk3-wayland
691 %{_libdir}/%{name}/gb.gtk3.wayland.*
692 %{_datadir}/%{name}/info/gb.gtk3.wayland.*
693
694 #-----------------------------------------------------------------------------
695
696 %package gb-gtk3-webview
697 Summary: The Gambas gtk3-webview component
698 Group: Development/Basic
699 Requires: %{name}-runtime = %{version}
700 Requires: %{name}-gb-gtk3 = %{version}
701 Provides: %{name}-webview = %{version}
702 Conflicts: %{name}-gb-gtk3 < 3.17.2-2
703
704 %description gb-gtk3-webview
705 This package contains the Gambas gtk3-webview components.
706
707 %files gb-gtk3-webview
708 %{_libdir}/%{name}/gb.gtk3.webview.*
709 %{_datadir}/%{name}/info/gb.gtk3.webview.*
710
711 #-----------------------------------------------------------------------------
712
713 %package gb-gtk3-x11
714 Summary: The Gambas gtk3-x11 component
715 Group: Development/Basic
716 Requires: %{name}-runtime = %{version}
717 Requires: %{name}-gb-gtk3 = %{version}
718 Conflicts: %{name}-gb-gtk3 < 3.17.2-2
719
720 %description gb-gtk3-x11
721 This package contains the Gambas gtk3-x11 components.
722
723 %files gb-gtk3-x11
724 %{_libdir}/%{name}/gb.gtk3.x11.*
725 %{_datadir}/%{name}/info/gb.gtk3.x11.*
726
727 #-----------------------------------------------------------------------------
728
729 %package gb-gmp
730 Summary: The Gambas gmp component
731 Group: Development/Basic
732 Requires: %{name}-runtime = %{version}
733
734 %description gb-gmp
735 This component implements an interface to the Gnu Multiple Precision
736 Arithmetic Library.
737
738 %files gb-gmp
739
740 %{_libdir}/%{name}/gb.gmp.*
741 %{_datadir}/%{name}/info/gb.gmp.*
742
743 #-----------------------------------------------------------------------------
744
745 %package gb-gsl
746 Summary: The Gambas interface to the GNU Scientific Library
747 Group: Development/Basic
748 Requires: %{name}-runtime = %{version}
749
750 %description gb-gsl
751 This component provides an interface to the GNU Scientific Library.
752
753 %files gb-gsl
754 %{_libdir}/%{name}/gb.gsl.*
755 %{_datadir}/%{name}/info/gb.gsl.*
756
757 #-----------------------------------------------------------------------------
758
759 %package gui
760 Summary: The Gambas GUI package
761 Group: Development/Basic
762 Requires: %{name}-gui-package = %{version}
763
764 %description gui
765 This is a virtual package requiring one of the GUI packages.
766
767 %files gui
768 # virtual package
769
770 #-----------------------------------------------------------------------------
771
772 %package gb-hash
773 Summary: The Gambas hash component
774 Group: Development/Basic
775 Requires: %{name}-runtime = %{version}
776
777 %description gb-hash
778 This package contains the Gambas Hash components.
779 Hash is a new static class with methods that implement The Md5,
780 Sha1, Sha256 and Sha512 hash functions.
781
782 %files gb-hash
783 %{_libdir}/%{name}/gb.hash.component
784 %{_libdir}/%{name}/gb.hash.so
785 %{_datadir}/%{name}/info/gb.hash.info
786 %{_datadir}/%{name}/info/gb.hash.list
787
788 #-----------------------------------------------------------------------------
789
790 %package gb-jit
791 Summary: The Gambas JIT component
792 Group: Development/Basic
793 Requires: %{name}-runtime = %{version}
794
795 %description gb-jit
796 This component provides the jit compiler for gambas.
797
798 %files gb-jit
799
800 %{_libdir}/%{name}/gb.jit.so
801 %{_libdir}/%{name}/gb.jit.component
802 %{_libdir}/%{name}/gb.jit.gambas
803 %{_datadir}/%{name}/info/gb.jit.info
804 %{_datadir}/%{name}/info/gb.jit.list
805
806 #-----------------------------------------------------------------------------
807
808 %package gb-image
809 Summary: The Gambas image manipulation component
810 Group: Development/Basic
811 Requires: %{name}-runtime = %{version}
812
813 %description gb-image
814 This component allows you to manipulates various effects to images.
815
816 %files gb-image
817 %{_libdir}/%{name}/gb.image.component
818 %{_libdir}/%{name}/gb.image.so
819 %{_datadir}/%{name}/info/gb.image.info
820 %{_datadir}/%{name}/info/gb.image.list
821
822 #-----------------------------------------------------------------------------
823
824 %package gb-image-effect
825 Summary: The Gambas image effect component
826 Group: Development/Basic
827 Requires: %{name}-runtime = %{version}
828 Requires: %{name}-gb-image = %{version}
829
830 %description gb-image-effect
831 This component allows you to apply various effects to images.
832
833 %files gb-image-effect
834
835 %{_libdir}/%{name}/gb.image.effect.*
836 %{_datadir}/%{name}/info/gb.image.effect.*
837
838 #-----------------------------------------------------------------------------
839
840 %package gb-image-imlib
841 Summary: The Gambas image imlib component
842 Group: Development/Basic
843 Requires: %{name}-runtime = %{version}
844 Requires: %{name}-gb-image = %{version}
845
846 %description gb-image-imlib
847 This component allows you to manipulate images with imlibs.
848
849 %files gb-image-imlib
850
851 %{_libdir}/%{name}/gb.image.imlib.*
852 %{_datadir}/%{name}/info/gb.image.imlib.*
853
854 #-----------------------------------------------------------------------------
855
856 %package gb-image-io
857 Summary: The Gambas image io component
858 Group: Development/Basic
859 Requires: %{name}-runtime = %{version}
860 Requires: %{name}-gb-image = %{version}
861
862 %description gb-image-io
863 This component allows you to perform images input output operations.
864
865 %files gb-image-io
866
867 %{_libdir}/%{name}/gb.image.io.*
868 %{_datadir}/%{name}/info/gb.image.io.*
869
870 #-----------------------------------------------------------------------------
871
872 %package gb-inotify
873 Summary: The Gambas inotify component
874 Group: Development/Basic
875 Requires: %{name}-runtime = %{version}
876
877 %description gb-inotify
878 This component enables you to catch filesystem events using Linux' inotify API.
879
880 %files gb-inotify
881
882 %{_libdir}/%{name}/gb.inotify.*
883 %{_datadir}/%{name}/info/gb.inotify.*
884
885 #-----------------------------------------------------------------------------
886
887 %package gb-map
888 Summary: The Gambas map component
889 Group: Development/Basic
890 Requires: %{name}-runtime = %{version}
891 Requires: %{name}-gb-net = %{version}
892 Requires: %{name}-gb-net-curl = %{version}
893
894 %description gb-map
895 This component implements an online map viewer
896 based on Google Maps, OpenStreetMap, etc.
897
898 %files gb-map
899 %{_libdir}/%{name}/gb.map*
900 %{_datadir}/%{name}/info/gb.map*
901 %dir %{_datadir}/%{name}/control/gb.map
902 %{_datadir}/%{name}/control/gb.map/mapview.png
903
904 #-----------------------------------------------------------------------------
905
906 %package gb-markdown
907 Summary: The Gambas markdown component
908 Group: Development/Basic
909 Requires: %{name}-runtime = %{version}
910
911 %description gb-markdown
912 This component allows to convert the Gambas Markdown Syntax to HTML.
913
914 %files gb-markdown
915
916 %{_libdir}/%{name}/gb.markdown*
917 %{_datadir}/%{name}/info/gb.markdown*
918
919 #-----------------------------------------------------------------------------
920
921 %package gb-media
922 Summary: The Gambas media component
923 Group: Development/Basic
924 Requires: %{name}-runtime = %{version}
925 Requires: %{name}-gb-image = %{version}
926
927 %description gb-media
928 This package contains the Gambas media component.
929
930 %files gb-media
931
932 %{_libdir}/%{name}/gb.media.so
933 %{_libdir}/%{name}/gb.media.component
934 %{_datadir}/%{name}/info/gb.media.info
935 %{_datadir}/%{name}/info/gb.media.list
936
937 #-----------------------------------------------------------------------------
938
939 %package gb-media-form
940 Summary: The Gambas media form component
941 Group: Development/Basic
942 Requires: %{name}-runtime = %{version}
943 Requires: %{name}-gb-media = %{version}
944 Requires: %{name}-gui = %{version}
945
946 # ease upgrade mga7 -> mga8
947 Conflicts: gambas3-gb-media < 3.14.2-3
948
949 %description gb-media-form
950 This package contains the Gambas media form component.
951
952 %files gb-media-form
953
954 %{_libdir}/%{name}/gb.media.form.*
955 %{_datadir}/%{name}/info/gb.media.form.*
956 %dir %{_datadir}/%{name}/control/gb.media.form
957 %{_datadir}/%{name}/control/gb.media.form/mediaview.png
958
959 #-----------------------------------------------------------------------------
960
961 %package gb-mime
962 Summary: The Gambas mime component
963 Group: Development/Basic
964 Requires: %{name}-runtime = %{version}
965
966 %description gb-mime
967 This component allows to parse a string and convert it to a MIME message and
968 the contrary.
969
970 It is based on the gmime library.
971
972 %files gb-mime
973 %{_libdir}/%{name}/gb.mime.*
974 %{_datadir}/%{name}/info/gb.mime.*
975
976 #-----------------------------------------------------------------------------
977
978 %package gb-memcached
979 Summary: The Gambas memcached component
980 Group: Development/Basic
981 Requires: %{name}-runtime = %{version}
982 Requires: %{name}-gb-net = %{version}
983
984 %description gb-memcached
985 This components aims at providing a fully usable interface to memcached,
986 a free and open source, high-performance, distributed memory object
987 caching system.
988
989 %files gb-memcached
990 %{_libdir}/%{name}/gb.memcached*
991 %{_datadir}/%{name}/info/gb.memcached*
992
993 #-----------------------------------------------------------------------------
994
995 %package gb-mysql
996 Summary: The Gambas mysql component
997 Group: Development/Basic
998 Requires: %{name}-runtime = %{version}
999 Requires: %{name}-gb-db = %{version}
1000
1001 %description gb-mysql
1002 This package contains the Gambas MySQL components.
1003
1004 %files gb-mysql
1005 %{_libdir}/%{name}/gb.mysql.*
1006 %{_datadir}/%{name}/info/gb.mysql.*
1007
1008 #-----------------------------------------------------------------------------
1009
1010 %package gb-ncurses
1011 Summary: The Gambas ncurses component
1012 Group: Development/Basic
1013 Requires: %{name}-runtime = %{version}
1014
1015 %description gb-ncurses
1016 This component allows you to use ncurses with gambas.
1017
1018 %files gb-ncurses
1019 %{_libdir}/%{name}/gb.ncurses.so
1020 %{_libdir}/%{name}/gb.ncurses.component
1021 %{_datadir}/%{name}/info/gb.ncurses.info
1022 %{_datadir}/%{name}/info/gb.ncurses.list
1023
1024 #-----------------------------------------------------------------------------
1025
1026 %package gb-net
1027 Summary: The Gambas networking component
1028 Group: Development/Basic
1029 Requires: %{name}-runtime = %{version}
1030
1031 %description gb-net
1032 This component allows you to use TCP/IP and UDP sockets, and to access
1033 any serial ports.
1034
1035 %files gb-net
1036 %{_libdir}/%{name}/gb.net.so
1037 %{_libdir}/%{name}/gb.net.component
1038 %{_datadir}/%{name}/info/gb.net.info
1039 %{_datadir}/%{name}/info/gb.net.list
1040
1041 #-----------------------------------------------------------------------------
1042
1043 %package gb-net-curl
1044 Summary: The Gambas advanced networking component
1045 Group: Development/Basic
1046 Requires: %{name}-runtime = %{version}
1047 Requires: %{name}-gb-net = %{version}
1048
1049 %description gb-net-curl
1050 This component allows your programs to easily become FTP or HTTP clients.
1051
1052 %files gb-net-curl
1053 %{_libdir}/%{name}/gb.net.curl.so
1054 %{_libdir}/%{name}/gb.net.curl.gambas
1055 %{_libdir}/%{name}/gb.net.curl.component
1056 %{_datadir}/%{name}/info/gb.net.curl.info
1057 %{_datadir}/%{name}/info/gb.net.curl.list
1058
1059 #-----------------------------------------------------------------------------
1060
1061 %package gb-net-smtp
1062 Summary: The Gambas SMTP component
1063 Group: Development/Basic
1064 Requires: %{name}-runtime = %{version}
1065 Requires: %{name}-gb-net = %{version}
1066
1067 %description gb-net-smtp
1068 This component allows you to send emails using the SMTP protocol.
1069
1070 %files gb-net-smtp
1071 %{_libdir}/%{name}/gb.net.smtp.*
1072 %{_datadir}/%{name}/info/gb.net.smtp.*
1073 %dir %{_datadir}/%{name}/control/gb.net.smtp
1074 %{_datadir}/%{name}/control/gb.net.smtp/smtpclient.png
1075
1076 #-----------------------------------------------------------------------------
1077
1078 %package gb-net-pop3
1079 Summary: The Gambas POP3 component
1080 Group: Development/Basic
1081 Requires: %{name}-runtime = %{version}
1082 Requires: %{name}-gb-net = %{version}
1083 Requires: %{name}-gb-mime = %{version}
1084
1085 %description gb-net-pop3
1086 This component allows you to send emails using the POP3 protocol.
1087
1088 %files gb-net-pop3
1089
1090 %{_libdir}/%{name}/gb.net.pop3.*
1091 %{_datadir}/%{name}/info/gb.net.pop3.*
1092 %dir %{_datadir}/%{name}/control/gb.net.pop3
1093 %{_datadir}/%{name}/control/gb.net.pop3/pop3client.png
1094
1095 #-----------------------------------------------------------------------------
1096
1097 %package gb-opengl
1098 Summary: The Gambas OpenGL component
1099 Group: Development/Basic
1100 Requires: %{name}-runtime = %{version}
1101 Requires: %{name}-gb-image = %{version}
1102
1103 %description gb-opengl
1104 This component allows you to use the Mesa libraries to do 3D operations.
1105
1106 %files gb-opengl
1107 %{_libdir}/%{name}/gb.opengl.component
1108 %{_libdir}/%{name}/gb.opengl.so
1109 %{_datadir}/%{name}/info/gb.opengl.info
1110 %{_datadir}/%{name}/info/gb.opengl.list
1111
1112 #-----------------------------------------------------------------------------
1113
1114 %package gb-opengl-glsl
1115 Summary: The Gambas opengl-glsl component
1116 Group: Development/Basic
1117 Requires: %{name}-runtime = %{version}
1118 Requires: %{name}-gb-opengl = %{version}
1119
1120 %description gb-opengl-glsl
1121 This component allows you to use the Mesa libraries to do 3D operations.
1122
1123 %files gb-opengl-glsl
1124
1125 %{_libdir}/%{name}/gb.opengl.glsl.*
1126 %{_datadir}/%{name}/info/gb.opengl.glsl.*
1127
1128 #-----------------------------------------------------------------------------
1129
1130 %package gb-opengl-glu
1131 Summary: The Gambas opengl-glu component
1132 Group: Development/Basic
1133 Requires: %{name}-runtime = %{version}
1134 Requires: %{name}-gb-opengl = %{version}
1135
1136 %description gb-opengl-glu
1137 This component allows you to use the Mesa libraries to do 3D operations.
1138
1139 %files gb-opengl-glu
1140 %{_libdir}/%{name}/gb.opengl.glu.*
1141 %{_datadir}/%{name}/info/gb.opengl.glu.*
1142
1143 #-----------------------------------------------------------------------------
1144
1145 %package gb-opengl-sge
1146 Summary: The Gambas opengl-sge component
1147 Group: Development/Basic
1148 Requires: %{name}-runtime = %{version}
1149 Requires: %{name}-gb-opengl = %{version}
1150
1151 %description gb-opengl-sge
1152 This component is a simple OpenGL game engine based on the MD2 model format.
1153
1154 %files gb-opengl-sge
1155 %{_libdir}/%{name}/gb.opengl.sge.*
1156 %{_datadir}/%{name}/info/gb.opengl.sge.*
1157
1158 #-----------------------------------------------------------------------------
1159
1160 %package gb-openssl
1161 Summary: The Gambas openssl component
1162 Group: Development/Basic
1163 Requires: %{name}-runtime = %{version}
1164
1165 %description gb-openssl
1166 This component allows you to use cryptographic functions wrapping libcrypto
1167 from the OpenSSL project.
1168
1169 %files gb-openssl
1170 %{_libdir}/%{name}/gb.openssl.*
1171 %{_datadir}/%{name}/info/gb.openssl.*
1172
1173 #-----------------------------------------------------------------------------
1174
1175 %package gb-option
1176 Summary: The Gambas command-line option component
1177 Group: Development/Basic
1178 Requires: %{name}-runtime = %{version}
1179
1180 %description gb-option
1181 This component allows you to interpret command-line options.
1182
1183 %files gb-option
1184 %{_libdir}/%{name}/gb.option.*
1185 %{_datadir}/%{name}/info/gb.option.*
1186
1187 #-----------------------------------------------------------------------------
1188
1189 %package gb-pcre
1190 Summary: The Gambas PCRE component
1191 Group: Development/Basic
1192 Requires: %{name}-runtime = %{version}
1193
1194 %description gb-pcre
1195 This component allows you to use Perl compatible regular expressions
1196 within Gambas code.
1197
1198 %files gb-pcre
1199 %{_libdir}/%{name}/gb.pcre.*
1200 %{_datadir}/%{name}/info/gb.pcre.*
1201
1202 #-----------------------------------------------------------------------------
1203
1204 %package gb-pdf
1205 Summary: The Gambas PDF component
1206 Group: Development/Basic
1207 Requires: %{name}-runtime = %{version}
1208 Requires: %{name}-gb-image = %{version}
1209
1210 %description gb-pdf
1211 This component allows you to manipulate pdf files with Gambas code.
1212
1213 %files gb-pdf
1214 %{_libdir}/%{name}/gb.pdf.*
1215 %{_datadir}/%{name}/info/gb.pdf.*
1216
1217 #-----------------------------------------------------------------------------
1218
1219 %package gb-poppler
1220 Summary: The Gambas Poppler component
1221 Group: Development/Basic
1222 Requires: %{name}-runtime = %{version}
1223 Requires: %{name}-gb-image = %{version}
1224
1225 %description gb-poppler
1226 This component allows you to manipulate pdf files with Gambas code.
1227
1228 %files gb-poppler
1229 %{_libdir}/%{name}/gb.poppler.*
1230 %{_datadir}/%{name}/info/gb.poppler.*
1231
1232 #-----------------------------------------------------------------------------
1233 ### Qt5 ###
1234
1235 %package gb-qt5
1236 Summary: The Gambas Qt5 GUI component
1237 Group: Development/Basic
1238 Requires: %{name}-runtime = %{version}
1239 Requires: %{name}-gb-image = %{version}
1240 Requires: %{name}-gb-qt5-wayland = %{version}
1241 Requires: %{name}-gb-qt5-x11 = %{version}
1242 Provides: %{name}-gui-package = %{version}-%{release}
1243
1244 %description gb-qt5
1245 This package includes the Gambas QT5 GUI component.
1246
1247 %files gb-qt5
1248 %{_libdir}/%{name}/gb.qt5.component
1249 %{_libdir}/%{name}/gb.qt5.so
1250 %{_datadir}/%{name}/info/gb.qt5.info
1251 %{_datadir}/%{name}/info/gb.qt5.list
1252
1253 #-----------------------------------------------------------------------------
1254
1255 %package gb-qt5-ext
1256 Summary: The Gambas qt5-ext component
1257 Group: Development/Basic
1258 Requires: %{name}-runtime = %{version}
1259 Requires: %{name}-gb-qt5 = %{version}
1260
1261 %description gb-qt5-ext
1262 This package contains the Gambas qt5-ext components.
1263
1264 %files gb-qt5-ext
1265 %{_libdir}/%{name}/gb.qt5.ext.*
1266 %{_datadir}/%{name}/info/gb.qt5.ext.*
1267
1268 #-----------------------------------------------------------------------------
1269
1270 %package gb-qt5-opengl
1271 Summary: The Gambas qt5-opengl component
1272 Group: Development/Basic
1273 Requires: %{name}-runtime = %{version}
1274 Requires: %{name}-gb-qt5 = %{version}
1275 Requires: %{name}-gb-opengl = %{version}
1276
1277 %description gb-qt5-opengl
1278 This package contains the Gambas qt5-opengl components.
1279
1280 %files gb-qt5-opengl
1281 %{_libdir}/%{name}/gb.qt5.opengl.*
1282 %{_datadir}/%{name}/info/gb.qt5.opengl.*
1283
1284 #-----------------------------------------------------------------------------
1285
1286 %package gb-qt5-wayland
1287 Summary: The Gambas qt5-wayland component
1288 Group: Development/Basic
1289 Requires: %{name}-runtime = %{version}
1290 Requires: %{name}-gb-qt5 = %{version}
1291
1292 %description gb-qt5-wayland
1293 This package contains the Gambas qt5-wayland components.
1294
1295 %files gb-qt5-wayland
1296 %{_libdir}/%{name}/gb.qt5.wayland.*
1297 %{_datadir}/%{name}/info/gb.qt5.wayland.*
1298
1299 #-----------------------------------------------------------------------------
1300
1301 %package gb-qt5-webkit
1302 Summary: The Gambas qt5-webkit component
1303 Group: Development/Basic
1304 Requires: %{name}-runtime = %{version}
1305 Requires: %{name}-gb-qt5 = %{version}
1306
1307 %description gb-qt5-webkit
1308 This package contains the Gambas qt5-webkit components.
1309
1310 %files gb-qt5-webkit
1311 %{_libdir}/%{name}/gb.qt5.webkit.*
1312 %{_datadir}/%{name}/info/gb.qt5.webkit.*
1313 %{_datadir}/%{name}/control/gb.qt5.webkit/
1314
1315 #-----------------------------------------------------------------------------
1316
1317 %package gb-qt5-webview
1318 Summary: The Gambas qt5-webview component
1319 Group: Development/Basic
1320 Requires: %{name}-runtime = %{version}
1321 Requires: %{name}-gb-qt5 = %{version}
1322 Provides: %{name}-webview = %{version}
1323
1324 %description gb-qt5-webview
1325 This package contains the Gambas qt5-webview components.
1326
1327 %files gb-qt5-webview
1328 %{_libdir}/%{name}/gb.qt5.webview.*
1329 %{_datadir}/%{name}/info/gb.qt5.webview.*
1330
1331 #-----------------------------------------------------------------------------
1332
1333 %package gb-qt5-x11
1334 Summary: The Gambas qt5-x11 component
1335 Group: Development/Basic
1336 Requires: %{name}-runtime = %{version}
1337 Requires: %{name}-gb-qt5 = %{version}
1338
1339 %description gb-qt5-x11
1340 This package contains the Gambas qt5-x11 components.
1341
1342 %files gb-qt5-x11
1343 %{_libdir}/%{name}/gb.qt5.x11.*
1344 %{_datadir}/%{name}/info/gb.qt5.x11.*
1345
1346 #-----------------------------------------------------------------------------
1347
1348 %package gb-report
1349 Summary: The Gambas report component
1350 Group: Development/Basic
1351 Requires: %{name}-runtime = %{version}
1352 Requires: %{name}-gb-form = %{version}
1353
1354 %description gb-report
1355 This package contains the Gambas Report components.
1356
1357 %files gb-report
1358 %{_libdir}/%{name}/gb.report.*
1359 %{_datadir}/%{name}/info/gb.report.*
1360 %{_datadir}/%{name}/control/gb.report
1361
1362 #-----------------------------------------------------------------------------
1363
1364 %package gb-report2
1365 Summary: The Gambas report component (version 2)
1366 Group: Development/Basic
1367 Requires: %{name}-runtime = %{version}
1368 Requires: %{name}-gb-form = %{version}
1369
1370 %description gb-report2
1371 This package contains the Gambas Report (version 2) components.
1372
1373 %files gb-report2
1374 %{_libdir}/%{name}/gb.report2.*
1375 %{_datadir}/%{name}/info/gb.report2.*
1376 %dir %{_datadir}/%{name}/control/gb.report2
1377 %{_datadir}/%{name}/control/gb.report2/*
1378
1379 #-----------------------------------------------------------------------------
1380
1381 %package gb-scanner
1382 Summary: The Gambas Scanner component
1383 Group: Development/Basic
1384 Requires: %{name}-runtime = %{version}
1385
1386 %description gb-scanner
1387 The Gambas scanner management library is a frontend of the ScanImage program
1388 provided by the sane toolkit.
1389 It allows to easily manage scanner devices in Gambas code.
1390
1391 %files gb-scanner
1392 %{_libdir}/%{name}/gb.scanner.gambas
1393 %{_libdir}/%{name}/gb.scanner.component
1394 %{_datadir}/%{name}/info/gb.scanner.info
1395 %{_datadir}/%{name}/info/gb.scanner.list
1396
1397 #-----------------------------------------------------------------------------
1398
1399 %package gb-sdl
1400 Summary: The Gambas SDL component
1401 Group: Development/Basic
1402 Requires: %{name}-runtime = %{version}
1403 Requires: %{name}-gb-image = %{version}
1404 Requires: %{name}-gb-image-io = %{version}
1405 Requires: fonts-ttf-dejavu
1406
1407 %description gb-sdl
1408 This component use the sound, image and TTF fonts parts of the SDL
1409 library. It allows you to simultaneously play many sounds and music
1410 stored in a file. If OpenGL drivers are installed it uses them to
1411 accelerate 2D and 3D drawing.
1412
1413 %files gb-sdl
1414 %{_libdir}/%{name}/gb.sdl.so
1415 %{_libdir}/%{name}/gb.sdl.component
1416 %{_datadir}/%{name}/info/gb.sdl.info
1417 %{_datadir}/%{name}/info/gb.sdl.list
1418
1419 #-----------------------------------------------------------------------------
1420
1421 %package gb-sdl-sound
1422 Summary: The Gambas SDL sound component
1423 Group: Development/Basic
1424 Requires: %{name}-runtime = %{version}
1425
1426 %description gb-sdl-sound
1427 This component allows you to play sounds in Gambas. This component
1428 manages up to 32 sound tracks that can play sounds from memory, and
1429 one music track that can play music from a file. Everything is mixed
1430 in real time.
1431
1432 %files gb-sdl-sound
1433
1434 %{_libdir}/%{name}/gb.sdl.sound.*
1435 %{_datadir}/%{name}/info/gb.sdl.sound.*
1436
1437 #-----------------------------------------------------------------------------
1438
1439 %package gb-sdl2
1440 Summary: The Gambas SDL2 component
1441 Group: Development/Basic
1442 Requires: %{name}-runtime = %{version}
1443 Requires: %{name}-gb-image = %{version}
1444 Requires: fonts-ttf-dejavu
1445
1446 %description gb-sdl2
1447 This component use the sound, image and TTF fonts parts of the SDL2
1448 library. It allows you to simultaneously play many sounds and music
1449 stored in a file. If OpenGL drivers are installed it uses them to
1450 accelerate 2D and 3D drawing.
1451
1452 %files gb-sdl2
1453 %{_libdir}/%{name}/gb.sdl2.so
1454 %{_libdir}/%{name}/gb.sdl2.component
1455 %{_datadir}/%{name}/info/gb.sdl2.info
1456 %{_datadir}/%{name}/info/gb.sdl2.list
1457
1458 #-----------------------------------------------------------------------------
1459
1460 %package gb-sdl2-audio
1461 Summary: The Gambas SDL2 audio component
1462 Group: Development/Basic
1463 Requires: %{name}-runtime = %{version}
1464
1465 %description gb-sdl2-audio
1466 This component allows you to play sounds in Gambas. This component
1467 manages up to 32 sound tracks that can play sounds from memory, and
1468 one music track that can play music from a file. Everything is mixed
1469 in real timeu sing SDL2.
1470
1471 %files gb-sdl2-audio
1472
1473 %{_libdir}/%{name}/gb.sdl2.audio.so
1474 %{_libdir}/%{name}/gb.sdl2.audio.component
1475 %{_datadir}/%{name}/info/gb.sdl2.audio.info
1476 %{_datadir}/%{name}/info/gb.sdl2.audio.list
1477
1478 #-----------------------------------------------------------------------------
1479
1480 %package gb-settings
1481 Summary: The Gambas settings component
1482 Group: Development/Basic
1483 Requires: %{name}-runtime = %{version}
1484
1485 %description gb-settings
1486 This components allows you to deal with configuration files.
1487
1488 %files gb-settings
1489 %{_libdir}/%{name}/gb.settings.*
1490 %{_datadir}/%{name}/info/gb.settings.*
1491
1492 #-----------------------------------------------------------------------------
1493
1494 %package gb-signal
1495 Summary: The Gambas signal component
1496 Group: Development/Basic
1497 Requires: %{name}-runtime = %{version}
1498
1499 %description gb-signal
1500 This package contains the Gambas Signal components.
1501
1502 %files gb-signal
1503
1504 %{_libdir}/%{name}/gb.signal.*
1505 %{_datadir}/%{name}/info/gb.signal.*
1506
1507 #-----------------------------------------------------------------------------
1508
1509 %package gb-term
1510 Summary: The Gambas Term component
1511 Group: Development/Basic
1512 Requires: %{name}-runtime = %{version}
1513
1514 %description gb-term
1515 This package contains the Gambas Term components.
1516
1517 %files gb-term
1518
1519 %{_libdir}/%{name}/gb.term.*
1520 %{_datadir}/%{name}/info/gb.term.*
1521 %{_datadir}/%{name}/control/gb.term.*
1522
1523 #-----------------------------------------------------------------------------
1524
1525 %package gb-util
1526 Summary: The Gambas Util component
1527 Group: Development/Basic
1528 Requires: %{name}-runtime = %{version}
1529
1530 %description gb-util
1531 This component provides many useful utility methods or classes.
1532
1533 %files gb-util
1534 %{_libdir}/%{name}/gb.util.gambas
1535 %{_libdir}/%{name}/gb.util.component
1536 %{_datadir}/%{name}/info/gb.util.info
1537 %{_datadir}/%{name}/info/gb.util.list
1538
1539 #-----------------------------------------------------------------------------
1540
1541 %package gb-util-web
1542 Summary: The Gambas Util Web component
1543 Group: Development/Basic
1544 Requires: %{name}-runtime = %{version}
1545
1546 # can be removed for mga7
1547 Conflicts: gambas3-gb-util < 3.8.4-9
1548
1549 %description gb-util-web
1550 This component provides many utilities useful for web applications.
1551
1552 %files gb-util-web
1553 %{_libdir}/%{name}/gb.util.web.gambas
1554 %{_libdir}/%{name}/gb.util.web.component
1555 %{_datadir}/%{name}/info/gb.util.web.info
1556 %{_datadir}/%{name}/info/gb.util.web.list
1557 %dir %{_datadir}/%{name}/control/gb.util.web
1558 %{_datadir}/%{name}/control/gb.util.web/*
1559
1560 #-----------------------------------------------------------------------------
1561
1562 %package gb-v4l
1563 Summary: The Gambas Video4Linux component
1564 Group: Development/Basic
1565 Requires: %{name}-runtime = %{version}
1566 Requires: %{name}-gb-image = %{version}
1567
1568 %description gb-v4l
1569 This components allows you to use the Video4Linux interface with
1570 Gambas.
1571
1572 %files gb-v4l
1573
1574 %{_libdir}/%{name}/gb.v4l.*
1575 %{_datadir}/%{name}/info/gb.v4l.*
1576
1577 #-----------------------------------------------------------------------------
1578
1579 %package gb-vb
1580 Summary: The Gambas Visual Basic(tm) compatibility component
1581 Group: Development/Basic
1582 Requires: %{name}-runtime = %{version}
1583
1584 %description gb-vb
1585 This component aims at including some functions that imitate the
1586 behaviour of Visual Basic(TM) functions. Use it only if you want to
1587 port some VB projects.
1588
1589 %files gb-vb
1590
1591 %{_libdir}/%{name}/gb.vb.*
1592 %{_datadir}/%{name}/info/gb.vb.*
1593
1594 #-----------------------------------------------------------------------------
1595
1596 %package gb-web
1597 Summary: The Gambas CGI web component
1598 Group: Development/Basic
1599 Requires: %{name}-runtime = %{version}
1600
1601 %description gb-web
1602 This components allows you to make CGI web applications using Gambas,
1603 with an ASP-like interface.
1604
1605 %files gb-web
1606 %{_libdir}/%{name}/gb.web.component
1607 %{_libdir}/%{name}/gb.web.gambas
1608 %{_datadir}/%{name}/info/gb.web.info
1609 %{_datadir}/%{name}/info/gb.web.list
1610
1611 #-----------------------------------------------------------------------------
1612
1613 %package gb-web-feed
1614 Summary: The Gambas CGI web-feed component
1615 Group: Development/Basic
1616 Requires: %{name}-runtime = %{version}
1617 Requires: %{name}-gb-xml = %{version}
1618 Requires: %{name}-gb-util = %{version}
1619
1620 %description gb-web-feed
1621 This components allows you to make CGI web-feed applications using Gambas,
1622 with an ASP-like interface.
1623
1624 %files gb-web-feed
1625
1626 %{_libdir}/%{name}/gb.web.feed.component
1627 %{_libdir}/%{name}/gb.web.feed.gambas
1628 %{_datadir}/%{name}/info/gb.web.feed.info
1629 %{_datadir}/%{name}/info/gb.web.feed.list
1630
1631 #-----------------------------------------------------------------------------
1632
1633 %package gb-web-form
1634 Summary: The Gambas CGI web-form component
1635 Group: Development/Basic
1636 Requires: %{name}-runtime = %{version}
1637 Requires: %{name}-gb-web = %{version}
1638 Requires: %{name}-gb-util-web = %{version}
1639 Requires: %{name}-gb-util = %{version}
1640
1641 %description gb-web-form
1642 This components allows you to make CGI web-form applications using Gambas,
1643 with an ASP-like interface.
1644
1645 %files gb-web-form
1646 %{_libdir}/%{name}/gb.web.form.component
1647 %{_libdir}/%{name}/gb.web.form.gambas
1648 %{_datadir}/%{name}/info/gb.web.form.info
1649 %{_datadir}/%{name}/info/gb.web.form.list
1650 %{_datadir}/%{name}/control/gb.web.form/
1651
1652 #-----------------------------------------------------------------------------
1653
1654 %package gb-web-gui
1655 Summary: The Gambas CGI web-gui component
1656 Group: Development/Basic
1657 Requires: %{name}-runtime = %{version}
1658 Requires: %{name}-gb-util = %{version}
1659 Requires: %{name}-gb-web = %{version}
1660 Requires: %{name}-gb-util-web = %{version}
1661 Requires: %{name}-gb-signal = %{version}
1662
1663 %description gb-web-gui
1664 This components allows you to make CGI web-gui applications using Gambas,
1665 with an ASP-like interface.
1666
1667 %files gb-web-gui
1668 %{_libdir}/%{name}/gb.web.gui.component
1669 %{_libdir}/%{name}/gb.web.gui.gambas
1670 %{_datadir}/%{name}/info/gb.web.gui.info
1671 %{_datadir}/%{name}/info/gb.web.gui.list
1672 %{_datadir}/%{name}/control/gb.web.gui/
1673
1674 #-----------------------------------------------------------------------------
1675
1676 %package gb-libxml
1677 Summary: The Gambas libxml component
1678 Group: Development/Basic
1679 Requires: %{name}-runtime = %{version}
1680
1681 %description gb-libxml
1682 This component allows you to use libxml.
1683
1684 %files gb-libxml
1685 %{_libdir}/%{name}/gb.libxml.so
1686 %{_libdir}/%{name}/gb.libxml.component
1687 %{_datadir}/%{name}/info/gb.libxml.info
1688 %{_datadir}/%{name}/info/gb.libxml.list
1689
1690 #-----------------------------------------------------------------------------
1691 %package gb-logging
1692 Summary: The Gambas logging component
1693 Group: Development/Basic
1694 Requires: %{name}-runtime = %{version}
1695
1696 %description gb-logging
1697 This component implements a flexible logging system for Gambas applications.
1698 The formatting of messages is based on the RFC5454 document
1699 which describes the standard "syslog" format.
1700
1701 %files gb-logging
1702
1703 %{_libdir}/%{name}/gb.logging.*
1704 %{_datadir}/%{name}/info/gb.logging.info
1705 %{_datadir}/%{name}/info/gb.logging.list
1706
1707 #-----------------------------------------------------------------------------
1708
1709 %package gb-xml
1710 Summary: The Gambas xml component
1711 Group: Development/Basic
1712 Requires: %{name}-runtime = %{version}
1713
1714 %description gb-xml
1715 This component allows you to use xml.
1716
1717 %files gb-xml
1718 %{_libdir}/%{name}/gb.xml.so
1719 %{_libdir}/%{name}/gb.xml.component
1720 %{_libdir}/%{name}/gb.xml.gambas
1721 %{_datadir}/%{name}/info/gb.xml.info
1722 %{_datadir}/%{name}/info/gb.xml.list
1723
1724 #-----------------------------------------------------------------------------
1725
1726 %package gb-xml-html
1727 Summary: The Gambas xml html component
1728 Group: Development/Basic
1729 Requires: %{name}-runtime = %{version}
1730 Requires: %{name}-gb-xml
1731
1732 %description gb-xml-html
1733 This component allows you to use xml html.
1734
1735 %files gb-xml-html
1736
1737 %{_libdir}/%{name}/gb.xml.html.so
1738 %{_libdir}/%{name}/gb.xml.html.component
1739 %{_datadir}/%{name}/info/gb.xml.html.info
1740 %{_datadir}/%{name}/info/gb.xml.html.list
1741
1742 #-----------------------------------------------------------------------------
1743
1744 %package gb-xml-rpc
1745 Summary: The Gambas xml-rpc component
1746 Group: Development/Basic
1747 Requires: %{name}-runtime = %{version}
1748 Requires: %{name}-gb-xml
1749
1750 %description gb-xml-rpc
1751 This component allows you to use xml-rpc.
1752
1753 %files gb-xml-rpc
1754
1755 %{_libdir}/%{name}/gb.xml.rpc.gambas
1756 %{_libdir}/%{name}/gb.xml.rpc.component
1757 %{_datadir}/%{name}/info/gb.xml.rpc.info
1758 %{_datadir}/%{name}/info/gb.xml.rpc.list
1759
1760 #-----------------------------------------------------------------------------
1761
1762 %package gb-xml-xslt
1763 Summary: The Gambas xml-xslt component
1764 Group: Development/Basic
1765 Requires: %{name}-runtime = %{version}
1766 Requires: %{name}-gb-xml = %{version}
1767
1768 %description gb-xml-xslt
1769 This component allows you to use xml-xslt.
1770
1771 %files gb-xml-xslt
1772
1773 %{_libdir}/%{name}/gb.xml.xslt*
1774 %{_datadir}/%{name}/info/gb.xml.xslt*
1775
1776 #-----------------------------------------------------------------------------
1777
1778 %package gb-data
1779 Summary: The Gambas data component
1780 Group: Development/Basic
1781 Requires: %{name}-runtime = %{version}
1782
1783 %description gb-data
1784 The Gambas data component.
1785
1786 %files gb-data
1787
1788 %{_libdir}/%{name}/gb.data*
1789 %{_datadir}/%{name}/info/gb.data*
1790
1791 #-----------------------------------------------------------------------------
1792
1793 %package gb-complex
1794 Summary: The Gambas complex component
1795 Group: Development/Basic
1796 Requires: %{name}-runtime = %{version}
1797
1798 %description gb-complex
1799 This component allows you to work with complex numbers.
1800
1801 %files gb-complex
1802
1803 %{_libdir}/%{name}/gb.complex*
1804 %{_datadir}/%{name}/info/gb.complex*
1805
1806 #-----------------------------------------------------------------------------
1807
1808 %package gb-args
1809 Summary: The Gambas args component
1810 Group: Development/Basic
1811 Requires: %{name}-runtime = %{version}
1812
1813 %description gb-args
1814 This component allows you to analyze command line arguments.
1815 It should replace the unmaintained gb.option component.
1816
1817 %files gb-args
1818
1819 %{_libdir}/%{name}/gb.args*
1820 %{_datadir}/%{name}/info/gb.args*
1821
1822 #-----------------------------------------------------------------------------
1823
1824 %package gb-httpd
1825 Summary: The Gambas httpd component
1826 Group: Development/Basic
1827 Requires: %{name}-runtime = %{version}
1828
1829 %description gb-httpd
1830 The Gambas httpd component.
1831
1832 %files gb-httpd
1833
1834 %{_libdir}/%{name}/gb.httpd*
1835 %{_datadir}/%{name}/info/gb.httpd*
1836
1837 #-----------------------------------------------------------------------------
1838
1839 %package -n task-gambas3
1840 Summary: Metapackage for Gambas3
1841 Group: Development/Basic
1842 Recommends: gambas3-examples
1843 Requires: gambas3-devel
1844 Requires: gambas3-gb-args
1845 Requires: gambas3-gb-cairo
1846 Requires: gambas3-gb-chart
1847 Requires: gambas3-gb-clipper
1848 Requires: gambas3-gb-complex
1849 Requires: gambas3-gb-compress
1850 Requires: gambas3-gb-crypt
1851 Requires: gambas3-gb-data
1852 Requires: gambas3-gb-db
1853 Requires: gambas3-gb-db-form
1854 Requires: gambas3-gb-db-mysql
1855 Requires: gambas3-gb-db-odbc
1856 Requires: gambas3-gb-db-postgresql
1857 Requires: gambas3-gb-db-sqlite2
1858 Requires: gambas3-gb-db-sqlite3
1859 Requires: gambas3-gb-dbus
1860 Requires: gambas3-gb-desktop
1861 %ifnarch %arm
1862 Requires: gambas3-gb-eval-highlight
1863 %endif
1864 Requires: gambas3-gb-form
1865 Requires: gambas3-gb-form-dialog
1866 Requires: gambas3-gb-form-editor
1867 Requires: gambas3-gb-form-htmlview
1868 Requires: gambas3-gb-form-mdi
1869 Requires: gambas3-gb-form-print
1870 Requires: gambas3-gb-form-stock
1871 Requires: gambas3-gb-form-terminal
1872 Requires: gambas3-gb-gmp
1873 Requires: gambas3-gb-gsl
1874 Requires: gambas3-gb-gtk3
1875 Requires: gambas3-gb-gtk3-opengl
1876 Requires: gambas3-gb-gtk3-webview
1877 Requires: gambas3-gb-gtk3-x11
1878 Requires: gambas3-gb-hash
1879 Requires: gambas3-gb-httpd
1880 Requires: gambas3-gb-image
1881 Requires: gambas3-gb-image-effect
1882 Requires: gambas3-gb-image-imlib
1883 Requires: gambas3-gb-image-io
1884 Requires: gambas3-gb-inotify
1885 Requires: gambas3-gb-jit
1886 Requires: gambas3-gb-libxml
1887 Requires: gambas3-gb-logging
1888 Requires: gambas3-gb-map
1889 Requires: gambas3-gb-markdown
1890 Requires: gambas3-gb-media
1891 Requires: gambas3-gb-media-form
1892 Requires: gambas3-gb-memcached
1893 Requires: gambas3-gb-mime
1894 Requires: gambas3-gb-mysql
1895 Requires: gambas3-gb-ncurses
1896 Requires: gambas3-gb-net
1897 Requires: gambas3-gb-net-curl
1898 Requires: gambas3-gb-net-pop3
1899 Requires: gambas3-gb-net-smtp
1900 Requires: gambas3-gb-opengl
1901 Requires: gambas3-gb-opengl-glsl
1902 Requires: gambas3-gb-opengl-glu
1903 Requires: gambas3-gb-opengl-sge
1904 Requires: gambas3-gb-openssl
1905 Requires: gambas3-gb-option
1906 Requires: gambas3-gb-pcre
1907 Requires: gambas3-gb-pdf
1908 Requires: gambas3-gb-poppler
1909 Requires: gambas3-gb-qt5
1910 Requires: gambas3-gb-qt5-ext
1911 Requires: gambas3-gb-qt5-opengl
1912 Requires: gambas3-gb-qt5-wayland
1913 Requires: gambas3-gb-qt5-webkit
1914 Requires: gambas3-gb-qt5-webview
1915 Requires: gambas3-gb-qt5-x11
1916 Requires: gambas3-gb-report
1917 Requires: gambas3-gb-report2
1918 Requires: gambas3-gb-scanner
1919 Requires: gambas3-gb-sdl
1920 Requires: gambas3-gb-sdl2
1921 Requires: gambas3-gb-sdl2-audio
1922 Requires: gambas3-gb-sdl-sound
1923 Requires: gambas3-gb-settings
1924 Requires: gambas3-gb-signal
1925 Requires: gambas3-gb-term
1926 Requires: gambas3-gb-util
1927 Requires: gambas3-gb-util-web
1928 Requires: gambas3-gb-v4l
1929 Requires: gambas3-gb-vb
1930 Requires: gambas3-gb-web-feed
1931 Requires: gambas3-gb-web
1932 Requires: gambas3-gb-web-form
1933 Requires: gambas3-gb-web-gui
1934 Requires: gambas3-gb-xml
1935 Requires: gambas3-gb-xml-html
1936 Requires: gambas3-gb-xml-rpc
1937 Requires: gambas3-gb-xml-xslt
1938 Requires: gambas3-ide
1939 Requires: gambas3-runtime
1940 Requires: gambas3-script
1941
1942 %description -n task-gambas3
1943 This package is a meta-package, meaning that its purpose is to contain
1944 full list of dependencies for Gambas3.
1945
1946 %files -n task-gambas3
1947
1948 #-----------------------------------------------------------------------------
1949
1950 %prep
1951 %setup -q -n gambas-%{version}
1952 %autopatch -p1
1953
1954 # remove not-workable examples
1955 rm -rf app/examples/Games/Invaders
1956 rm -rf app/examples/Multimedia/MediaPlayer
1957
1958 for i in $(find . -name "acinclude.m4");
1959 do
1960 sed -i \
1961 -e 's|$AM_CFLAGS -O.|$AM_CFLAGS|g' \
1962 -e 's|$AM_CXXFLAGS -O.|$AM_CXXFLAGS|g' ${i}
1963 done
1964
1965 # build plugin modules without version info
1966 for i in $(find . -name "Makefile.am");
1967 do
1968 sed -i -e '/LDFLAGS/s/-module/-module -avoid-version/g' $i
1969 done
1970
1971 %build
1972 export CXXFLAGS="%{build_cxxflags} -std=c++17"
1973 %set_build_flags
1974 autoreconf -fi
1975 for i in $(find -name configure)
1976 do
1977 pushd $(dirname $i)
1978 %before_configure
1979 popd
1980 done
1981
1982 %configure --disable-qt4 --disable-gtk
1983 %make_build
1984
1985 %install
1986 %make_install
1987
1988 # According to upstream:
1989 # Note that gb.la, gb.so, gb.so.0 and gb.so.0.0.0 do not need to be
1990 # distributed. They are temporary files used for generating gb.info and gb.list
1991 # only.
1992 rm -f %{buildroot}%{_libdir}/%{name}/gb.so*
1993
1994 # No need for file in appdata and metainfo
1995 rm -rf %{buildroot}%{_datadir}/appdata/gambas3.appdata.xml
1996
1997 # Resize icons
1998 for png in 128x128 64x64 32x32 22x22 16x16; do
1999 mkdir -p %{buildroot}%{_iconsdir}/hicolor/${png}/apps/
2000 convert -geometry $png app/desktop/%{name}.png %{buildroot}%{_iconsdir}/hicolor/${png}/apps/%{name}.png
2001 done
2002
2003 # Install svg icon
2004 install -D -m 644 app/desktop/%{name}.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
2005
2006 # Install .desktop file
2007 install -D -m 644 app/desktop/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
2008
2009 # Install mime type
2010 install -D -p -m 644 main/mime/application-x-gambas3.xml %{buildroot}%{_datadir}/mime/packages/gambas3.xml
2011 install -D -p -m 644 main/mime/application-x-gambas3.png %{buildroot}%{_iconsdir}/hicolor/256x256/mimetypes/application-x-gambas3.png
2012 install -D -p -m 644 app/mime/application-x-gambasscript.xml %{buildroot}%{_datadir}/mime/packages/gambasscript.xml
2013 install -D -p -m 644 app/mime/application-x-gambasscript.png %{buildroot}%{_iconsdir}/hicolor/256x256/mimetypes/application-x-gambasscript.png
2014
2015 # Install examples
2016 mkdir -p %{buildroot}%{_datadir}/%{name}/examples
2017 cp -a app/examples/ %{buildroot}%{_datadir}/%{name}/

  ViewVC Help
Powered by ViewVC 1.1.30