Summary(pl): Emulator x86/DOS z d¼wiêkiem/grafik± g³ównie dla gier
Name: dosbox
Version: 0.62
-Release: 1
+Release: 2
License: GPL
Group: Applications/Emulators
Source0: http://ovh.dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.png
Source3: %{name}.conf
+Patch0: %{name}-hq2x.patch
URL: http://dosbox.sourceforge.net/
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: SDL_net-devel
%{?debug:BuildRequires: ncurses-devel}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define rpmcflags "%{optflags} %{?!debug:-O3 -fmerge-all-constants -funswitch-loops -ffast-math}"
+
%description
DOSBox emulates a 286/386 realmode CPU, Directory FileSystem/XMS/EMS,
a SoundBlaster card for excellent sound compatibility with older
%prep
%setup -q
+%patch0 -p1
%build
# kill AM_PATH_SDL and AM_PATH_ALSA, leave only AH_{TOP,BOTTOM}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
-install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
+install %{SOURCE3} .
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS NEWS README THANKS
+%doc AUTHORS NEWS README THANKS dosbox.conf
%attr(755,root,root) %{_bindir}/*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosbox.conf
%{_mandir}/man1/*
%{_desktopdir}/*
%{_pixmapsdir}/*