SPECS: e-uae.spec - updated to 0.8.28 RC2 - prepared 2 versions: S...

sparky sparky at pld-linux.org
Mon Sep 5 19:29:58 CEST 2005


Author: sparky                       Date: Mon Sep  5 17:29:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.8.28 RC2
- prepared 2 versions: SDL and alsa+vidmode
- added desktop files

---- Files affected:
SPECS:
   e-uae.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/e-uae.spec
diff -u SPECS/e-uae.spec:1.4 SPECS/e-uae.spec:1.5
--- SPECS/e-uae.spec:1.4	Sat May  7 22:12:48 2005
+++ SPECS/e-uae.spec	Mon Sep  5 19:29:53 2005
@@ -2,17 +2,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)
@@ -33,22 +38,92 @@
 ż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
@@ -57,6 +132,15 @@
 %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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +148,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/09/05 17:29:53  sparky
+- updated to 0.8.28 RC2
+- prepared 2 versions: SDL and alsa+vidmode
+- added desktop files
+
 Revision 1.4  2005/05/07 20:12:48  qboosh
 - pl, refresh config.* (for amd64), BR: pkgconfig
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/e-uae.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list