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 Patch0: %{name}-romdir.patch
13 URL: https://atari800.github.io/
14 BuildRequires: SDL-devel >= 1.2
15 BuildRequires: automake
16 BuildRequires: libpng-devel
17 BuildRequires: readline-devel
18 BuildRequires: xorg-lib-libX11-devel
19 BuildRequires: xorg-lib-libXext-devel
20 BuildRequires: zlib-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define specflags -fomit-frame-pointer
26 This is Atari 800, 800XL, 130XE and 5200 emulator.
28 %description -l pl.UTF-8
29 To jest emulator Atari 800, 800XL, 130XE i 5200.
32 Summary: Atari 800 Emulator - common files for SDL and X11 versions
33 Summary(pl.UTF-8): Emulator Atari 800 - pliki wspólne dla wersji SDL oraz X11
34 Group: Applications/Emulators
35 Suggests: Atari800-rom
36 Obsoletes: Atari800 < 1.0.7
39 This is Atari 800, 800XL, 130XE and 5200 emulator.
41 This package contains common files for both SDL and X11 versions
44 %description common -l pl.UTF-8
45 To jest emulator Atari 800, 800XL, 130XE i 5200.
47 Ten pakiet zawiera pliki wspólne dla wersji działających pod SDL
51 Summary: Atari 800 Emulator - X Window version
52 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
73 Group: Applications/Emulators
74 Requires: %{name}-common = %{version}-%{release}
75 Obsoletes: Atari800-svga < 2.1.0
78 This is Atari 800, 800XL, 130XE and 5200 emulator.
80 This package contains Atari800 executable file configured for SDL with
81 sound and joystick support.
83 %description SDL -l pl.UTF-8
84 To jest emulator Atari 800, 800XL, 130XE i 5200.
86 Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla SDL z
87 obsługą dźwięku i joysticka.
90 %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