1 Summary: Atari 800 Emulator
2 Summary(pl.UTF-8): Emulator Atari 800
7 Group: Applications/Emulators
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
11 Source1: %{name}-chooser
12 URL: https://atari800.github.io/
13 BuildRequires: SDL-devel
14 BuildRequires: automake
15 BuildRequires: xorg-lib-libX11-devel
16 BuildRequires: xorg-lib-libXext-devel
17 BuildRequires: zlib-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define specflags -fomit-frame-pointer
23 This is Atari 800, 800XL, 130XE and 5200 emulator.
25 %description -l pl.UTF-8
26 To jest emulator Atari 800, 800XL, 130XE i 5200.
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
31 Group: Applications/Emulators
32 Suggests: Atari800-rom
33 Obsoletes: Atari800 < 1.0.7
36 This is Atari 800, 800XL, 130XE and 5200 emulator.
38 This package contains common files for both SDL and X11 versions
41 %description common -l pl.UTF-8
42 To jest emulator Atari 800, 800XL, 130XE i 5200.
44 Ten pakiet zawiera pliki wspólne dla wersji działających pod SDL
48 Summary: Atari 800 Emulator - X Window version
49 Summary(pl.UTF-8): Emulator Atari 800 - wersja dla systemu X Window
51 Group: Applications/Emulators
52 Requires: %{name}-common = %{version}-%{release}
55 This is Atari 800, 800XL, 130XE and 5200 emulator.
57 This package contains Atari800 executable file configured for X11 with
58 OSS sound and joystick support.
60 %description x11 -l pl.UTF-8
61 To jest emulator Atari 800, 800XL, 130XE i 5200.
63 Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla X11 z
64 obsługą dźwięku OSS i joysticka.
67 Summary: Atari 800 Emulator - SDL version
68 Summary(pl.UTF-8): Emulator Atari 800 - wersja SDL
70 Group: Applications/Emulators
71 Requires: %{name}-common = %{version}-%{release}
72 Obsoletes: Atari800-svga < 2.1.0
75 This is Atari 800, 800XL, 130XE and 5200 emulator.
77 This package contains Atari800 executable file configured for SDL with
78 sound and joystick support.
80 %description SDL -l pl.UTF-8
81 To jest emulator Atari 800, 800XL, 130XE i 5200.
83 Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla SDL z
84 obsługą dźwięku i joysticka.
87 %setup -q -n atari800-%{version}
90 cp -f /usr/share/automake/config.sub .
95 --disable-silent-rules \
96 --disable-stereosound \
102 %{__mv} src/atari800 atari800-SDL
109 --disable-silent-rules \
110 --disable-stereosound \
116 %{__mv} src/atari800 atari800-x11
119 rm -rf $RPM_BUILD_ROOT
120 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/atari800,%{_mandir}/man1}
122 install atari800-x11 $RPM_BUILD_ROOT%{_bindir}
123 install atari800-SDL $RPM_BUILD_ROOT%{_bindir}
124 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/atari800
125 cp -p src/atari800.man $RPM_BUILD_ROOT%{_mandir}/man1/atari800.1
128 rm -rf $RPM_BUILD_ROOT
131 %defattr(644,root,root,755)
132 %doc DOC/{BUGS,CREDITS,ChangeLog,FAQ,NEWS,README,TODO,USAGE,*.txt} README.TXT
133 %attr(755,root,root) %{_bindir}/atari800
134 %dir %{_datadir}/atari800
135 %{_mandir}/man1/atari800.1*
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_bindir}/atari800-x11
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_bindir}/atari800-SDL