]> git.pld-linux.org Git - packages/e-uae.git/blob - e-uae.spec
ba6c62aed3670b3746b3ac0e456d7dcb1c16548d
[packages/e-uae.git] / e-uae.spec
1 Summary:        Unix Amiga Emulator
2 Summary(pl.UTF-8):      Uniksowy emulator Amigi
3 Name:           e-uae
4 Version:        0.8.29
5 %define _wip    WIP3
6 Release:        0.%{_wip}.0.1
7 License:        GPL
8 Group:          Applications/Emulators
9 Source0:        http://www.rcdrummond.net/uae/e-uae-%{version}-%{_wip}/%{name}-%{version}-%{_wip}.tar.bz2
10 # Source0-md5:  cae34d41eaef0336d5182155fd194deb
11 Source1:        uae.desktop
12 Source2:        uae.png
13 URL:            http://www.rcdrummond.net/uae/
14 BuildRequires:  SDL-devel >= 1.2.0
15 BuildRequires:  SDL_gfx-devel
16 BuildRequires:  SDL_sound-devel
17 BuildRequires:  alsa-lib-devel
18 BuildRequires:  automake
19 BuildRequires:  cdrtools-devel > 2:2.0
20 BuildRequires:  gtk+2-devel >= 2.0.0
21 BuildRequires:  pkgconfig
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This is a version of UAE, the Ubiquitous Amiga Emulator, with an
26 emulation core based on WinUAE 0.8.27. It attempts to bring many of
27 the great features of WinUAE to non-Windows platforms. This version
28 now finally has a name, E-UAE, since that's what everybody was calling
29 it anyway. The 'E' can stand for anything you fancy. Experimental,
30 extreme, exciting, egalitarian, eggplant, ...
31
32 %description -l pl.UTF-8
33 To jest wersja UAE (Ubiquitous Amiga Emulator - wszędobylskiego
34 emulatora Amigi) z rdzeniem emulatora opartym na WinUAE 0.8.27. Jest
35 to próba przeniesienia wielu wspaniałych możliwości WinUAE na
36 platformy inne niż Windows. Ta wersja ma wreszcie nazwę - E-UAE - jako
37 że właśnie tak wszyscy ją nazywali. "E" może oznaczać co tylko chcemy.
38 Eksperymentalny, ekstremalny, ekscytujący, egalitarny...
39
40 %package sdl
41 Summary:        Unix Amiga Emulator, SDL version
42 Summary(pl.UTF-8):      Uniksowy emulator Amigi, wersja SDL
43 Group:          Applications/Emulators
44
45 %description sdl
46 This is a version of UAE, the Ubiquitous Amiga Emulator, with an
47 emulation core based on WinUAE 0.8.27. It attempts to bring many of
48 the great features of WinUAE to non-Windows platforms. This version
49 now finally has a name, E-UAE, since that's what everybody was calling
50 it anyway. The 'E' can stand for anything you fancy. Experimental,
51 extreme, exciting, egalitarian, eggplant, ...
52
53 This version uses SDL as audio and video output.
54
55 %description sdl -l pl.UTF-8
56 To jest wersja UAE (Ubiquitous Amiga Emulator - wszędobylskiego
57 emulatora Amigi) z rdzeniem emulatora opartym na WinUAE 0.8.27. Jest
58 to próba przeniesienia wielu wspaniałych możliwości WinUAE na
59 platformy inne niż Windows. Ta wersja ma wreszcie nazwę - E-UAE - jako
60 że właśnie tak wszyscy ją nazywali. "E" może oznaczać co tylko chcemy.
61 Eksperymentalny, ekstremalny, ekscytujący, egalitarny...
62
63 Ta wersja używa SDL jako wyjścia audio i wideo.
64
65 %prep
66 %setup -q -n %{name}-%{version}-%{_wip}
67
68 %build
69 cp -f /usr/share/automake/config.* .
70 CONFOPTS=`cat` << EOF
71         --enable-aga
72         --enable-cdtv
73         --enable-cd32
74         --enable-cycle-exact-cpu
75         --enable-compatible-cpu
76         --enable-threads
77         --enable-autoconfig
78         --enable-scsi-device
79         --enable-bsdsock
80         --enable-bsdsock-new
81         --enable-enforcer
82         --enable-action-replay
83         --enable-ui
84         --enable-audio
85         --enable-fdi
86         --without-caps
87         --with-libscg-includedir=%{_includedir}/schily
88         --with-libscg-libdir=%{_libdir}
89 EOF
90
91 %configure \
92         $CONFOPTS \
93         --disable-dga           \
94         --disable-vidmode       \
95         --without-alsa          \
96         --with-sdl              \
97         --with-sdl-sound        \
98         --with-sdl-gfx
99 %{__make}
100 mv src/uae e-uae-sdl
101 %{__make} clean
102
103 %configure \
104         $CONFOPTS \
105         --enable-dga            \
106         --enable-vidmode        \
107         --with-alsa             \
108         --with-x                \
109         --without-sdl           \
110         --without-sdl-sound     \
111         --without-sdl-gfx
112 %{__make}
113 mv src/uae e-uae
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
118
119 install e-uae* $RPM_BUILD_ROOT%{_bindir}/
120 sed %{SOURCE1} -e 's/uae/e-uae/' -e 's/UAE/E-UAE/' \
121         > $RPM_BUILD_ROOT%{_desktopdir}/e-uae.desktop
122 sed %{SOURCE1} -e 's/uae/e-uae-sdl/' -e 's/UAE/E-UAE SDL/' \
123         > $RPM_BUILD_ROOT%{_desktopdir}/e-uae-sdl.desktop
124 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/e-uae.png
125 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/e-uae-sdl.png
126
127 %clean
128 rm -rf $RPM_BUILD_ROOT
129
130 %files
131 %defattr(644,root,root,755)
132 %doc ChangeLog README docs/*
133 %attr(755,root,root) %{_bindir}/%{name}
134 %{_desktopdir}/e-uae.desktop
135 %{_pixmapsdir}/e-uae.png
136
137 %files sdl
138 %defattr(644,root,root,755)
139 %doc ChangeLog README docs/*
140 %attr(755,root,root) %{_bindir}/%{name}-sdl
141 %{_desktopdir}/e-uae-sdl.desktop
142 %{_pixmapsdir}/e-uae-sdl.png
This page took 0.066005 seconds and 2 git commands to generate.