]> git.pld-linux.org Git - packages/stella.git/blob - stella.spec
- BRs: SDL-devel and zlib-devel
[packages/stella.git] / stella.spec
1 Summary:        An Atari 2600 Video Computer System emulator
2 Summary(pl.UTF-8):      Emulator Atari 2600 Video Computer System
3 Name:           stella
4 Version:        2.4
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Emulators
8 Source0:        http://dl.sourceforge.net/stella/%{name}-%{version}-src.tar.gz
9 # Source0-md5:  538233e42e9cfddf2bc99433e11bb454
10 Patch0:         %{name}-desktop.patch
11 URL:            http://stella.sourceforge.net/
12 BuildRequires:  SDL-devel >= 1.2.10
13 BuildRequires:  alsa-lib-devel >= 0.9.0
14 BuildRequires:  libpng-devel
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  zlib-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The Atari 2600 Video Computer System (VCS), introduced in 1977, was
21 the most popular home video game system of the early 1980's. This
22 emulator will run most Atari ROM images, so that you can play your
23 favorite old Atari 2600 games on your PC.
24
25 %description -l pl.UTF-8
26 Atari 2600 Video Computer System (VCS), który miał premierę w 1977
27 roku, był najpopularniejszym systemem domowych gier video wczesnych
28 lat 1980-tych. Ten emulator potrafi uruchomić większość obrazów Atari
29 ROM, więc można grać w swoje ulubione stare gry z Atari 2600 na PC.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 ./configure \
37         --prefix=%{_prefix}
38 %{__make} \
39         CC="%{__cc}" \
40         CXX="%{__cxx}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_sysconfdir}}
45
46 install src/emucore/stella.pro $RPM_BUILD_ROOT%{_sysconfdir}
47 install src/common/stella.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Announce.txt Changes.txt Readme.txt Todo.txt docs
58 %attr(755,root,root) %{_bindir}/stella
59 %config %{_sysconfdir}/stella.pro
60 %{_desktopdir}/%{name}.desktop
61 %{_pixmapsdir}/%{name}.xpm
This page took 0.05413 seconds and 4 git commands to generate.