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