]> git.pld-linux.org Git - packages/dosbox.git/commitdiff
- rel 2
authorwolf <wolf@pld-linux.org>
Thu, 30 Sep 2004 13:24:14 +0000 (13:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add hq2x patch
- use moe's recommended optimizations

Changed files:
    dosbox.spec -> 1.16

dosbox.spec

index a40660dc35133cfd154ae695450c0be326eacf93..41c5f80c44a4b8d11025c10ebeb781e6ed2cb446 100644 (file)
@@ -6,7 +6,7 @@ Summary:        x86/DOS emulator with sound/graphics primarily for games
 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
@@ -14,6 +14,7 @@ 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
@@ -24,6 +25,8 @@ BuildRequires:        libpng-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
@@ -43,6 +46,7 @@ komputerach.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # kill AM_PATH_SDL and AM_PATH_ALSA, leave only AH_{TOP,BOTTOM}
@@ -63,23 +67,22 @@ echo 'AC_DEFUN([AM_PATH_ALSA], [$3])' >> acinclude.m4
 
 %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}/*
This page took 0.087556 seconds and 4 git commands to generate.