-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathatari800.spec
More file actions
119 lines (110 loc) · 3.76 KB
/
atari800.spec
File metadata and controls
119 lines (110 loc) · 3.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
%define name atari800
%define ver 2.0.3
%define rel 1
%define copy GPL
%define ich Petr Stehlik <pstehlik@sophics.cz>
%define group Console/Emulators
%define realname atari800-%{ver}
%define src atari800-%{ver}.tar.gz
%define targets ncurses x11 sdl
## If you change the targets, you'll have to change the files list at the
## bottom of this file as well
%define maintarget sdl
Summary: An emulator of 8-bit Atari personal computers.
Name: %{name}
Version: %{ver}
Release: %{rel}
License: %{copy}
Packager: %{ich}
URL: http://atari800.sourceforge.net/
Group: %{group}
Source: http://prdownloads.sourceforge.net/atari800/%{src}
BuildRoot: /var/tmp/%{name}-root
#Patch: %{name}-%{ver}.patch
%description
Atari800 is an emulator for the 800, 800XL, 130XE and 5200 models of
the Atari personal computer. It can be used on console, FrameBuffer or X11.
It features excellent compatibility, HIFI sound support, artifacting
emulation, precise cycle-exact ANTIC/GTIA emulation and more.
Authors:
David Firth
and Atari800 Development Team (see CREDITS for a full list)
%prep
rm -rf %{realname}
%setup -n %{realname}/src
./autogen.sh || echo "Autogen put out its usual complaint, ignored!"
#%patch -p1
%build
for target in %{targets}
do
./configure --prefix=/usr --target=$target
make
mv atari800 atari800-$target
make clean
done
touch atari800
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
for target in %{targets}
do
install atari800-$target $RPM_BUILD_ROOT/usr/bin
done
(
cd $RPM_BUILD_ROOT/usr/bin
ln -sf atari800-%{maintarget} atari800
)
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin/atari800
/usr/bin/atari800-x11
/usr/bin/atari800-ncurses
/usr/bin/atari800-sdl
/usr/share/man/man1/atari800.1.gz
/usr/share/doc/atari800/COPYING
/usr/share/doc/atari800/README.1ST
/usr/share/doc/atari800/README
/usr/share/doc/atari800/INSTALL
/usr/share/doc/atari800/USAGE
/usr/share/doc/atari800/NEWS
%changelog
* Wen Jul 11 2007 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Changes documented in the NEWS file.
* Sat Apr 08 2006 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Changes documented in the NEWS file.
* Mon Jan 02 2006 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Long list of changes in the NEWS file.
* Fri Dec 30 2005 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Long list of changes in the NEWS file.
* Sat Apr 30 2005 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Changes documented in the NEWS.
* Thu Dec 30 2004 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Changes documented in the NEWS.
* Mon Dec 27 2004 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Changes documented in the NEWS.
* Sun Aug 08 2004 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Changes documented in the NEWS.
* Sat Dec 20 2003 Petr Stehlik <pstehlik@sophics.cz>
Version increased.
* Thu Sep 04 2003 Petr Stehlik <pstehlik@sophics.cz>
Version increased. Configure options removed.
SVGAlib target dropped.
configure uses --prefix and make install uses DESTDIR now.
More documentation installed.
* Mon Feb 10 2003 Petr Stehlik <pstehlik@sophics.cz>
Version increased. STEREO enabled by default. Description updated.
* Mon Dec 2 2002 Petr Stehlik <pstehlik@sophics.cz>
Version increased.
* Wed Aug 7 2002 Petr Stehlik <pstehlik@sophics.cz>
Version increased, packager changed, slight change to description.
* Tue Jul 9 2002 Petr Stehlik <pstehlik@sophics.cz>
Main target is SDL. Manual is installed to /usr/share/man (FHS).
* Mon Jul 8 2002 Petr Stehlik <pstehlik@sophics.cz>
Atari800 now installs to /usr/bin
* Fri Dec 21 2001 Friedrich Delgado Friedrichs <friedel@nomaden.org>
Pathname correction (tarfile now unpacks to Atari800-<version>, instead
of Atari800).
* Sun Dec 2 2001 Friedrich Delgado Friedrichs <friedel@nomaden.org>
First (working) version