Name: nqc Version: 3.1.r4 Release: 2%{?dist} Summary: Not Quite C compiler Group: Development/Languages License: MPL URL: http://bricxcc.sourceforge.net/nqc/ Source0: http://bricxcc.sourceforge.net/nqc/release/nqc-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExcludeArch: x86_64 %description Not Quite C is a simple language with a C-like syntax that can be used to program Lego's RCX programmable brick (from the Mindstorms set). %prep %setup -q # This piece of software seems to come from the Dark Side. Fix permissions and # line endings. find -type f -exec chmod 644 {} \; -exec perl -pi -e 's/\r\n/\n/g' {} \; %build make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install PREFIX=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 rm $RPM_BUILD_ROOT%{_bindir}/mkdata %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc readme.txt scout.txt history.txt LICENSE %{_bindir}/nqc %{_mandir}/man1/nqc.1.gz %changelog * Fri Mar 17 2006 Simon Perreault - 3.1.r4-2 - Exclude x86_64: doesn't build and fix isn't trivial. * Sat Mar 11 2006 Simon Perreault - 3.1.r4-1 - Initial release.