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