File arnold.spec of Package arnold

#
# spec file for package spec (Version 2.0)
#
# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name:         arnold
License:      GPL
Group:        unsorted
Autoreqprov:  on
Version:      20090317
Release:      0
Summary:      Amstrad CPC Emulator
Source:       %name-nurgle-2009-03-17.tar.bz2
Patch:        %name-rpmlint.patch
Patch1:       %name-overflow.patch
BuildRequires: SDL-devel gtk2-devel pulseaudio-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
URL: http://arnold.berlios.de/

%description
Amstrad CPC emulator

%prep
%setup -q -n %name
%patch
%patch1

%build
cd src
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make %{?jobs:-j%jobs}

%install
install -D -m 755 arnold $RPM_BUILD_ROOT/usr/bin/arnold

%files
%defattr(-,root,root)
%doc *.txt *.linux README*
/usr/bin/arnold
openSUSE Build Service is sponsored by