]>
Commit | Line | Data |
---|---|---|
d657d007 | 1 | Summary: Atari 800 Emulator |
ad763a77 | 2 | Summary(pl.UTF-8): Emulator Atari 800 |
d657d007 | 3 | Name: Atari800 |
e33b8bdc JB |
4 | Version: 4.2.0 |
5 | Release: 1 | |
f2116da1 | 6 | License: GPL v2+ |
d657d007 | 7 | Group: Applications/Emulators |
e33b8bdc JB |
8 | #Source0Download: https://github.com/atari800/atari800/releases |
9 | Source0: https://github.com/atari800/atari800/releases/download/ATARI800_4_2_0/atari800-%{version}-src.tgz | |
10 | # Source0-md5: 695031b9bc3461cd18ec9090779d984b | |
f2116da1 | 11 | Source1: %{name}-chooser |
56ebf01c | 12 | URL: https://atari800.github.io/ |
8525291b | 13 | BuildRequires: SDL-devel |
f19ff0c8 | 14 | BuildRequires: automake |
ac602993 | 15 | BuildRequires: xorg-lib-libX11-devel |
c283af33 | 16 | BuildRequires: xorg-lib-libXext-devel |
d657d007 | 17 | BuildRequires: zlib-devel |
5f8fb39a | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d657d007 | 19 | |
8e539164 TP |
20 | %define specflags -fomit-frame-pointer |
21 | ||
d657d007 | 22 | %description |
5af21d09 JB |
23 | This is Atari 800, 800XL, 130XE and 5200 emulator. |
24 | ||
a1f05138 | 25 | %description -l pl.UTF-8 |
5af21d09 | 26 | To jest emulator Atari 800, 800XL, 130XE i 5200. |
d657d007 JB |
27 | |
28 | %package common | |
e54121ec JB |
29 | Summary: Atari 800 Emulator - common files for SDL and X11 versions |
30 | Summary(pl.UTF-8): Emulator Atari 800 - pliki wspólne dla wersji SDL oraz X11 | |
d657d007 | 31 | Group: Applications/Emulators |
f2116da1 JB |
32 | Suggests: Atari800-rom |
33 | Obsoletes: Atari800 < 1.0.7 | |
d657d007 JB |
34 | |
35 | %description common | |
36 | This is Atari 800, 800XL, 130XE and 5200 emulator. | |
37 | ||
e54121ec | 38 | This package contains common files for both SDL and X11 versions |
d657d007 | 39 | of Atari800. |
d657d007 | 40 | |
a1f05138 | 41 | %description common -l pl.UTF-8 |
d657d007 JB |
42 | To jest emulator Atari 800, 800XL, 130XE i 5200. |
43 | ||
e54121ec | 44 | Ten pakiet zawiera pliki wspólne dla wersji działających pod SDL |
d657d007 | 45 | oraz X11. |
d657d007 | 46 | |
d657d007 JB |
47 | %package x11 |
48 | Summary: Atari 800 Emulator - X Window version | |
e54121ec | 49 | Summary(pl.UTF-8): Emulator Atari 800 - wersja dla systemu X Window |
506ed555 | 50 | License: GPL |
d657d007 | 51 | Group: Applications/Emulators |
c283af33 | 52 | Requires: %{name}-common = %{version}-%{release} |
d657d007 JB |
53 | |
54 | %description x11 | |
55 | This is Atari 800, 800XL, 130XE and 5200 emulator. | |
56 | ||
57 | This package contains Atari800 executable file configured for X11 with | |
ac602993 | 58 | OSS sound and joystick support. |
d657d007 | 59 | |
a1f05138 | 60 | %description x11 -l pl.UTF-8 |
d657d007 JB |
61 | To jest emulator Atari 800, 800XL, 130XE i 5200. |
62 | ||
63 | Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla X11 z | |
ac602993 | 64 | obsługą dźwięku OSS i joysticka. |
d657d007 | 65 | |
9a1322ff | 66 | %package SDL |
67 | Summary: Atari 800 Emulator - SDL version | |
e54121ec | 68 | Summary(pl.UTF-8): Emulator Atari 800 - wersja SDL |
506ed555 | 69 | License: GPL |
9a1322ff | 70 | Group: Applications/Emulators |
c283af33 | 71 | Requires: %{name}-common = %{version}-%{release} |
f2116da1 | 72 | Obsoletes: Atari800-svga < 2.1.0 |
9a1322ff | 73 | |
74 | %description SDL | |
75 | This is Atari 800, 800XL, 130XE and 5200 emulator. | |
76 | ||
77 | This package contains Atari800 executable file configured for SDL with | |
78 | sound and joystick support. | |
79 | ||
a1f05138 | 80 | %description SDL -l pl.UTF-8 |
9a1322ff | 81 | To jest emulator Atari 800, 800XL, 130XE i 5200. |
82 | ||
83 | Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla SDL z | |
a1f05138 | 84 | obsługą dźwięku i joysticka. |
9a1322ff | 85 | |
d657d007 | 86 | %prep |
4155e5a1 | 87 | %setup -q -n atari800-%{version} |
d657d007 JB |
88 | |
89 | %build | |
6724d276 | 90 | cp -f /usr/share/automake/config.sub . |
91 | ||
3b3b5f88 | 92 | %configure \ |
e33b8bdc | 93 | --target=default \ |
64f9b058 | 94 | --enable-crashmenu \ |
e33b8bdc | 95 | --disable-silent-rules \ |
ac602993 JB |
96 | --disable-stereosound \ |
97 | --with-sound=sdl \ | |
98 | --with-video=sdl | |
c4608639 | 99 | |
8525291b JB |
100 | %{__make} |
101 | ||
e33b8bdc | 102 | %{__mv} src/atari800 atari800-SDL |
d657d007 | 103 | |
31f4e061 JB |
104 | %{__make} clean |
105 | ||
3b3b5f88 | 106 | %configure \ |
ac602993 | 107 | --target=x11-shm \ |
64f9b058 | 108 | --enable-crashmenu \ |
e33b8bdc | 109 | --disable-silent-rules \ |
ac602993 JB |
110 | --disable-stereosound \ |
111 | --with-sound=oss \ | |
e33b8bdc | 112 | --with-video=yes |
9a1322ff | 113 | |
8525291b | 114 | %{__make} |
506ed555 | 115 | |
e33b8bdc | 116 | %{__mv} src/atari800 atari800-x11 |
d657d007 JB |
117 | |
118 | %install | |
119 | rm -rf $RPM_BUILD_ROOT | |
0a51bfa3 | 120 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/atari800,%{_mandir}/man1} |
d657d007 | 121 | |
e33b8bdc JB |
122 | install atari800-x11 $RPM_BUILD_ROOT%{_bindir} |
123 | install atari800-SDL $RPM_BUILD_ROOT%{_bindir} | |
f2116da1 | 124 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/atari800 |
e33b8bdc | 125 | cp -p src/atari800.man $RPM_BUILD_ROOT%{_mandir}/man1/atari800.1 |
d657d007 | 126 | |
d657d007 JB |
127 | %clean |
128 | rm -rf $RPM_BUILD_ROOT | |
129 | ||
d657d007 JB |
130 | %files common |
131 | %defattr(644,root,root,755) | |
e33b8bdc | 132 | %doc DOC/{BUGS,CREDITS,ChangeLog,FAQ,NEWS,README,TODO,USAGE,*.txt} README.TXT |
f9059396 | 133 | %attr(755,root,root) %{_bindir}/atari800 |
f2116da1 | 134 | %dir %{_datadir}/atari800 |
d657d007 | 135 | %{_mandir}/man1/atari800.1* |
d657d007 | 136 | |
d657d007 JB |
137 | %files x11 |
138 | %defattr(644,root,root,755) | |
8525291b | 139 | %attr(755,root,root) %{_bindir}/atari800-x11 |
9a1322ff | 140 | |
141 | %files SDL | |
142 | %defattr(644,root,root,755) | |
8525291b | 143 | %attr(755,root,root) %{_bindir}/atari800-SDL |