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_5_0_0/atari800-%{version}-src.tgz
10 # Source0-md5: f5dc10d461d0241a5978a0998028e49a
11 Source1: %{name}-chooser
12 Patch0: %{name}-romdir.patch
13 Patch1: %{name}-nodisk.patch
14 URL: https://atari800.github.io/
15 BuildRequires: SDL-devel >= 1.2
16 BuildRequires: automake
17 BuildRequires: libpng-devel
18 BuildRequires: readline-devel
19 BuildRequires: xorg-lib-libX11-devel
20 BuildRequires: xorg-lib-libXext-devel
21 BuildRequires: zlib-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define specflags -fomit-frame-pointer
27 This is Atari 800, 800XL, 130XE and 5200 emulator.
29 %description -l pl.UTF-8
30 To jest emulator Atari 800, 800XL, 130XE i 5200.
33 Summary: Atari 800 Emulator - common files for SDL and X11 versions
34 Summary(pl.UTF-8): Emulator Atari 800 - pliki wspólne dla wersji SDL oraz X11
35 Group: Applications/Emulators
36 Suggests: Atari800-rom
37 Obsoletes: Atari800 < 1.0.7
40 This is Atari 800, 800XL, 130XE and 5200 emulator.
42 This package contains common files for both SDL and X11 versions
45 %description common -l pl.UTF-8
46 To jest emulator Atari 800, 800XL, 130XE i 5200.
48 Ten pakiet zawiera pliki wspólne dla wersji działających pod SDL
52 Summary: Atari 800 Emulator - X Window version
53 Summary(pl.UTF-8): Emulator Atari 800 - wersja dla systemu X Window
54 Group: Applications/Emulators
55 Requires: %{name}-common = %{version}-%{release}
58 This is Atari 800, 800XL, 130XE and 5200 emulator.
60 This package contains Atari800 executable file configured for X11 with
61 OSS sound and joystick support.
63 %description x11 -l pl.UTF-8
64 To jest emulator Atari 800, 800XL, 130XE i 5200.
66 Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla X11 z
67 obsługą dźwięku OSS i joysticka.
70 Summary: Atari 800 Emulator - SDL version
71 Summary(pl.UTF-8): Emulator Atari 800 - wersja SDL
72 Group: Applications/Emulators
73 Requires: %{name}-common = %{version}-%{release}
74 Obsoletes: Atari800-svga < 2.1.0
77 This is Atari 800, 800XL, 130XE and 5200 emulator.
79 This package contains Atari800 executable file configured for SDL with
80 sound and joystick support.
82 %description SDL -l pl.UTF-8
83 To jest emulator Atari 800, 800XL, 130XE i 5200.
85 Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla SDL z
86 obsługą dźwięku i joysticka.
89 %setup -q -n atari800-%{version}
94 cp -f /usr/share/automake/config.sub .
99 --disable-silent-rules \
100 --disable-stereosound \
106 %{__mv} src/atari800 atari800-SDL
113 --disable-silent-rules \
114 --disable-stereosound \
120 %{__mv} src/atari800 atari800-x11
123 rm -rf $RPM_BUILD_ROOT
124 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/atari800,%{_mandir}/man1}
126 install atari800-x11 $RPM_BUILD_ROOT%{_bindir}
127 install atari800-SDL $RPM_BUILD_ROOT%{_bindir}
128 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/atari800
129 cp -p src/atari800.man $RPM_BUILD_ROOT%{_mandir}/man1/atari800.1
132 rm -rf $RPM_BUILD_ROOT
135 %defattr(644,root,root,755)
136 %doc DOC/{BUGS,CREDITS,ChangeLog,FAQ,NEWS,README,TODO,USAGE,*.txt} README.TXT
137 %attr(755,root,root) %{_bindir}/atari800
138 %dir %{_datadir}/atari800
139 %{_mandir}/man1/atari800.1*
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_bindir}/atari800-x11
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_bindir}/atari800-SDL