]> git.pld-linux.org Git - packages/VisualBoyAdvance.git/blobdiff - VisualBoyAdvance.spec
- adapterized (sorted %verify attrs)
[packages/VisualBoyAdvance.git] / VisualBoyAdvance.spec
index 789ed56026a2aa67d8e00563dba7d75c7168a2b2..a967a76a185b3f4eb257606e27fc8f7aa243ce14 100644 (file)
@@ -1,18 +1,21 @@
+%define                _snap   050620
 Summary:       One of the most powerful GameBoy Advance Emulators
 Summary(pl):   Jeden z najlepszych emulatorów GameBoya Advance
 Name:          VisualBoyAdvance
-Version:       1.6
-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
+Version:       1.8.0
+Release:       0.%{_snap}.1
+License:       GPL v2
+Group:         Applications/Emulators
+Source0:       %{name}-%{version}-%{_snap}.tar.bz2
+# Source0-md5: caac298c7037603709feccd73285d582
+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
@@ -22,25 +25,24 @@ One of the most powerful GameBoy Advance Emulators.
 Jeden z najlepszych emulatorów GameBoya Advance.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{name}-%{version}-%{_snap}
 
 %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
@@ -49,3 +51,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README NEWS
 %attr(755,root,root) %{_bindir}/*
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/VisualBoyAdvance.cfg
This page took 0.11387 seconds and 4 git commands to generate.