]> git.pld-linux.org Git - packages/Atari800.git/blame - Atari800.spec
- Atari800 now contains AltirraOS ROMs, so original ROMs are optional (but suggested...
[packages/Atari800.git] / Atari800.spec
CommitLineData
d657d007 1Summary: Atari 800 Emulator
ad763a77 2Summary(pl.UTF-8): Emulator Atari 800
d657d007 3Name: Atari800
e33b8bdc
JB
4Version: 4.2.0
5Release: 1
f2116da1 6License: GPL v2+
d657d007 7Group: Applications/Emulators
e33b8bdc
JB
8#Source0Download: https://github.com/atari800/atari800/releases
9Source0: https://github.com/atari800/atari800/releases/download/ATARI800_4_2_0/atari800-%{version}-src.tgz
10# Source0-md5: 695031b9bc3461cd18ec9090779d984b
f2116da1 11Source1: %{name}-chooser
56ebf01c 12URL: https://atari800.github.io/
8525291b 13BuildRequires: SDL-devel
f19ff0c8 14BuildRequires: automake
ac602993 15BuildRequires: xorg-lib-libX11-devel
c283af33 16BuildRequires: xorg-lib-libXext-devel
d657d007 17BuildRequires: zlib-devel
5f8fb39a 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d657d007 19
8e539164
TP
20%define specflags -fomit-frame-pointer
21
d657d007 22%description
5af21d09
JB
23This is Atari 800, 800XL, 130XE and 5200 emulator.
24
a1f05138 25%description -l pl.UTF-8
5af21d09 26To jest emulator Atari 800, 800XL, 130XE i 5200.
d657d007
JB
27
28%package common
e54121ec
JB
29Summary: Atari 800 Emulator - common files for SDL and X11 versions
30Summary(pl.UTF-8): Emulator Atari 800 - pliki wspólne dla wersji SDL oraz X11
d657d007 31Group: Applications/Emulators
f2116da1
JB
32Suggests: Atari800-rom
33Obsoletes: Atari800 < 1.0.7
d657d007
JB
34
35%description common
36This is Atari 800, 800XL, 130XE and 5200 emulator.
37
e54121ec 38This package contains common files for both SDL and X11 versions
d657d007 39of Atari800.
d657d007 40
a1f05138 41%description common -l pl.UTF-8
d657d007
JB
42To jest emulator Atari 800, 800XL, 130XE i 5200.
43
e54121ec 44Ten pakiet zawiera pliki wspólne dla wersji działających pod SDL
d657d007 45oraz X11.
d657d007 46
d657d007
JB
47%package x11
48Summary: Atari 800 Emulator - X Window version
e54121ec 49Summary(pl.UTF-8): Emulator Atari 800 - wersja dla systemu X Window
506ed555 50License: GPL
d657d007 51Group: Applications/Emulators
c283af33 52Requires: %{name}-common = %{version}-%{release}
d657d007
JB
53
54%description x11
55This is Atari 800, 800XL, 130XE and 5200 emulator.
56
57This package contains Atari800 executable file configured for X11 with
ac602993 58OSS sound and joystick support.
d657d007 59
a1f05138 60%description x11 -l pl.UTF-8
d657d007
JB
61To jest emulator Atari 800, 800XL, 130XE i 5200.
62
63Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla X11 z
ac602993 64obsługą dźwięku OSS i joysticka.
d657d007 65
9a1322ff 66%package SDL
67Summary: Atari 800 Emulator - SDL version
e54121ec 68Summary(pl.UTF-8): Emulator Atari 800 - wersja SDL
506ed555 69License: GPL
9a1322ff 70Group: Applications/Emulators
c283af33 71Requires: %{name}-common = %{version}-%{release}
f2116da1 72Obsoletes: Atari800-svga < 2.1.0
9a1322ff 73
74%description SDL
75This is Atari 800, 800XL, 130XE and 5200 emulator.
76
77This package contains Atari800 executable file configured for SDL with
78sound and joystick support.
79
a1f05138 80%description SDL -l pl.UTF-8
9a1322ff 81To jest emulator Atari 800, 800XL, 130XE i 5200.
82
83Ten pakiet zawiera wykonywalny plik emulatora skonfigurowany dla SDL z
a1f05138 84obsługą dźwięku i joysticka.
9a1322ff 85
d657d007 86%prep
4155e5a1 87%setup -q -n atari800-%{version}
d657d007
JB
88
89%build
6724d276 90cp -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
119rm -rf $RPM_BUILD_ROOT
0a51bfa3 120install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/atari800,%{_mandir}/man1}
d657d007 121
e33b8bdc
JB
122install atari800-x11 $RPM_BUILD_ROOT%{_bindir}
123install atari800-SDL $RPM_BUILD_ROOT%{_bindir}
f2116da1 124cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/atari800
e33b8bdc 125cp -p src/atari800.man $RPM_BUILD_ROOT%{_mandir}/man1/atari800.1
d657d007 126
d657d007
JB
127%clean
128rm -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
This page took 0.081605 seconds and 4 git commands to generate.