]> git.pld-linux.org Git - packages/gambas.git/blob - gambas.spec
- updated gettext BR
[packages/gambas.git] / gambas.spec
1 Summary:        Gambas - a free VB-like language
2 Summary(pl.UTF-8):      Gambas - wolnodostępny język podobny do VB
3 Name:           gambas
4 Version:        1.0.17
5 Release:        1
6 License:        GPL v2
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)
25
26 %description
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...
32
33 This package provides the command-line utilities, as well as the
34 Gambas interpreter needed to run Gambas applications.
35
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
42 na wiele języków itd.
43
44 Ten pakiet dostarcza narzędzia działające z linii poleceń, a także
45 interpreter potrzebny do uruchamiania aplikacji Gambas.
46
47 %package doc
48 Summary:        Documentation for Gambas language
49 Summary(pl.UTF-8):      Dokumentacja dla języka Gambas
50 Group:          Development/Languages
51
52 %description doc
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...
58
59 This package contains Gambas language documentation.
60
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
67 na wiele języków itd.
68
69 Ten pakiet zawiera dokumentację dla języka Gambas.
70
71 %package ide
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}
81
82 %description ide
83 This package includes the complete Gambas Development Environment,
84 with the database manager and all necessary components.
85
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.
89
90 %package examples
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}
95
96 %description examples
97 The gambas-examples package contains some examples for Gambas.
98
99 %description examples -l pl.UTF-8
100 Ten pakiet zawiera kilka przykładów dla Gambas.
101
102 %package gb-compress
103 Summary:        The Gambas compression component
104 Summary(pl.UTF-8):      Gambas - komponent do kompresji
105 Group:          Development/Languages
106 Requires:       %{name} = %{version}-%{release}
107
108 %description gb-compress
109 This component allows you to compress/uncompress data or files with
110 the bzip2 and zip algorithms.
111
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.
115
116 %package gb-db
117 Summary:        The Gambas database component
118 Summary(pl.UTF-8):      Gambas - komponent bazodanowy
119 Group:          Development/Languages
120 Requires:       %{name} = %{version}-%{release}
121
122 %description gb-db
123 This component allows you to access many databases management systems,
124 provided that you install the needed driver packages.
125
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.
129
130 %package gb-db-mysql
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}
135
136 %description gb-db-mysql
137 This component allows you to access MySQL databases.
138
139 %description gb-db-mysql -l pl.UTF-8
140 Ten komponent pozwala na dostęp do bazy danych MySQL.
141
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}
147
148 %description gb-db-postgresql
149 This component allows you to access PostgreSQL databases.
150
151 %description gb-db-postgresql -l pl.UTF-8
152 Ten komponent pozwala na dostęp do bazy danych PostgreSQL.
153
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}
159
160 %description gb-db-sqlite
161 This component allows you to access SQLite databases.
162
163 %description gb-db-sqlite -l pl.UTF-8
164 Ten komponent pozwala na dostęp do bazy danych SQLite.
165
166 %package gb-debug
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}
171
172 %description gb-debug
173 This component helps the IDE to debug Gambas programs.
174
175 %description gb-debug -l pl.UTF-8
176 Komponent przeznaczony dla IDE Gambasa, przydatny przy odpluskwianiu
177 programów.
178
179 %package gb-eval
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}
184
185 %description gb-eval
186 This component allows you to evaluate expressions at runtime. It is
187 used by the Gambas Eval() function.
188
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().
192
193 %package gb-net
194 Summary:        The Gambas networking component
195 Summary(pl.UTF-8):      Komponent sieciowy Gambasa
196 Group:          Development/Languages
197 Requires:       %{name} = %{version}-%{release}
198
199 %description gb-net
200 This component allows you to use TCP/IP and UDP sockets, and to access
201 any serial ports.
202
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.
206
207 %package gb-net-curl
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}
212
213 %description gb-net-curl
214 This component allows your programs to easily become FTP or HTTP
215 clients.
216
217 %description gb-net-curl -l pl.UTF-8
218 Ten komponent pozwala programom w łatwy sposób stać się klientami FTP
219 lub HTTP.
220
221 %package gb-qt
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}
226
227 %description gb-qt
228 This package includes the Gambas Qt GUI component.
229
230 %description gb-qt -l pl.UTF-8
231 Ten pakiet zawiera komponent graficznego interfejsu użytkownika Qt dla
232 Gambasa.
233
234 %package gb-qt-ext
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}
239
240 %description gb-qt-ext
241 This component includes some uncommon Qt controls.
242
243 %description gb-qt-ext -l pl.UTF-8
244 Ten komponent zawiera niektóre mało popularne kontrolki Qt.
245
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}
251
252 %description gb-qt-editor
253 This component includes a Gambas source code editor with syntax
254 highlighting. It is used by the IDE.
255
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.
259
260 %package gb-qt-kde
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}
265
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
269 protocol.
270
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.
274
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}
280
281 %description gb-qt-kde-html
282 This component allows you to use the KHTML Web Browser widget included
283 in KDE.
284
285 %description gb-qt-kde-html -l pl.UTF-8
286 Ten komponent pozwala na używanie widgetu przeglądarki WWW KHTML
287 zawartego w KDE.
288
289 %package gb-sdl
290 Summary:        The Gambas SDL component
291 Summary(pl.UTF-8):      Komponent SDL dla Gambasa
292 Group:          Development/Languages
293 Requires:       %{name} = %{version}-%{release}
294
295 %description gb-sdl
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.
298
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.
302
303 %package gb-vb
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}
308
309 %description gb-vb
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.
313
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.
318
319 %package gb-xml
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}
324
325 %description gb-xml
326 These components brings the power of the libxml and libxslt libraries
327 to Gambas.
328
329 %description gb-xml -l pl.UTF-8
330 Te komponenty dostarczają do Gambasa potęgę bibliotek libxml i
331 libxslt.
332
333 %prep
334 %setup -q
335 %patch0 -p1
336
337 %build
338 %configure \
339         --%{?debug:en}%{!?debug:dis}able-debug
340 %{__make}
341
342 %install
343 rm -rf $RPM_BUILD_ROOT
344 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
345
346 %{__make} install \
347         DESTDIR=$RPM_BUILD_ROOT
348
349 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
350 install app/gambas/img/logo/gambas-48x48.png \
351         $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
352
353 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
354
355 %clean
356 rm -rf $RPM_BUILD_ROOT
357
358 %files
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
370
371 %files doc
372 %defattr(644,root,root,755)
373 %{_datadir}/%{name}/help
374
375 %files ide
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
382
383 %files examples
384 %defattr(644,root,root,755)
385 %{_datadir}/%{name}/examples
386
387 %files gb-compress
388 %defattr(644,root,root,755)
389 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.compress.*
390 %{_datadir}/%{name}/info/gb.compress.*
391
392 %files gb-db
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
398
399 %files gb-db-mysql
400 %defattr(644,root,root,755)
401 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.mysql.*
402
403 %files gb-db-postgresql
404 %defattr(644,root,root,755)
405 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.postgresql.*
406
407 %files gb-db-sqlite
408 %defattr(644,root,root,755)
409 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.sqlite.*
410
411 %files gb-debug
412 %defattr(644,root,root,755)
413 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.debug.*
414 %{_datadir}/%{name}/info/gb.debug.*
415
416 %files gb-eval
417 %defattr(644,root,root,755)
418 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.eval.*
419 %{_datadir}/%{name}/info/gb.eval.*
420
421 %files gb-net
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
427
428 %files gb-net-curl
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
434
435 %files gb-qt
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
441
442 %files gb-qt-ext
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
448
449 %files gb-qt-editor
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
455
456 %files gb-qt-kde
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
462
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
469
470 %files gb-sdl
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
476
477 %files gb-vb
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
483
484 %files gb-xml
485 %defattr(644,root,root,755)
486 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.xml.libxml.*
487 %{_datadir}/%{name}/info/gb.xml.libxml.*
This page took 0.095415 seconds and 3 git commands to generate.