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