]> git.pld-linux.org Git - packages/gambas.git/blob - gambas.spec
46c881e6fa6806792daec79982475a6a5e0a430d
[packages/gambas.git] / gambas.spec
1 Summary:        Gambas - a free VB-like language
2 Summary(pl):    Gambas - wolnodostêpny jêzyk VB-podobny
3 Name:           gambas
4 Version:        1.0.4
5 Release:        1
6 License:        GPL v2
7 Group:          Development/Languages
8 Source0:        http://gambas.sourceforge.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c2299b5e13174bee1bb00c840fb2f5c1
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-devel
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
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):    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
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):    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
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):    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
100 Ten pakiet zawiera kilka przyk³adów dla Gambas.
101
102 %package gb-compress
103 Summary:        The Gambas compression component
104 Summary(pl):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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):    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
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         --enable-optimization \
340         --enable-shared
341         
342 %{__make}
343
344 %install
345 rm -rf $RPM_BUILD_ROOT
346 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
347
348 %{__make} install \
349         DESTDIR=$RPM_BUILD_ROOT
350
351 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
352 install app/gambas/img/logo/gambas-48x48.png \
353         $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
354
355 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
356
357 %clean
358 rm -rf $RPM_BUILD_ROOT
359
360 %files
361 %defattr(644,root,root,755)
362 %doc AUTHORS ChangeLog README TODO
363 %attr(755,root,root) %{_bindir}/gbc
364 %attr(755,root,root) %{_bindir}/gbi
365 %attr(755,root,root) %{_bindir}/gbx
366 %dir %{_libdir}/%{name}
367 %dir %{_datadir}/%{name}
368 %dir %{_datadir}/%{name}/info
369 %{_libdir}/%{name}/lib.gb.component
370 %{_datadir}/%{name}/info/gb.info
371 %{_datadir}/%{name}/info/gb.list
372
373 %files doc
374 %defattr(644,root,root,755)
375 %{_datadir}/%{name}/help
376
377 %files ide
378 %defattr(644,root,root,755)
379 %attr(755,root,root) %{_bindir}/gambas
380 %attr(755,root,root) %{_bindir}/gambas-database-manager
381 %attr(755,root,root) %{_bindir}/gba
382 %{_desktopdir}/gambas.desktop
383 %{_pixmapsdir}/gambas.png
384
385 %files examples
386 %defattr(644,root,root,755)
387 %{_datadir}/%{name}/examples
388
389 %files gb-compress
390 %defattr(644,root,root,755)
391 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.compress.*
392 %{_datadir}/%{name}/info/gb.compress.*
393
394 %files gb-db
395 %defattr(644,root,root,755)
396 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.so*
397 %{_libdir}/%{name}/lib.gb.db.component
398 %{_datadir}/%{name}/info/gb.db.info
399 %{_datadir}/%{name}/info/gb.db.list
400
401 %files gb-db-mysql
402 %defattr(644,root,root,755)
403 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.mysql.*
404
405 %files gb-db-postgresql
406 %defattr(644,root,root,755)
407 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.postgresql.*
408
409 %files gb-db-sqlite
410 %defattr(644,root,root,755)
411 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.db.sqlite.*
412
413 %files gb-debug
414 %defattr(644,root,root,755)
415 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.debug.*
416 %{_datadir}/%{name}/info/gb.debug.*
417
418 %files gb-eval
419 %defattr(644,root,root,755)
420 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.eval.*
421 %{_datadir}/%{name}/info/gb.eval.*
422
423 %files gb-net
424 %defattr(644,root,root,755)
425 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.net.so*
426 %{_libdir}/%{name}/lib.gb.net.component
427 %{_datadir}/%{name}/info/gb.net.info
428 %{_datadir}/%{name}/info/gb.net.list
429
430 %files gb-net-curl
431 %defattr(644,root,root,755)
432 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.net.curl.so*
433 %{_libdir}/%{name}/lib.gb.net.curl.component
434 %{_datadir}/%{name}/info/gb.net.curl.info
435 %{_datadir}/%{name}/info/gb.net.curl.list
436
437 %files gb-qt
438 %defattr(644,root,root,755)
439 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.so*
440 %{_libdir}/%{name}/lib.gb.qt.component
441 %{_datadir}/%{name}/info/gb.qt.info
442 %{_datadir}/%{name}/info/gb.qt.list
443
444 %files gb-qt-ext
445 %defattr(644,root,root,755)
446 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.ext.so*
447 %{_libdir}/%{name}/lib.gb.qt.ext.component
448 %{_datadir}/%{name}/info/gb.qt.ext.info
449 %{_datadir}/%{name}/info/gb.qt.ext.list
450
451 %files gb-qt-editor
452 %defattr(644,root,root,755)
453 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.editor.so*
454 %{_libdir}/%{name}/lib.gb.qt.editor.component
455 %{_datadir}/%{name}/info/gb.qt.editor.info
456 %{_datadir}/%{name}/info/gb.qt.editor.list
457
458 %files gb-qt-kde
459 %defattr(644,root,root,755)
460 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.kde.so*
461 %{_libdir}/%{name}/lib.gb.qt.kde.component
462 %{_datadir}/%{name}/info/gb.qt.kde.info
463 %{_datadir}/%{name}/info/gb.qt.kde.list
464
465 %files gb-qt-kde-html
466 %defattr(644,root,root,755)
467 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.qt.kde.html.so*
468 %{_libdir}/%{name}/lib.gb.qt.kde.html.component
469 %{_datadir}/%{name}/info/gb.qt.kde.html.info
470 %{_datadir}/%{name}/info/gb.qt.kde.html.list
471
472 %files gb-sdl
473 %defattr(644,root,root,755)
474 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.sdl.so*
475 %{_libdir}/%{name}/lib.gb.sdl.component
476 %{_datadir}/%{name}/info/gb.sdl.info
477 %{_datadir}/%{name}/info/gb.sdl.list
478
479 %files gb-vb
480 %defattr(644,root,root,755)
481 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.vb.so*
482 %{_libdir}/%{name}/lib.gb.vb.component
483 %{_datadir}/%{name}/info/gb.vb.info
484 %{_datadir}/%{name}/info/gb.vb.list
485
486 %files gb-xml
487 %defattr(644,root,root,755)
488 %attr(755,root,root) %{_libdir}/%{name}/lib.gb.xml.libxml.*
489 %{_datadir}/%{name}/info/gb.xml.libxml.*
This page took 0.098876 seconds and 3 git commands to generate.