Name: yabasic Version: 2.763 Release: 1%{?dist} Summary: Small basic interpreter with simple graphics and printing Group: Development/Languages License: GPLv2 or Artistic clarified URL: http://www.yabasic.de Source0: http://www.yabasic.de/download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ncurses-devel BuildRequires: libX11-devel BuildRequires: libXt-devel BuildRequires: bison BuildRequires: flex BuildRequires: automake BuildRequires: autoconf BuildRequires: libtool %description Yabasic implements the most common and simple elements of the basic language. It comes with for-loops and goto with while-loops and procedures. Yabasic does monochrome line graphics, printing comes with no extra effort. %prep %setup -q #Fix rpmlint issues chmod 0644 *.htm *.yab tests/* *.h *.c chmod 0644 ChangeLog sed -i 's/\r$//' ARTISTIC sed -i -e '1d;2i#!/usr/bin/yabasic' tests/*.yab %build libtoolize --copy --force aclocal autoheader autoconf automake -a -c -i %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc ARTISTIC AUTHORS ChangeLog COPYING GPL NEWS README %doc *.yab *.htm tests/*.yab %{_mandir}/man*/%{name}*.* %{_bindir}/%{name} %changelog * Mon Jan 12 2009 Fabian Affolter - 2.763-1 - Initial package for Fedora