Blob Blame History Raw
Name:           bam
Version:        0.0.0.4.3
# bam is not versioned
# the first two numbers are for an uncomplicated update of bam, if it will be versioned
# the last three numbers figure the teeworlds version number
Release:        1%{?dist}
Summary:        A build-system

Group:          Amusements/Games
License:        Teeworlds and MIT
URL:            http://www.teeworlds.com
Source0:        http://www.teeworlds.com/files/%{name}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
A tool that controls process of producing executables of 
software from its source code. Used to build the Teeworlds game.


%prep
%setup -q -n %{name}


%build
sh -x make_unix.sh %{optflags}


%install
rm -rf %{buildroot}

install -D -m 0755 src/%{name} \
        %{buildroot}%{_bindir}/%{name}


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc docs/bam.1.txt
%{_bindir}/%{name}


%changelog
* Sat Nov 01 2008 Simon Wesp <cassmodiah@fedoraproject.org> 0.0.0.4.3-1
- Honor optflags
- Select a 'better' code for version
- install in bindir
- Correct summary & description
- Remove needless documentation

* Sat Nov 01 2008 Simon Wesp <cassmodiah@fedoraproject.org> 0.0.0.for.teeworlds.0.4.3-1
- Initial Release