1 Summary: Gambas - a free VB-like language
2 Summary(pl.UTF-8): Gambas - wolnodostępny język podobny do VB
7 Group: Development/Languages
8 Source0: http://dl.sourceforge.net/gambas/%{name}-%{version}.tar.bz2
9 # Source0-md5: 294bd8202e259836bae074eeb1473b7c
10 Source1: %{name}.desktop
11 Patch0: %{name}-Makefile.patch
12 URL: http://gambas.sourceforge.net/
13 BuildRequires: SDL_mixer-devel
14 BuildRequires: bzip2-devel
15 BuildRequires: curl-devel
16 BuildRequires: gettext-tools
17 BuildRequires: kdelibs-devel
18 BuildRequires: libxml2-devel
19 BuildRequires: libxslt-devel
20 BuildRequires: mysql-devel
21 BuildRequires: postgresql-backend-devel
22 BuildRequires: postgresql-devel
23 BuildRequires: sqlite-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Gambas is a free development environment based on a Basic interpreter
28 with object extensions, like Visual Basic(tm). With Gambas, you can
29 quickly design your program GUI, access MySQL or PostgreSQL databases,
30 pilot KDE applications with DCOP, translate your program into many
31 languages, and so on...
33 This package provides the command-line utilities, as well as the
34 Gambas interpreter needed to run Gambas applications.
36 %description -l pl.UTF-8
37 Gambas to wolnodostępne środowisko programistyczne oparte na
38 interpreterze Basica z rozszerzeniami obiektowymi, podobnym do Visual
39 Basica(TM). Przy pomocy Gambasa można szybko projektować graficzne
40 interfejsy użytkownika, odwoływać się do baz danych MySQL i
41 PostgreSQL, sterować aplikacjami KDE poprzez DCOP, tłumaczyć program
44 Ten pakiet dostarcza narzędzia działające z linii poleceń, a także
45 interpreter potrzebny do uruchamiania aplikacji Gambas.
48 Summary: Documentation for Gambas language
49 Summary(pl.UTF-8): Dokumentacja dla języka Gambas
50 Group: Development/Languages
53 Gambas is a free development environment based on a Basic interpreter
54 with object extensions, like Visual Basic(tm). With Gambas, you can
55 quickly design your program GUI, access MySQL or PostgreSQL databases,
56 pilot KDE applications with DCOP, translate your program into many
57 languages, and so on...
59 This package contains Gambas language documentation.
61 %description doc -l pl.UTF-8
62 Gambas to wolnodostępne środowisko programistyczne oparte na
63 interpreterze Basica z rozszerzeniami obiektowymi, podobnym do Visual
64 Basica(TM). Przy pomocy Gambasa można szybko projektować graficzne
65 interfejsy użytkownika, odwoływać się do baz danych MySQL i
66 PostgreSQL, sterować aplikacjami KDE poprzez DCOP, tłumaczyć program
69 Ten pakiet zawiera dokumentację dla języka Gambas.
72 Summary: The Gambas IDE
73 Summary(pl.UTF-8): IDE dla Gambas
74 Group: Development/Languages
75 Requires: %{name} = %{version}-%{release}
76 Requires: %{name}-gb-db = %{version}-%{release}
77 Requires: %{name}-gb-debug = %{version}-%{release}
78 Requires: %{name}-gb-qt = %{version}-%{release}
79 Requires: %{name}-gb-qt-editor = %{version}-%{release}
80 Requires: %{name}-gb-qt-ext = %{version}-%{release}
83 This package includes the complete Gambas Development Environment,
84 with the database manager and all necessary components.
86 %description ide -l pl.UTF-8
87 Ten pakiet zawiera kompletne środowisko programistyczne, łącznie
88 z menedżerem baz danych i wszystkimi niezbędnymi komponentami.
91 Summary: The examples for Gambas language
92 Summary(pl.UTF-8): Przykłady dla języka Gambas
93 Group: Development/Languages
94 Requires: %{name}-ide = %{version}-%{release}
97 The gambas-examples package contains some examples for Gambas.
99 %description examples -l pl.UTF-8
100 Ten pakiet zawiera kilka przykładów dla Gambas.
103 Summary: The Gambas compression component
104 Summary(pl.UTF-8): Gambas - komponent do kompresji
105 Group: Development/Languages
106 Requires: %{name} = %{version}-%{release}
108 %description gb-compress
109 This component allows you to compress/uncompress data or files with
110 the bzip2 and zip algorithms.
112 %description gb-compress -l pl.UTF-8
113 Ten komponent pozwala pakować/rozpakowywać dane lub pliki przy użyciu
114 algorytmów bzip2 i zip.
117 Summary: The Gambas database component
118 Summary(pl.UTF-8): Gambas - komponent bazodanowy
119 Group: Development/Languages
120 Requires: %{name} = %{version}-%{release}
123 This component allows you to access many databases management systems,
124 provided that you install the needed driver packages.
126 %description gb-db -l pl.UTF-8
127 Ten komponent pozwala na dostęp do wielu systemów bazodanowych pod
128 warunkiem doinstalowania wymaganych pakietów sterowników.
131 Summary: The MySQL driver for the Gambas database component
132 Summary(pl.UTF-8): Gambas - sterownik do MySQL dla komponentu bazodanowego
133 Group: Development/Languages
134 Requires: %{name}-gb-db = %{version}-%{release}
136 %description gb-db-mysql
137 This component allows you to access MySQL databases.
139 %description gb-db-mysql -l pl.UTF-8
140 Ten komponent pozwala na dostęp do bazy danych MySQL.
142 %package gb-db-postgresql
143 Summary: The PostgreSQL driver for the Gambas database component
144 Summary(pl.UTF-8): Gambas - sterownik do PostgreSQL dla komponentu bazodanowego
145 Group: Development/Languages
146 Requires: %{name}-gb-db = %{version}-%{release}
148 %description gb-db-postgresql
149 This component allows you to access PostgreSQL databases.
151 %description gb-db-postgresql -l pl.UTF-8
152 Ten komponent pozwala na dostęp do bazy danych PostgreSQL.
154 %package gb-db-sqlite
155 Summary: The SQLite driver for the Gambas database component
156 Summary(pl.UTF-8): Gambas - sterownik do SQLite dla komponentu bazodanowego
157 Group: Development/Languages
158 Requires: %{name}-gb-db = %{version}-%{release}
160 %description gb-db-sqlite
161 This component allows you to access SQLite databases.
163 %description gb-db-sqlite -l pl.UTF-8
164 Ten komponent pozwala na dostęp do bazy danych SQLite.
167 Summary: The debugger helper component for the Gambas IDE
168 Summary(pl.UTF-8): Gambas - komponent debuggera dla IDE
169 Group: Development/Languages
170 Requires: %{name} = %{version}-%{release}
172 %description gb-debug
173 This component helps the IDE to debug Gambas programs.
175 %description gb-debug -l pl.UTF-8
176 Komponent przeznaczony dla IDE Gambasa, przydatny przy odpluskwianiu
180 Summary: The Gambas expression evaluator component
181 Summary(pl.UTF-8): Gambas - komponent do obliczania wyrażeń
182 Group: Development/Languages
183 Requires: %{name} = %{version}-%{release}
186 This component allows you to evaluate expressions at runtime. It is
187 used by the Gambas Eval() function.
189 %description gb-eval -l pl.UTF-8
190 Ten komponent pozwala na obliczanie wyrażeń w programach. Jest używany
191 przez funkcję Gambasa Eval().
194 Summary: The Gambas networking component
195 Summary(pl.UTF-8): Komponent sieciowy Gambasa
196 Group: Development/Languages
197 Requires: %{name} = %{version}-%{release}
200 This component allows you to use TCP/IP and UDP sockets, and to access
203 %description gb-net -l pl.UTF-8
204 Ten komponent pozwala na używanie gniazd TCP/IP i UDP oraz na dostęp
205 do portów szeregowych.
208 Summary: The Gambas advanced networking component
209 Summary(pl.UTF-8): Zaawansowany komponent sieciowy Gambasa
210 Group: Development/Languages
211 Requires: %{name}-gb-net = %{version}-%{release}
213 %description gb-net-curl
214 This component allows your programs to easily become FTP or HTTP
217 %description gb-net-curl -l pl.UTF-8
218 Ten komponent pozwala programom w łatwy sposób stać się klientami FTP
222 Summary: The Gambas Qt GUI component
223 Summary(pl.UTF-8): Komponent graficznego interfejsu użytkownika Qt dla Gambasa
224 Group: Development/Languages
225 Requires: %{name} = %{version}-%{release}
228 This package includes the Gambas Qt GUI component.
230 %description gb-qt -l pl.UTF-8
231 Ten pakiet zawiera komponent graficznego interfejsu użytkownika Qt dla
235 Summary: The Gambas extended Qt GUI component
236 Summary(pl.UTF-8): Komponent rozszerzonego graficznego interfejsu Qt dla Gambasa
237 Group: Development/Languages
238 Requires: %{name}-gb-qt = %{version}-%{release}
240 %description gb-qt-ext
241 This component includes some uncommon Qt controls.
243 %description gb-qt-ext -l pl.UTF-8
244 Ten komponent zawiera niektóre mało popularne kontrolki Qt.
246 %package gb-qt-editor
247 Summary: The Gambas source code editor component
248 Summary(pl.UTF-8): Komponent edytora kodu źródłowego Gambasa
249 Group: Development/Languages
250 Requires: %{name}-gb-qt = %{version}-%{release}
252 %description gb-qt-editor
253 This component includes a Gambas source code editor with syntax
254 highlighting. It is used by the IDE.
256 %description gb-qt-editor -l pl.UTF-8
257 Ten komponent zawiera edytor kodu źródłowego Gambasa z podświetlaniem
258 składni. Jest używany przez IDE.
261 Summary: The Gambas KDE component
262 Summary(pl.UTF-8): Komponent KDE dla Gambasa
263 Group: Development/Languages
264 Requires: %{name}-gb-qt = %{version}-%{release}
266 %description gb-qt-kde
267 This component transforms your Qt application in a KDE application,
268 and allows you to pilot any other KDE application with the DCOP
271 %description gb-qt-kde -l pl.UTF-8
272 Ten komponent zamienia aplikację Qt w aplikację KDE i pozwala na
273 sterowanie dowolnymi aplikacjami KDE poprzez protokół DCOP.
275 %package gb-qt-kde-html
276 Summary: The Gambas KHTML component
277 Summary(pl.UTF-8): Komponent KHTML dla Gambasa
278 Group: Development/Languages
279 Requires: %{name}-gb-qt-kde = %{version}-%{release}
281 %description gb-qt-kde-html
282 This component allows you to use the KHTML Web Browser widget included
285 %description gb-qt-kde-html -l pl.UTF-8
286 Ten komponent pozwala na używanie widgetu przeglądarki WWW KHTML
290 Summary: The Gambas SDL component
291 Summary(pl.UTF-8): Komponent SDL dla Gambasa
292 Group: Development/Languages
293 Requires: %{name} = %{version}-%{release}
296 This component uses only the sound part of the SDL library. It allows
297 you to simultaneously play many sounds and a music stored in a file.
299 %description gb-sdl -l pl.UTF-8
300 Ten komponent używa tylko części dźwiękowej biblioteki SDL. Pozwala na
301 jednoczesne odtwarzanie wielu dźwięków i muzyki zapisanej w pliku.
304 Summary: The Gambas Visual Basic(TM) compatibility component
305 Summary(pl.UTF-8): Komponent zgodności z Visual Basicem(TM) dla Gambasa
306 Group: Development/Languages
307 Requires: %{name} = %{version}-%{release}
310 This component aims at including some functions that imitate the
311 behaviour of Visual Basic(TM) functions. Use it only if you try to
312 port some VB projects.
314 %description gb-vb -l pl.UTF-8
315 Ten komponent zawiera trochę funkcji, których celem jest imitowanie
316 zachowania funkcji Visual Basica(TM). Należy go używać wyłącznie przy
317 próbach sportowania projektów VB.
320 Summary: The Gambas XML components based on the libxml and libxslt libraries
321 Summary(pl.UTF-8): Komponenty XML Gambasa oparte na bibliotekach libxml i libxslt
322 Group: Development/Languages
323 Requires: %{name} = %{version}-%{release}
326 These components brings the power of the libxml and libxslt libraries
329 %description gb-xml -l pl.UTF-8
330 Te komponenty dostarczają do Gambasa potęgę bibliotek libxml i
339 --%{?debug:en}%{!?debug:dis}able-debug
343 rm -rf $RPM_BUILD_ROOT
344 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
347 DESTDIR=$RPM_BUILD_ROOT
349 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
350 install app/gambas/img/logo/gambas-48x48.png \
351 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
353 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
356 rm -rf $RPM_BUILD_ROOT
359 %defattr(644,root,root,755)
360 %doc AUTHORS ChangeLog README TODO
361 %attr(755,root,root) %{_bindir}/gbc
362 %attr(755,root,root) %{_bindir}/gbi
363 %attr(755,root,root) %{_bindir}/gbx
364 %dir %{_libdir}/%{name}
365 %dir %{_datadir}/%{name}
366 %dir %{_datadir}/%{name}/info
367 %{_libdir}/%{name}/lib.gb.component
368 %{_datadir}/%{name}/info/gb.info
369 %{_datadir}/%{name}/info/gb.list
372 %defattr(644,root,root,755)
373 %{_datadir}/%{name}/help
376 %defattr(644,root,root,755)
377 %attr(755,root,root) %{_bindir}/gambas
378 %attr(755,root,root) %{_bindir}/gambas-database-manager
379 %attr(755,root,root) %{_bindir}/gba
380 %{_desktopdir}/gambas.desktop
381 %{_pixmapsdir}/gambas.png
384 %defattr(644,root,root,755)
385 %{_datadir}/%{name}/examples
388 %defattr(644,root,root,755)
389 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.compress.*
390 %{_datadir}/%{name}/info/gb.compress.*
393 %defattr(644,root,root,755)
394 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.so*
395 %{_libdir}/%{name}/lib.gb.db.component
396 %{_datadir}/%{name}/info/gb.db.info
397 %{_datadir}/%{name}/info/gb.db.list
400 %defattr(644,root,root,755)
401 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.mysql.*
403 %files gb-db-postgresql
404 %defattr(644,root,root,755)
405 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.postgresql.*
408 %defattr(644,root,root,755)
409 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.sqlite.*
412 %defattr(644,root,root,755)
413 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.debug.*
414 %{_datadir}/%{name}/info/gb.debug.*
417 %defattr(644,root,root,755)
418 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.eval.*
419 %{_datadir}/%{name}/info/gb.eval.*
422 %defattr(644,root,root,755)
423 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.net.so*
424 %{_libdir}/%{name}/lib.gb.net.component
425 %{_datadir}/%{name}/info/gb.net.info
426 %{_datadir}/%{name}/info/gb.net.list
429 %defattr(644,root,root,755)
430 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.net.curl.so*
431 %{_libdir}/%{name}/lib.gb.net.curl.component
432 %{_datadir}/%{name}/info/gb.net.curl.info
433 %{_datadir}/%{name}/info/gb.net.curl.list
436 %defattr(644,root,root,755)
437 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.so*
438 %{_libdir}/%{name}/lib.gb.qt.component
439 %{_datadir}/%{name}/info/gb.qt.info
440 %{_datadir}/%{name}/info/gb.qt.list
443 %defattr(644,root,root,755)
444 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.ext.so*
445 %{_libdir}/%{name}/lib.gb.qt.ext.component
446 %{_datadir}/%{name}/info/gb.qt.ext.info
447 %{_datadir}/%{name}/info/gb.qt.ext.list
450 %defattr(644,root,root,755)
451 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.editor.so*
452 %{_libdir}/%{name}/lib.gb.qt.editor.component
453 %{_datadir}/%{name}/info/gb.qt.editor.info
454 %{_datadir}/%{name}/info/gb.qt.editor.list
457 %defattr(644,root,root,755)
458 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.kde.so*
459 %{_libdir}/%{name}/lib.gb.qt.kde.component
460 %{_datadir}/%{name}/info/gb.qt.kde.info
461 %{_datadir}/%{name}/info/gb.qt.kde.list
463 %files gb-qt-kde-html
464 %defattr(644,root,root,755)
465 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.kde.html.so*
466 %{_libdir}/%{name}/lib.gb.qt.kde.html.component
467 %{_datadir}/%{name}/info/gb.qt.kde.html.info
468 %{_datadir}/%{name}/info/gb.qt.kde.html.list
471 %defattr(644,root,root,755)
472 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.sdl.so*
473 %{_libdir}/%{name}/lib.gb.sdl.component
474 %{_datadir}/%{name}/info/gb.sdl.info
475 %{_datadir}/%{name}/info/gb.sdl.list
478 %defattr(644,root,root,755)
479 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.vb.so*
480 %{_libdir}/%{name}/lib.gb.vb.component
481 %{_datadir}/%{name}/info/gb.vb.info
482 %{_datadir}/%{name}/info/gb.vb.list
485 %defattr(644,root,root,755)
486 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.xml.libxml.*
487 %{_datadir}/%{name}/info/gb.xml.libxml.*