3 Group: Development/Other
4 Summary: Gambas is a free VB-like language.
7 URL: http://gambas.sf.net/
8 Source0: http://gambas.sourceforge.net/%{name}-%{version}.tar.bz2
9 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 Gambas is a free development environment based on a Basic interpreter
13 with object extensions, like Visual Basic(tm). With Gambas, you can
14 quickly design your program GUI, access MySQL or PostgreSQL databases,
15 pilot KDE applications with DCOP, translate your program into many
16 languages, and so on...
18 This package only provides the command-line utilities. You will need
19 gambas-lib for the required components and gambas-gui for the actual
23 Summary: Documentation for Gambas language.
24 Group: Development/Other
27 %description -n gambas-doc
28 Gambas is a free development environment based on a Basic interpreter
29 with object extensions, like Visual Basic(tm). With Gambas, you can
30 quickly design your program GUI, access MySQL or PostgreSQL databases,
31 pilot KDE applications with DCOP, translate your program into many
32 languages, and so on...
35 Summary: Gambas language components and libraries.
36 Group: Development/Other
41 Gambas is a free development environment based on a Basic interpreter
42 with object extensions, like Visual Basic(tm). With Gambas, you can
43 quickly design your program GUI, access MySQL or PostgreSQL databases,
44 pilot KDE applications with DCOP, translate your program into many
45 languages, and so on...
47 This package only provides the Gambas components. You will need the
48 gambas package for the compiler/interpreter and gambas-gui for the
49 actual VB-like environment.
52 Summary: Header file for Gambas component development.
53 Group: Development/Other
58 Gambas is a free development environment based on a Basic interpreter
59 with object extensions, like Visual Basic(tm). With Gambas, you can
60 quickly design your program GUI, access MySQL or PostgreSQL databases,
61 pilot KDE applications with DCOP, translate your program into many
62 languages, and so on...
64 This package includes the header file necessary for writing your own
65 Gambas components, as well as the source for the Gambas GUI components
66 necessary for building the gambas-gui package.
76 cp -f /usr/share/automake/config.sub .
81 # workaround for broken libtool
82 rm -rf $RPM_BUILD_ROOT
84 export PATH=${RPM_BUILD_ROOT}%{_bindir}:$PWD/src/comp:$PATH
85 #make DESTDIR=${RPM_BUILD_ROOT} install
86 #install -d ${RPM_BUILD_ROOT}%{_bindir}/
87 #install -d ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}-%{version}
88 #install -d ${RPM_BUILD_ROOT}%{_includedir}/
89 #install -d ${RPM_BUILD_ROOT}%{_includedir}/%{name}
90 #install -d ${RPM_BUILD_ROOT}%appdir/
91 #install -d ${RPM_BUILD_ROOT}%appdir/lib/
92 #install -s -m 0755 src/exec/gbx ${RPM_BUILD_ROOT}%{_bindir}/
93 #install -s -m 0755 src/comp/gba ${RPM_BUILD_ROOT}%{_bindir}/
94 #install -s -m 0755 src/comp/gbi ${RPM_BUILD_ROOT}%{_bindir}/
95 #install -s -m 0755 src/comp/gbc ${RPM_BUILD_ROOT}%{_bindir}/
96 #find src -name *.la -exec cp {} ${RPM_BUILD_ROOT}%appdir/lib \;
97 #find src -name *.so* -exec cp -a {} ${RPM_BUILD_ROOT}%appdir/lib \;
98 #cp -a src/share/gambas.h ${RPM_BUILD_ROOT}%{_includedir}/%{name}
99 #cp -av examples ${RPM_BUILD_ROOT}/usr/share/doc/%{name}-%{version}
100 ##cp -av help ${RPM_BUILD_ROOT}/usr/share/doc/%{name}-%{version}
101 #find ${RPM_BUILD_ROOT} -size 0 -exec rm -f {} \;
102 #tar cjvf ${RPM_BUILD_ROOT}%appdir/gambas-gui-%{version}.tar.bz2 app/ `find src/ -name *.component`
105 rm -rf ${RPM_BUILD_ROOT}
108 %defattr(644,root,root,755)
109 %doc AUTHORS COPYING ChangeLog INSTALL README
113 %defattr(644,root,root,755)
114 %doc AUTHORS COPYING ChangeLog INSTALL README
117 #%{_includedir}/%{name}
118 #%appdir/gambas-gui-%{version}.tar.bz2
121 %defattr(644,root,root,755)
122 %doc AUTHORS COPYING ChangeLog INSTALL README
123 %attr(755,root,root) %{_bindir}/*
125 %post libs -p /sbin/ldconfig
127 %postun libs -p /sbin/ldconfig
130 #ln -s /usr/share/doc/%{name}-doc-%{version}/examples %{appdir}/
131 #mkdir -p %{appdir}/share
132 #ln -s /usr/share/doc/%{name}-doc-%{version}/help %{appdir}/share/help
134 #%postun -n gambas-doc
135 #rm -f %{appdir}/examples
136 #rm -f %{appdir}/share/help
137 #rmdir %{appdir}/share
140 #mkdir -p %appdir/bin/
141 #mv -f /usr/bin/gbx %appdir/bin/gbx-real
142 #ln -s %appdir/bin/gbx-real /usr/bin/gbx