]>
Commit | Line | Data |
---|---|---|
abf03424 | 1 | %define _snap 050620 |
905b3d78 | 2 | Summary: One of the most powerful GameBoy Advance Emulators |
b53c94e0 | 3 | Summary(pl.UTF-8): Jeden z najlepszych emulatorów GameBoya Advance |
905b3d78 | 4 | Name: VisualBoyAdvance |
abf03424 | 5 | Version: 1.8.0 |
6 | Release: 0.%{_snap}.1 | |
9a374e4c | 7 | License: GPL v2 |
eb3e58c9 | 8 | Group: Applications/Emulators |
abf03424 | 9 | Source0: %{name}-%{version}-%{_snap}.tar.bz2 |
10 | # Source0-md5: caac298c7037603709feccd73285d582 | |
ee41ba2b | 11 | URL: http://vba.ngemu.com/ |
905b3d78 | 12 | BuildRequires: SDL-devel |
9a374e4c JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
905b3d78 | 15 | BuildRequires: libpng-devel |
16 | BuildRequires: nasm | |
3859399f | 17 | BuildRequires: pth-devel |
9a374e4c | 18 | BuildRequires: qt-devel |
905b3d78 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | One of the most powerful GameBoy Advance Emulators. | |
23 | ||
b53c94e0 JR |
24 | %description -l pl.UTF-8 |
25 | Jeden z najlepszych emulatorów GameBoya Advance. | |
905b3d78 | 26 | |
27 | %prep | |
abf03424 | 28 | %setup -q -n %{name}-%{version}-%{_snap} |
905b3d78 | 29 | |
30 | %build | |
31 | %{__aclocal} | |
32 | %{__autoconf} | |
33 | %{__automake} | |
9a374e4c JB |
34 | %configure \ |
35 | %ifarch athlon | |
36 | --with-mmx | |
905b3d78 | 37 | %endif |
9a374e4c | 38 | |
905b3d78 | 39 | %{__make} |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
905b3d78 | 43 | |
9a374e4c JB |
44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
905b3d78 | 46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc AUTHORS ChangeLog README NEWS | |
53 | %attr(755,root,root) %{_bindir}/* | |
738b02e3 | 54 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/VisualBoyAdvance.cfg |