Summary: Small basic interpreter with printing and graphics Name: Yabasic Version: 2.9.15 Release: 1 License: GNU GPL Group: Development/Languages/BASIC Source0: http://yabasic.basicprogramming.org/files/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-aix.patch URL: http://yabasic.basicprogramming.org/ BuildRequires: bison BuildRequires: flex BuildRoot: %{tmpdir}/%{name}-%{version}-%{release}-root %description Yabasic implements the most common and simple elements of the basic langugage; It comes with for-loops and goto with while-loops and procedures. Yabasic does monochrome line grafics, printing comes with no extra effort. Yabasic runs under Unix and Windows; it is small (less than 200KB) and free. %prep %setup -q %patch0 %build make %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} cp yabasic ${RPM_BUILD_ROOT}%{_bindir}/ chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/* /usr/bin/strip -X32_64 ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc README %{_bindir}/* /usr/bin/* %changelog * Tue Mar 26 2013 Michael Perzl - 2.9.15-1 - first version for AIX V5.1 and higher