Summary: One of the most powerful GameBoy Advance Emulators
Summary(pl): Jeden z najlepszych emulatorów GameBoya Advance
Name: VisualBoyAdvance
-Version: 1.6
+Version: 1.7.1
Release: 1
-License: GPL v. 2
-Group: Applications/Emulators
-Source0: http://www.kernel.pl/~djurban/%{name}-%{version}-src.tar.bz2
-# Source0-md5: f02ea099d3c0f3038ba0b113a22856c6
-URL: http://vboy.emuhq.com/
-BuildRequires: qt-devel
+License: GPL v2
+Group: Applications/Emulators
+Source0: http://dl.sourceforge.net/vba/%{name}-src-%{version}.tar.gz
+# Source0-md5: 4147eeac55ecf713397f19eae636eef3
+URL: http://vba.ngemu.com/
BuildRequires: SDL-devel
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: libpng-devel
BuildRequires: nasm
-BuildRequires: pth
+BuildRequires: pth-devel
+BuildRequires: qt-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Jeden z najlepszych emulatorów GameBoya Advance.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%build
%{__aclocal}
%{__autoconf}
%{__automake}
-%ifarch %{athlon}
-%configure --with-mmx
-%else
-%configure
+%configure \
+%ifarch athlon
+ --with-mmx
%endif
+
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT