]> git.pld-linux.org Git - packages/stella.git/blame - stella.spec
- up to 3.1
[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
300c76b7 4Version: 3.1
0b462582 5Release: 1
d1b86d5e 6License: GPL v2+
0b462582 7Group: Applications/Emulators
300c76b7 8Source0: http://downloads.sourceforge.net/stella/%{name}-%{version}-src.tar.gz
9# Source0-md5: 82d5a4c761ff81757036af015a1e7f41
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
300c76b7 30lat 1980-tych. Ten emulator potrafi uruchomić większość obrazów Atari
31ROM, więc można grać w swoje ulubione stare gry z Atari 2600 na PC.
c0f73ab2 32
0b462582
AM
33%prep
34%setup -q
d1b86d5e 35%patch0 -p1
8e385ae5 36%patch1 -p1
0b462582
AM
37
38%build
d1b86d5e 39./configure \
40 --prefix=%{_prefix}
41%{__make} \
619b58dd 42 CXX="%{__cxx}" \
43 LD="%{__cxx}" \
44 CXXFLAGS="%{rpmcxxflags}" \
45 LDFLAGS="%{rpmldflags}"
0b462582
AM
46
47%install
48rm -rf $RPM_BUILD_ROOT
d1b86d5e 49install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_sysconfdir}}
0b462582 50
e437d5c6 51install src/emucore/stella.pro $RPM_BUILD_ROOT%{_sysconfdir}
d1b86d5e 52install src/common/stella.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
c0f73ab2 56
0b462582
AM
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
d1b86d5e 62%doc Announce.txt Changes.txt Readme.txt Todo.txt docs
0b462582 63%attr(755,root,root) %{_bindir}/stella
e437d5c6 64%config %{_sysconfdir}/stella.pro
d1b86d5e 65%{_desktopdir}/%{name}.desktop
66%{_pixmapsdir}/%{name}.xpm
This page took 0.079041 seconds and 4 git commands to generate.