File voodoo.spec of Package voodoo

Name:		voodoo
Summary:    An implementation of the Voodoo programming language
Version:	1.1.3
Release:	1
License:	GPLv2.1
Group:		Development/Languages
URL:		http://inglorion.net/software/voodoo/
Source0:	http://inglorion.net/download/%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:	noarch
BuildRequires:	ruby nasm
BuildRequires: rubygem-rdoc
%if 0%{fedora} > 18
BuildRequires: rubypick
%endif
Requires:	ruby gcc

%description
The Voodoo programming language is a low-level programming language, abstracting
over the platform's instruction set and calling conventions, but otherwise
leaving the programmer free to do anything at all. The Voodoo compiler is written
in Ruby and generates code for i386-compatible, AMD64, ARM, and MIPS CPUs.

%prep
%setup -q

%build
./configure --prefix /usr
make %{?_smp_mflags}
										
%install
rm -rf %{buildroot}
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root, -)
%{_bindir}/%{name}*
/usr/lib/site_ruby/%{name}*
%{_datadir}/doc/%{name}
%{_datadir}/man/man1/%{name}*

%changelog
* Tue Dec 03 2013 Huaren Zhong <huaren.zhong@gmail.com> - 1.1.3
- Rebuild for Fedora