2 Summary: Gambas is a free VB-like language.
3 Summary(pl): Gambas jest wolnym VB-podobnym jêzykiem.
5 Group: Development/Other
8 URL: http://gambas.sf.net/
9 Source0: http://gambas.sourceforge.net/%{name}-%{version}.tar.bz2
10 # Source0-md5: 1f3211e2c97a354205123a71441e6ced
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Gambas is a free development environment based on a Basic interpreter
15 with object extensions, like Visual Basic(tm). With Gambas, you can
16 quickly design your program GUI, access MySQL or PostgreSQL databases,
17 pilot KDE applications with DCOP, translate your program into many
18 languages, and so on...
20 This package only provides the command-line utilities. You will need
21 gambas-lib for the required components and gambas-gui for the actual
25 Summary: Documentation for Gambas language.
26 Group: Development/Other
29 %description -n gambas-doc
30 Gambas is a free development environment based on a Basic interpreter
31 with object extensions, like Visual Basic(tm). With Gambas, you can
32 quickly design your program GUI, access MySQL or PostgreSQL databases,
33 pilot KDE applications with DCOP, translate your program into many
34 languages, and so on...
37 Summary: Gambas language components and libraries.
38 Group: Development/Other
43 Gambas is a free development environment based on a Basic interpreter
44 with object extensions, like Visual Basic(tm). With Gambas, you can
45 quickly design your program GUI, access MySQL or PostgreSQL databases,
46 pilot KDE applications with DCOP, translate your program into many
47 languages, and so on...
49 This package only provides the Gambas components. You will need the
50 gambas package for the compiler/interpreter and gambas-gui for the
51 actual VB-like environment.
54 Summary: Header file for Gambas component development.
55 Group: Development/Other
60 Gambas is a free development environment based on a Basic interpreter
61 with object extensions, like Visual Basic(tm). With Gambas, you can
62 quickly design your program GUI, access MySQL or PostgreSQL databases,
63 pilot KDE applications with DCOP, translate your program into many
64 languages, and so on...
66 This package includes the header file necessary for writing your own
67 Gambas components, as well as the source for the Gambas GUI components
68 necessary for building the gambas-gui package.
78 cp -f /usr/share/automake/config.sub .
83 # workaround for broken libtool
84 rm -rf $RPM_BUILD_ROOT
86 export PATH=${RPM_BUILD_ROOT}%{_bindir}:$PWD/src/comp:$PATH
87 #make DESTDIR=${RPM_BUILD_ROOT} install
88 #install -d ${RPM_BUILD_ROOT}%{_bindir}/
89 #install -d ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}-%{version}
90 #install -d ${RPM_BUILD_ROOT}%{_includedir}/
91 #install -d ${RPM_BUILD_ROOT}%{_includedir}/%{name}
92 #install -d ${RPM_BUILD_ROOT}%appdir/
93 #install -d ${RPM_BUILD_ROOT}%appdir/lib/
94 #install -s -m 0755 src/exec/gbx ${RPM_BUILD_ROOT}%{_bindir}/
95 #install -s -m 0755 src/comp/gba ${RPM_BUILD_ROOT}%{_bindir}/
96 #install -s -m 0755 src/comp/gbi ${RPM_BUILD_ROOT}%{_bindir}/
97 #install -s -m 0755 src/comp/gbc ${RPM_BUILD_ROOT}%{_bindir}/
98 #find src -name *.la -exec cp {} ${RPM_BUILD_ROOT}%appdir/lib \;
99 #find src -name *.so* -exec cp -a {} ${RPM_BUILD_ROOT}%appdir/lib \;
100 #cp -a src/share/gambas.h ${RPM_BUILD_ROOT}%{_includedir}/%{name}
101 #cp -av examples ${RPM_BUILD_ROOT}/usr/share/doc/%{name}-%{version}
102 ##cp -av help ${RPM_BUILD_ROOT}/usr/share/doc/%{name}-%{version}
103 #find ${RPM_BUILD_ROOT} -size 0 -exec rm -f {} \;
104 #tar cjvf ${RPM_BUILD_ROOT}%appdir/gambas-gui-%{version}.tar.bz2 app/ `find src/ -name *.component`
107 rm -rf ${RPM_BUILD_ROOT}
110 %defattr(644,root,root,755)
111 %doc AUTHORS COPYING ChangeLog INSTALL README
115 %defattr(644,root,root,755)
116 %doc AUTHORS COPYING ChangeLog INSTALL README
119 #%{_includedir}/%{name}
120 #%appdir/gambas-gui-%{version}.tar.bz2
123 %defattr(644,root,root,755)
124 %doc AUTHORS COPYING ChangeLog INSTALL README
125 %attr(755,root,root) %{_bindir}/*
127 %post libs -p /sbin/ldconfig
129 %postun libs -p /sbin/ldconfig
132 #ln -s /usr/share/doc/%{name}-doc-%{version}/examples %{appdir}/
133 #mkdir -p %{appdir}/share
134 #ln -s /usr/share/doc/%{name}-doc-%{version}/help %{appdir}/share/help
136 #%postun -n gambas-doc
137 #rm -f %{appdir}/examples
138 #rm -f %{appdir}/share/help
139 #rmdir %{appdir}/share
142 #mkdir -p %appdir/bin/
143 #mv -f /usr/bin/gbx %appdir/bin/gbx-real
144 #ln -s %appdir/bin/gbx-real /usr/bin/gbx