]> git.pld-linux.org Git - packages/stella.git/blob - stella.spec
4658b31d344afcfd842bf01520706245a563c04e
[packages/stella.git] / stella.spec
1 Summary:        An Atari 2600 Video Computer System emulator
2 Name:           stella
3 Version:        1.3
4 Release:        1
5 License:        GPL
6 Group:          Applications/Emulators
7 Source0:        http://dl.sourceforge.net/stella/%{name}-%{version}-src.tar.gz
8 Patch0:         %{name}-conf.patch
9 URL:            http://stella.sourceforge.net/
10 BuildRequires:  libstdc++-devel
11 BuildRequires:  alsa-lib-devel >= 0.9.0
12 BuildRequires:  libpng-devel
13 BuildRequires:  XFree86-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The Atari 2600 Video Computer System (VCS), introduced in 1977, was
18 the most popular home video game system of the early 1980's. This
19 emulator will run most Atari ROM images, so that you can play your
20 favorite old Atari 2600 games on your PC.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25
26 %build
27 cd src/build
28 %{__make} linux-x \
29         CC=%{__cc} \
30         CXX=%{__cxx}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
35
36 install src/build/stella.x11 $RPM_BUILD_ROOT%{_bindir}/%{name}
37 install src/stellarc $RPM_BUILD_ROOT%{_sysconfdir}
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc Announce.txt Changes.txt Todo.txt docs/*.html
44 %attr(755,root,root) %{_bindir}/stella
45 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/stellarc
This page took 0.118187 seconds and 2 git commands to generate.