]> git.pld-linux.org Git - packages/e-uae.git/commitdiff
- updated to 0.8.28 RC2
authorsparky <sparky@pld-linux.org>
Mon, 5 Sep 2005 17:29:53 +0000 (17:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- prepared 2 versions: SDL and alsa+vidmode
- added desktop files

Changed files:
    e-uae.spec -> 1.5

e-uae.spec

index e5c311ebcd49d2b2efdb295c0db5ed493d18778a..18e127e345d2c70c636ea2d4215edda3771be9aa 100644 (file)
@@ -1,17 +1,22 @@
 Summary:       Unix Amiga Emulator
 Summary(pl):   Uniksowy emulator Amigi
 Name:          e-uae
-Version:       0.8.27
-Release:       1
+Version:       0.8.28
+%define        _rc     RC2
+Release:       0.%{_rc}.1
 License:       GPL
 Group:         Applications/Emulators
-Source0:       http://www.rcdrummond.net/uae/e-uae-%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: a5ccafd3d8e74f733293a1beccbf9487
+Source0:       http://www.rcdrummond.net/uae/e-uae-%{version}-%{_rc}/%{name}-%{version}-%{_rc}.tar.bz2
+# Source0-md5: bff40f7c069c4a0f0ca7a4e5bd65d5b3
+Source1:       uae.desktop
+Source2:       uae.png
 URL:           http://www.rcdrummond.net/uae/
 BuildRequires: SDL-devel >= 1.2.0
 BuildRequires: SDL_gfx-devel
 BuildRequires: SDL_sound-devel
+BuildRequires: alsa-lib-devel
 BuildRequires: automake
+BuildRequires: cdrtools-devel > 2:2.0
 BuildRequires: gtk+2-devel >= 2.0.0
 BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,22 +37,92 @@ platformy inne ni
 ¿e w³a¶nie tak wszyscy j± nazywali. "E" mo¿e oznaczaæ co tylko chcemy.
 Eksperymentalny, ekstremalny, ekscytuj±cy, egalitarny...
 
+%package sdl
+Summary:       Unix Amiga Emulator, SDL version
+Summary(pl):   Uniksowy emulator Amigi, wersja SDL
+Group:         Applications/Emulators
+
+%description sdl
+This is a version of UAE, the Ubiquitous Amiga Emulator, with an
+emulation core based on WinUAE 0.8.27. It attempts to bring many of
+the great features of WinUAE to non-Windows platforms. This version
+now finally has a name, E-UAE, since that's what everybody was calling
+it anyway. The 'E' can stand for anything you fancy. Experimental,
+extreme, exciting, egalitarian, eggplant, ...
+
+This version uses SDL as audio and video output.
+
+%description sdl -l pl
+To jest wersja UAE (Ubiquitous Amiga Emulator - wszêdobylskiego
+emulatora Amigi) z rdzeniem emulatora opartym na WinUAE 0.8.27. Jest
+to próba przeniesienia wielu wspania³ych mo¿liwo¶ci WinUAE na
+platformy inne ni¿ Windows. Ta wersja ma wreszcie nazwê - E-UAE - jako
+¿e w³a¶nie tak wszyscy j± nazywali. "E" mo¿e oznaczaæ co tylko chcemy.
+Eksperymentalny, ekstremalny, ekscytuj±cy, egalitarny...
+
+Ta wersja u¿ywa SDL jako wyj¶cia audio i wideo.
+
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{_rc}
 
 %build
 cp -f /usr/share/automake/config.* .
+CONFOPTS=`cat` << EOF
+       --enable-aga
+       --enable-cdtv
+       --enable-cd32
+       --enable-cycle-exact-cpu
+       --enable-compatible-cpu
+       --enable-threads
+       --enable-autoconfig
+       --enable-scsi-device
+       --enable-bsdsock
+       --enable-bsdsock-new
+       --enable-enforcer
+       --enable-action-replay
+       --enable-ui
+       --enable-audio
+       --enable-fdi
+       --without-caps
+       --with-libscg-includedir=%{_includedir}/schily
+       --with-libscg-libdir=%{_libdir}
+EOF
+
 %configure \
-       --with-sdl \
-       --with-sdl-sound \
+       $CONFOPTS \
+       --disable-dga           \
+       --disable-vidmode       \
+       --without-alsa          \
+       --with-sdl              \
+       --with-sdl-sound        \
        --with-sdl-gfx
 %{__make}
+mv src/uae e-uae-sdl
+%{__make} clean
+
+%configure \
+       $CONFOPTS \
+       --enable-dga            \
+       --enable-vidmode        \
+       --with-alsa             \
+       --with-x                \
+       --without-sdl           \
+       --without-sdl-sound     \
+       --without-sdl-gfx
+%{__make}
+mv src/uae e-uae
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
 
-install src/uae $RPM_BUILD_ROOT%{_bindir}/e-uae
+install e-uae* $RPM_BUILD_ROOT%{_bindir}/
+sed %{SOURCE1} -e 's/uae/e-uae/' -e 's/UAE/E-UAE/' \
+       > $RPM_BUILD_ROOT%{_desktopdir}/e-uae.desktop
+sed %{SOURCE1} -e 's/uae/e-uae-sdl/' -e 's/UAE/E-UAE SDL/' \
+       > $RPM_BUILD_ROOT%{_desktopdir}/e-uae-sdl.desktop
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/e-uae.png
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/e-uae-sdl.png
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,3 +131,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog README docs/*
 %attr(755,root,root) %{_bindir}/%{name}
+%{_desktopdir}/e-uae.desktop
+%{_pixmapsdir}/e-uae.png
+
+%files sdl
+%defattr(644,root,root,755)
+%doc ChangeLog README docs/*
+%attr(755,root,root) %{_bindir}/%{name}-sdl
+%{_desktopdir}/e-uae-sdl.desktop
+%{_pixmapsdir}/e-uae-sdl.png
This page took 0.091263 seconds and 4 git commands to generate.