]>
Commit | Line | Data |
---|---|---|
b0de4b1b JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with capsimage # use capsimage for .IPF, .RAW and .CTR disk image support | |
4 | ||
ace54af1 | 5 | Summary: Unix Amiga Emulator |
22c20a80 | 6 | Summary(pl.UTF-8): Uniksowy emulator Amigi |
ace54af1 | 7 | Name: e-uae |
91033d21 | 8 | Version: 0.8.29 |
b0de4b1b JB |
9 | %define subver WIP4 |
10 | Release: 0.%{subver}.0.1 | |
11 | License: GPL v2 | |
ace54af1 | 12 | Group: Applications/Emulators |
b0de4b1b JB |
13 | Source0: http://www.rcdrummond.net/uae/e-uae-%{version}-%{subver}/%{name}-%{version}-%{subver}.tar.bz2 |
14 | # Source0-md5: cbfd7e3d7a1b323331afbb92ea7ff4f0 | |
671033bc | 15 | Source1: uae.desktop |
16 | Source2: uae.png | |
b0de4b1b JB |
17 | Patch0: %{name}-format.patch |
18 | Patch1: %{name}-ucontext.patch | |
19 | Patch2: %{name}-system-libscg.patch | |
ace54af1 | 20 | URL: http://www.rcdrummond.net/uae/ |
b0de4b1b | 21 | BuildRequires: OpenGL-GLU-devel |
401ff7db | 22 | BuildRequires: SDL-devel >= 1.2.0 |
671033bc | 23 | BuildRequires: alsa-lib-devel |
b0de4b1b JB |
24 | BuildRequires: autoconf >= 2.55 |
25 | BuildRequires: automake >= 1:1.7 | |
671033bc | 26 | BuildRequires: cdrtools-devel > 2:2.0 |
401ff7db | 27 | BuildRequires: gtk+2-devel >= 2.0.0 |
b0de4b1b | 28 | %{?with_capsimage:BuildRequires: libcapsimage-devel} |
401ff7db | 29 | BuildRequires: pkgconfig |
b0de4b1b JB |
30 | BuildRequires: xorg-lib-libX11-devel |
31 | BuildRequires: xorg-lib-libXext-devel | |
32 | BuildRequires: xorg-lib-libXxf86dga-devel | |
33 | BuildRequires: xorg-lib-libXxf86vm-devel | |
34 | BuildRequires: xorg-lib-libxkbfile-devel | |
35 | BuildRequires: zlib-devel | |
ace54af1 | 36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
39 | This is a version of UAE, the Ubiquitous Amiga Emulator, with an | |
40 | emulation core based on WinUAE 0.8.27. It attempts to bring many of | |
41 | the great features of WinUAE to non-Windows platforms. This version | |
42 | now finally has a name, E-UAE, since that's what everybody was calling | |
43 | it anyway. The 'E' can stand for anything you fancy. Experimental, | |
44 | extreme, exciting, egalitarian, eggplant, ... | |
45 | ||
386e35d1 JR |
46 | %description -l pl.UTF-8 |
47 | To jest wersja UAE (Ubiquitous Amiga Emulator - wszędobylskiego | |
401ff7db | 48 | emulatora Amigi) z rdzeniem emulatora opartym na WinUAE 0.8.27. Jest |
386e35d1 JR |
49 | to próba przeniesienia wielu wspaniałych możliwości WinUAE na |
50 | platformy inne niż Windows. Ta wersja ma wreszcie nazwę - E-UAE - jako | |
51 | że właśnie tak wszyscy ją nazywali. "E" może oznaczać co tylko chcemy. | |
52 | Eksperymentalny, ekstremalny, ekscytujący, egalitarny... | |
227ad5c6 | 53 | |
671033bc | 54 | %package sdl |
55 | Summary: Unix Amiga Emulator, SDL version | |
22c20a80 | 56 | Summary(pl.UTF-8): Uniksowy emulator Amigi, wersja SDL |
671033bc | 57 | Group: Applications/Emulators |
58 | ||
59 | %description sdl | |
60 | This is a version of UAE, the Ubiquitous Amiga Emulator, with an | |
61 | emulation core based on WinUAE 0.8.27. It attempts to bring many of | |
62 | the great features of WinUAE to non-Windows platforms. This version | |
63 | now finally has a name, E-UAE, since that's what everybody was calling | |
64 | it anyway. The 'E' can stand for anything you fancy. Experimental, | |
65 | extreme, exciting, egalitarian, eggplant, ... | |
66 | ||
67 | This version uses SDL as audio and video output. | |
68 | ||
386e35d1 JR |
69 | %description sdl -l pl.UTF-8 |
70 | To jest wersja UAE (Ubiquitous Amiga Emulator - wszędobylskiego | |
671033bc | 71 | emulatora Amigi) z rdzeniem emulatora opartym na WinUAE 0.8.27. Jest |
386e35d1 JR |
72 | to próba przeniesienia wielu wspaniałych możliwości WinUAE na |
73 | platformy inne niż Windows. Ta wersja ma wreszcie nazwę - E-UAE - jako | |
74 | że właśnie tak wszyscy ją nazywali. "E" może oznaczać co tylko chcemy. | |
75 | Eksperymentalny, ekstremalny, ekscytujący, egalitarny... | |
671033bc | 76 | |
b0de4b1b | 77 | Ta wersja używa SDL jako wyjścia dźwięk i obrazu. |
671033bc | 78 | |
ace54af1 | 79 | %prep |
b0de4b1b JB |
80 | %setup -q -n %{name}-%{version}-%{subver} |
81 | %patch0 -p1 | |
82 | %patch1 -p1 | |
83 | %patch2 -p1 | |
ace54af1 | 84 | |
85 | %build | |
b0de4b1b JB |
86 | %{__aclocal} -I m4 |
87 | %{__autoconf} | |
88 | %{__autoheader} | |
89 | %{__automake} | |
671033bc | 90 | CONFOPTS=`cat` << EOF |
b0de4b1b | 91 | --enable-action-replay |
671033bc | 92 | --enable-aga |
b0de4b1b | 93 | --enable-audio |
671033bc | 94 | --enable-autoconfig |
671033bc | 95 | --enable-bsdsock |
96 | --enable-bsdsock-new | |
b0de4b1b JB |
97 | --enable-cd32 |
98 | --enable-cdtv | |
99 | --enable-compatible-cpu | |
100 | --enable-cycle-exact-cpu | |
671033bc | 101 | --enable-enforcer |
671033bc | 102 | --enable-fdi |
b0de4b1b JB |
103 | --enable-scsi-device |
104 | --enable-threads | |
105 | --enable-ui | |
106 | --with-caps%{!?with_capsimage:=no} | |
671033bc | 107 | EOF |
108 | ||
ace54af1 | 109 | %configure \ |
671033bc | 110 | $CONFOPTS \ |
111 | --disable-dga \ | |
112 | --disable-vidmode \ | |
113 | --without-alsa \ | |
114 | --with-sdl \ | |
b0de4b1b JB |
115 | --with-sdl-gfx \ |
116 | --with-sdl-gl \ | |
117 | --with-sdl-sound | |
118 | %{__make} -j1 | |
119 | %{__mv} src/uae e-uae-sdl | |
671033bc | 120 | %{__make} clean |
121 | ||
122 | %configure \ | |
123 | $CONFOPTS \ | |
124 | --enable-dga \ | |
125 | --enable-vidmode \ | |
126 | --with-alsa \ | |
671033bc | 127 | --without-sdl \ |
b0de4b1b | 128 | --without-sdl-gfx \ |
671033bc | 129 | --without-sdl-sound \ |
b0de4b1b JB |
130 | --with-x |
131 | %{__make} -j1 | |
132 | %{__mv} src/uae e-uae | |
ace54af1 | 133 | |
134 | %install | |
135 | rm -rf $RPM_BUILD_ROOT | |
671033bc | 136 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}} |
ace54af1 | 137 | |
b0de4b1b | 138 | install e-uae* $RPM_BUILD_ROOT%{_bindir} |
671033bc | 139 | sed %{SOURCE1} -e 's/uae/e-uae/' -e 's/UAE/E-UAE/' \ |
140 | > $RPM_BUILD_ROOT%{_desktopdir}/e-uae.desktop | |
141 | sed %{SOURCE1} -e 's/uae/e-uae-sdl/' -e 's/UAE/E-UAE SDL/' \ | |
142 | > $RPM_BUILD_ROOT%{_desktopdir}/e-uae-sdl.desktop | |
b0de4b1b JB |
143 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/e-uae.png |
144 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/e-uae-sdl.png | |
ace54af1 | 145 | |
146 | %clean | |
147 | rm -rf $RPM_BUILD_ROOT | |
148 | ||
149 | %files | |
150 | %defattr(644,root,root,755) | |
151 | %doc ChangeLog README docs/* | |
b0de4b1b | 152 | %attr(755,root,root) %{_bindir}/e-uae |
671033bc | 153 | %{_desktopdir}/e-uae.desktop |
154 | %{_pixmapsdir}/e-uae.png | |
155 | ||
156 | %files sdl | |
157 | %defattr(644,root,root,755) | |
158 | %doc ChangeLog README docs/* | |
b0de4b1b | 159 | %attr(755,root,root) %{_bindir}/e-uae-sdl |
671033bc | 160 | %{_desktopdir}/e-uae-sdl.desktop |
161 | %{_pixmapsdir}/e-uae-sdl.png |