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