Name: bwbasic Summary: A Basic interpreter Version: 2.50 Release: %mkrel 2 License: GPLv2 Group: Development/Other Url: http://sourceforge.net/projects/bwbasic Source0: http://sourceforge.net/projects/bwbasic/files/bwbasic/version%202.50/%{name}-%{version}.zip Source1: %{name}.desktop Source2: %{name}.png BuildRequires: desktop-file-utils BuildRequires: unzip BuildRequires: grep BuildRequires: gcc BuildRequires: autoconf %description The Bywater BASIC Interpreter (bwBASIC) implements a large superset of the ANSI Standard for Minimal BASIC (X3.60-1978) and a significant subset of the ANSI Standard for Full BASIC (X3.113-1987) in C. %prep %setup -q -c -n %{name}-%{version} %build %__autoconf INSTALLSH=`ls -1 /usr/share/|grep automake|sort|head -1` %__cp -a /usr/share/$INSTALLSH/install-sh . %__chmod ug+x ./configure %configure2_5x %make %install %__rm -fr %{buildroot} %__install -D -m 755 bwbasic %{buildroot}/%{_bindir}/%{name} %__install -d %{buildroot}%{_prefix}/lib/%{name} %__install -m 644 bwbtest/* %{buildroot}%{_prefix}/lib/%{name}/ %__install -D -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png %__install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc README* %{name}.doc COPYING %{_bindir}/%{name} %{_prefix}/lib/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Tue Oct 25 2011 matteo <matteo> 2.50-2.mga2 + Revision: 157891 - spec file reviewed; removed deprecated Encoding field from desktop file; added Categories field to desktop file; increased Release for the new build * Sun Sep 11 2011 matteo <matteo> 2.50-1.mga2 + Revision: 142498 - added grep as BR; fixed ls param - imported package bwbasic