]> git.pld-linux.org Git - packages/gambas.git/blame - gambas.spec
- updated gettext BR
[packages/gambas.git] / gambas.spec
CommitLineData
1b38e2b3 1Summary: Gambas - a free VB-like language
9e44a927 2Summary(pl.UTF-8): Gambas - wolnodostępny język podobny do VB
a2315646 3Name: gambas
daf3d151 4Version: 1.0.17
b4d8bcdb 5Release: 1
7bdf5ca9 6License: GPL v2
1b38e2b3 7Group: Development/Languages
864609e4 8Source0: http://dl.sourceforge.net/gambas/%{name}-%{version}.tar.bz2
daf3d151 9# Source0-md5: 294bd8202e259836bae074eeb1473b7c
7bdf5ca9
KK
10Source1: %{name}.desktop
11Patch0: %{name}-Makefile.patch
674c2754 12URL: http://gambas.sourceforge.net/
7bdf5ca9
KK
13BuildRequires: SDL_mixer-devel
14BuildRequires: bzip2-devel
15BuildRequires: curl-devel
caeeff29 16BuildRequires: gettext-tools
7bdf5ca9
KK
17BuildRequires: kdelibs-devel
18BuildRequires: libxml2-devel
19BuildRequires: libxslt-devel
20BuildRequires: mysql-devel
21BuildRequires: postgresql-backend-devel
22BuildRequires: postgresql-devel
23BuildRequires: sqlite-devel
a2315646 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Gambas is a free development environment based on a Basic interpreter
28with object extensions, like Visual Basic(tm). With Gambas, you can
29quickly design your program GUI, access MySQL or PostgreSQL databases,
30pilot KDE applications with DCOP, translate your program into many
31languages, and so on...
32
7bdf5ca9
KK
33This package provides the command-line utilities, as well as the
34Gambas interpreter needed to run Gambas applications.
a2315646 35
bfc81505
JR
36%description -l pl.UTF-8
37Gambas to wolnodostępne środowisko programistyczne oparte na
3f9a8d4e 38interpreterze Basica z rozszerzeniami obiektowymi, podobnym do Visual
bfc81505
JR
39Basica(TM). Przy pomocy Gambasa można szybko projektować graficzne
40interfejsy użytkownika, odwoływać się do baz danych MySQL i
41PostgreSQL, sterować aplikacjami KDE poprzez DCOP, tłumaczyć program
42na wiele języków itd.
3f9a8d4e 43
bfc81505 44Ten pakiet dostarcza narzędzia działające z linii poleceń, a także
7bdf5ca9 45interpreter potrzebny do uruchamiania aplikacji Gambas.
3f9a8d4e 46
a2315646 47%package doc
1b38e2b3 48Summary: Documentation for Gambas language
9e44a927 49Summary(pl.UTF-8): Dokumentacja dla języka Gambas
1b38e2b3 50Group: Development/Languages
a2315646 51
1b38e2b3 52%description doc
a2315646 53Gambas is a free development environment based on a Basic interpreter
54with object extensions, like Visual Basic(tm). With Gambas, you can
55quickly design your program GUI, access MySQL or PostgreSQL databases,
56pilot KDE applications with DCOP, translate your program into many
57languages, and so on...
58
1b38e2b3
JB
59This package contains Gambas language documentation.
60
bfc81505
JR
61%description doc -l pl.UTF-8
62Gambas to wolnodostępne środowisko programistyczne oparte na
3f9a8d4e 63interpreterze Basica z rozszerzeniami obiektowymi, podobnym do Visual
bfc81505
JR
64Basica(TM). Przy pomocy Gambasa można szybko projektować graficzne
65interfejsy użytkownika, odwoływać się do baz danych MySQL i
66PostgreSQL, sterować aplikacjami KDE poprzez DCOP, tłumaczyć program
67na wiele języków itd.
3f9a8d4e 68
bfc81505 69Ten pakiet zawiera dokumentację dla języka Gambas.
3f9a8d4e 70
7bdf5ca9
KK
71%package ide
72Summary: The Gambas IDE
9e44a927 73Summary(pl.UTF-8): IDE dla Gambas
1b38e2b3
JB
74Group: Development/Languages
75Requires: %{name} = %{version}-%{release}
7bdf5ca9
KK
76Requires: %{name}-gb-db = %{version}-%{release}
77Requires: %{name}-gb-debug = %{version}-%{release}
78Requires: %{name}-gb-qt = %{version}-%{release}
79Requires: %{name}-gb-qt-editor = %{version}-%{release}
80Requires: %{name}-gb-qt-ext = %{version}-%{release}
a2315646 81
7bdf5ca9
KK
82%description ide
83This package includes the complete Gambas Development Environment,
84with the database manager and all necessary components.
a2315646 85
bfc81505
JR
86%description ide -l pl.UTF-8
87Ten pakiet zawiera kompletne środowisko programistyczne, łącznie
88z menedżerem baz danych i wszystkimi niezbędnymi komponentami.
3f9a8d4e 89
7bdf5ca9
KK
90%package examples
91Summary: The examples for Gambas language
9e44a927 92Summary(pl.UTF-8): Przykłady dla języka Gambas
7bdf5ca9
KK
93Group: Development/Languages
94Requires: %{name}-ide = %{version}-%{release}
95
96%description examples
97The gambas-examples package contains some examples for Gambas.
98
bfc81505
JR
99%description examples -l pl.UTF-8
100Ten pakiet zawiera kilka przykładów dla Gambas.
7bdf5ca9
KK
101
102%package gb-compress
103Summary: The Gambas compression component
9e44a927 104Summary(pl.UTF-8): Gambas - komponent do kompresji
7bdf5ca9
KK
105Group: Development/Languages
106Requires: %{name} = %{version}-%{release}
107
108%description gb-compress
109This component allows you to compress/uncompress data or files with
110the bzip2 and zip algorithms.
111
bfc81505
JR
112%description gb-compress -l pl.UTF-8
113Ten komponent pozwala pakować/rozpakowywać dane lub pliki przy użyciu
114algorytmów bzip2 i zip.
7bdf5ca9
KK
115
116%package gb-db
117Summary: The Gambas database component
9e44a927 118Summary(pl.UTF-8): Gambas - komponent bazodanowy
7bdf5ca9
KK
119Group: Development/Languages
120Requires: %{name} = %{version}-%{release}
121
122%description gb-db
123This component allows you to access many databases management systems,
124provided that you install the needed driver packages.
125
bfc81505
JR
126%description gb-db -l pl.UTF-8
127Ten komponent pozwala na dostęp do wielu systemów bazodanowych pod
128warunkiem doinstalowania wymaganych pakietów sterowników.
7bdf5ca9
KK
129
130%package gb-db-mysql
131Summary: The MySQL driver for the Gambas database component
9e44a927 132Summary(pl.UTF-8): Gambas - sterownik do MySQL dla komponentu bazodanowego
7bdf5ca9 133Group: Development/Languages
7bdf5ca9
KK
134Requires: %{name}-gb-db = %{version}-%{release}
135
136%description gb-db-mysql
137This component allows you to access MySQL databases.
138
bfc81505
JR
139%description gb-db-mysql -l pl.UTF-8
140Ten komponent pozwala na dostęp do bazy danych MySQL.
7bdf5ca9
KK
141
142%package gb-db-postgresql
143Summary: The PostgreSQL driver for the Gambas database component
9e44a927 144Summary(pl.UTF-8): Gambas - sterownik do PostgreSQL dla komponentu bazodanowego
7bdf5ca9 145Group: Development/Languages
7bdf5ca9
KK
146Requires: %{name}-gb-db = %{version}-%{release}
147
148%description gb-db-postgresql
149This component allows you to access PostgreSQL databases.
150
bfc81505
JR
151%description gb-db-postgresql -l pl.UTF-8
152Ten komponent pozwala na dostęp do bazy danych PostgreSQL.
7bdf5ca9
KK
153
154%package gb-db-sqlite
155Summary: The SQLite driver for the Gambas database component
9e44a927 156Summary(pl.UTF-8): Gambas - sterownik do SQLite dla komponentu bazodanowego
7bdf5ca9 157Group: Development/Languages
7bdf5ca9
KK
158Requires: %{name}-gb-db = %{version}-%{release}
159
160%description gb-db-sqlite
161This component allows you to access SQLite databases.
162
bfc81505
JR
163%description gb-db-sqlite -l pl.UTF-8
164Ten komponent pozwala na dostęp do bazy danych SQLite.
7bdf5ca9
KK
165
166%package gb-debug
167Summary: The debugger helper component for the Gambas IDE
9e44a927 168Summary(pl.UTF-8): Gambas - komponent debuggera dla IDE
7bdf5ca9
KK
169Group: Development/Languages
170Requires: %{name} = %{version}-%{release}
171
172%description gb-debug
173This component helps the IDE to debug Gambas programs.
174
bfc81505 175%description gb-debug -l pl.UTF-8
674c2754 176Komponent przeznaczony dla IDE Gambasa, przydatny przy odpluskwianiu
bfc81505 177programów.
7bdf5ca9
KK
178
179%package gb-eval
180Summary: The Gambas expression evaluator component
9e44a927 181Summary(pl.UTF-8): Gambas - komponent do obliczania wyrażeń
7bdf5ca9
KK
182Group: Development/Languages
183Requires: %{name} = %{version}-%{release}
184
185%description gb-eval
186This component allows you to evaluate expressions at runtime. It is
187used by the Gambas Eval() function.
188
bfc81505
JR
189%description gb-eval -l pl.UTF-8
190Ten komponent pozwala na obliczanie wyrażeń w programach. Jest używany
191przez funkcję Gambasa Eval().
674c2754 192
7bdf5ca9
KK
193%package gb-net
194Summary: The Gambas networking component
9e44a927 195Summary(pl.UTF-8): Komponent sieciowy Gambasa
1b38e2b3
JB
196Group: Development/Languages
197Requires: %{name} = %{version}-%{release}
a2315646 198
7bdf5ca9
KK
199%description gb-net
200This component allows you to use TCP/IP and UDP sockets, and to access
201any serial ports.
202
bfc81505
JR
203%description gb-net -l pl.UTF-8
204Ten komponent pozwala na używanie gniazd TCP/IP i UDP oraz na dostęp
205do portów szeregowych.
674c2754 206
7bdf5ca9
KK
207%package gb-net-curl
208Summary: The Gambas advanced networking component
9e44a927 209Summary(pl.UTF-8): Zaawansowany komponent sieciowy Gambasa
7bdf5ca9 210Group: Development/Languages
7bdf5ca9
KK
211Requires: %{name}-gb-net = %{version}-%{release}
212
213%description gb-net-curl
214This component allows your programs to easily become FTP or HTTP
215clients.
216
bfc81505
JR
217%description gb-net-curl -l pl.UTF-8
218Ten komponent pozwala programom w łatwy sposób stać się klientami FTP
674c2754
JB
219lub HTTP.
220
7bdf5ca9
KK
221%package gb-qt
222Summary: The Gambas Qt GUI component
9e44a927 223Summary(pl.UTF-8): Komponent graficznego interfejsu użytkownika Qt dla Gambasa
7bdf5ca9
KK
224Group: Development/Languages
225Requires: %{name} = %{version}-%{release}
a2315646 226
7bdf5ca9 227%description gb-qt
674c2754
JB
228This package includes the Gambas Qt GUI component.
229
bfc81505
JR
230%description gb-qt -l pl.UTF-8
231Ten pakiet zawiera komponent graficznego interfejsu użytkownika Qt dla
674c2754 232Gambasa.
7bdf5ca9
KK
233
234%package gb-qt-ext
235Summary: The Gambas extended Qt GUI component
9e44a927 236Summary(pl.UTF-8): Komponent rozszerzonego graficznego interfejsu Qt dla Gambasa
7bdf5ca9 237Group: Development/Languages
7bdf5ca9
KK
238Requires: %{name}-gb-qt = %{version}-%{release}
239
240%description gb-qt-ext
674c2754
JB
241This component includes some uncommon Qt controls.
242
bfc81505
JR
243%description gb-qt-ext -l pl.UTF-8
244Ten komponent zawiera niektóre mało popularne kontrolki Qt.
7bdf5ca9
KK
245
246%package gb-qt-editor
247Summary: The Gambas source code editor component
9e44a927 248Summary(pl.UTF-8): Komponent edytora kodu źródłowego Gambasa
7bdf5ca9 249Group: Development/Languages
7bdf5ca9
KK
250Requires: %{name}-gb-qt = %{version}-%{release}
251
252%description gb-qt-editor
253This component includes a Gambas source code editor with syntax
254highlighting. It is used by the IDE.
255
bfc81505
JR
256%description gb-qt-editor -l pl.UTF-8
257Ten komponent zawiera edytor kodu źródłowego Gambasa z podświetlaniem
258składni. Jest używany przez IDE.
674c2754 259
7bdf5ca9
KK
260%package gb-qt-kde
261Summary: The Gambas KDE component
9e44a927 262Summary(pl.UTF-8): Komponent KDE dla Gambasa
7bdf5ca9 263Group: Development/Languages
7bdf5ca9
KK
264Requires: %{name}-gb-qt = %{version}-%{release}
265
266%description gb-qt-kde
674c2754 267This component transforms your Qt application in a KDE application,
7bdf5ca9
KK
268and allows you to pilot any other KDE application with the DCOP
269protocol.
270
bfc81505
JR
271%description gb-qt-kde -l pl.UTF-8
272Ten komponent zamienia aplikację Qt w aplikację KDE i pozwala na
273sterowanie dowolnymi aplikacjami KDE poprzez protokół DCOP.
674c2754 274
7bdf5ca9
KK
275%package gb-qt-kde-html
276Summary: The Gambas KHTML component
9e44a927 277Summary(pl.UTF-8): Komponent KHTML dla Gambasa
7bdf5ca9 278Group: Development/Languages
7bdf5ca9
KK
279Requires: %{name}-gb-qt-kde = %{version}-%{release}
280
281%description gb-qt-kde-html
282This component allows you to use the KHTML Web Browser widget included
283in KDE.
284
bfc81505
JR
285%description gb-qt-kde-html -l pl.UTF-8
286Ten komponent pozwala na używanie widgetu przeglądarki WWW KHTML
674c2754
JB
287zawartego w KDE.
288
7bdf5ca9
KK
289%package gb-sdl
290Summary: The Gambas SDL component
9e44a927 291Summary(pl.UTF-8): Komponent SDL dla Gambasa
7bdf5ca9
KK
292Group: Development/Languages
293Requires: %{name} = %{version}-%{release}
294
295%description gb-sdl
296This component uses only the sound part of the SDL library. It allows
297you to simultaneously play many sounds and a music stored in a file.
298
bfc81505
JR
299%description gb-sdl -l pl.UTF-8
300Ten komponent używa tylko części dźwiękowej biblioteki SDL. Pozwala na
301jednoczesne odtwarzanie wielu dźwięków i muzyki zapisanej w pliku.
674c2754 302
7bdf5ca9 303%package gb-vb
674c2754 304Summary: The Gambas Visual Basic(TM) compatibility component
9e44a927 305Summary(pl.UTF-8): Komponent zgodności z Visual Basicem(TM) dla Gambasa
7bdf5ca9
KK
306Group: Development/Languages
307Requires: %{name} = %{version}-%{release}
308
309%description gb-vb
310This component aims at including some functions that imitate the
674c2754 311behaviour of Visual Basic(TM) functions. Use it only if you try to
7bdf5ca9
KK
312port some VB projects.
313
bfc81505
JR
314%description gb-vb -l pl.UTF-8
315Ten komponent zawiera trochę funkcji, których celem jest imitowanie
316zachowania funkcji Visual Basica(TM). Należy go używać wyłącznie przy
317próbach sportowania projektów VB.
674c2754 318
7bdf5ca9 319%package gb-xml
674c2754 320Summary: The Gambas XML components based on the libxml and libxslt libraries
9e44a927 321Summary(pl.UTF-8): Komponenty XML Gambasa oparte na bibliotekach libxml i libxslt
7bdf5ca9
KK
322Group: Development/Languages
323Requires: %{name} = %{version}-%{release}
324
325%description gb-xml
326These components brings the power of the libxml and libxslt libraries
327to Gambas.
3f9a8d4e 328
bfc81505
JR
329%description gb-xml -l pl.UTF-8
330Te komponenty dostarczają do Gambasa potęgę bibliotek libxml i
674c2754
JB
331libxslt.
332
a2315646 333%prep
334%setup -q
7bdf5ca9 335%patch0 -p1
a2315646 336
337%build
35b3012a
KK
338%configure \
339 --%{?debug:en}%{!?debug:dis}able-debug
a2315646 340%{__make}
341
342%install
a2315646 343rm -rf $RPM_BUILD_ROOT
7bdf5ca9
KK
344install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
345
346%{__make} install \
347 DESTDIR=$RPM_BUILD_ROOT
348
349install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
350install app/gambas/img/logo/gambas-48x48.png \
351 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
352
353rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
354
a2315646 355%clean
1b38e2b3 356rm -rf $RPM_BUILD_ROOT
a2315646 357
7bdf5ca9 358%files
a2315646 359%defattr(644,root,root,755)
7bdf5ca9
KK
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
a2315646 370
7bdf5ca9 371%files doc
a2315646 372%defattr(644,root,root,755)
7bdf5ca9 373%{_datadir}/%{name}/help
a2315646 374
7bdf5ca9
KK
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
a2315646 485%defattr(644,root,root,755)
7bdf5ca9
KK
486%attr(755,root,root) %{_libdir}/%{name}/lib.gb.xml.libxml.*
487%{_datadir}/%{name}/info/gb.xml.libxml.*
This page took 0.154883 seconds and 4 git commands to generate.