File castaway.spec of Package castaway

# Copyright (c) 2008 SuSE Linux Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

# norootforbuild

Name:         castaway
License:      GPL
Group:        unsorted
Autoreqprov:  on
Version:      0.9.2
Release:      0
Summary:      Atari ST Emulator
Source:       %name%version.tar.gz
Patch:        %name%version.dif
BuildRequires: SDL-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires: emutos
URL: http://castaway.sourceforge.net/

%description
Atari ST emulator.

%prep
%setup -n %name%version
%patch

%build
# build section
make %{?jobs:-j%jobs} OPTS="$RPM_OPT_FLAGS -Wno-sequence-point" all tools

%install
# install section
#make install DESTDIR=$RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
install -m 755 castaway mkdisk rdsingle $RPM_BUILD_ROOT/usr/bin/

%files
%defattr(-,root,root)
%doc doc/*
/usr/bin/*

%changelog
* Wed Dec 17 2008 - uli@suse.de
- disable bogus sequence-point warning
  (bitches about "a=a=f(b)"-type statements)
- clean up spec file
openSUSE Build Service is sponsored by