Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37896196
en ru br
ALT Linux repos
S:2.0.0.11-alt2
5.0: 0.9.5-alt0.M50.1
4.1: 0.9.6-alt5.M41.1
4.0: 0.9.6-alt5.M40.1

Group :: Graphics
RPM: basic256

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: basic256
Version: 0.9.5
Release: alt0.M50.1
URL: http://kidbasic.sourceforge.net
Source: http://ovh.dl.sourceforge.net/sourceforge/kidbasic/%name-%version.tar.gz
Source1: basic256.desktop
Source2: basic256_32.png
Patch0: basic256-0.9.2-alt-fix-translations-place.patch
Patch1: basic256-0.9.5-alt-enable-multibyte.patch

License: GPL
Group: Graphics
Packager: Sergey Irupin <lamp at altlinux.ru>

BuildRequires: libqt4-devel libsox-devel gcc-c++ flex bison

Summary: Simple BASIC IDE that allows young children to learn to program

%description
BASIC-256 is a simple BASIC IDE that allows young children to learn to program.
It was written in response to David Brin's article, "Why Johnny Can't Code,"
in which he bemoans the lack of a simple, line-oriented programming language
for children that runs on modern computers. It features a byte-code compiler
and interpreter, a debugger, easy to use graphical and text output, and an editor.

%prep
%setup
cd trunk
%patch0 -p1
%patch1 -p1

%build
cd trunk
%add_optflags -D_REENTRANT
%_libdir/qt4/bin/qmake
%make_build CFLAGS="%optflags" CXXFLAGS="%optflags"
%_libdir/qt4/bin/lrelease Translations/*.ts

%install
mkdir -p %buildroot%_datadir/%name/Examples
cd trunk
install -D BASIC256 %buildroot%_bindir/BASIC256
install Translations/*.qm %buildroot%_datadir/%name/
install -D %SOURCE1 %buildroot%_desktopdir/%name.desktop
install -D %SOURCE2 %buildroot%_niconsdir/%name.png
install Examples/*.kbs %buildroot%_datadir/%name/Examples

%files
%doc trunk/CONTRIBUTORS trunk/license.txt trunk/ChangeLog
%_bindir/*
%_datadir/%name
%_desktopdir/%name.desktop
%_niconsdir/%name.png

%post
#%update_menus

%postun
#%clean_menus

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin