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