8 Source0: http://dl.sourceforge.net/fftrader/%{name}-src-%{version}.zip
9 # Source0-md5: 062945a80e47d9e0f62a209c22c4f45d
10 #Patch0: %{name}-makefile.patch
13 BuildRequires: SDL-devel
14 BuildRequires: SDL_ttf-devel
15 BuildRequires: SDL_gfx-devel
16 BuildRequires: physfs-devel
17 BuildRequires: SDL_image-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %setup -q -c -T -n %{name}-%{version}
26 unzip -a %{SOURCE0} > /dev/null
31 # if ac/am/* rebuilding is necessary, do it in this order and add
32 # appropriate BuildRequires
42 rm -rf $RPM_BUILD_ROOT
45 # DESTDIR=$RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_bindir}
47 install fft $RPM_BUILD_ROOT%{_bindir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc TODO TODO.txt CHANGELOG CHANGELOG.txt README README.txt
55 %attr(755,root,root) %{_bindir}/*