]> git.pld-linux.org Git - packages/stella.git/blame_incremental - stella.spec
- up to 3.1
[packages/stella.git] / stella.spec
... / ...
CommitLineData
1Summary: An Atari 2600 Video Computer System emulator
2Summary(pl.UTF-8): Emulator Atari 2600 Video Computer System
3Name: stella
4Version: 3.1
5Release: 1
6License: GPL v2+
7Group: Applications/Emulators
8Source0: http://downloads.sourceforge.net/stella/%{name}-%{version}-src.tar.gz
9# Source0-md5: 82d5a4c761ff81757036af015a1e7f41
10Patch0: %{name}-desktop.patch
11Patch1: %{name}-useless_files.patch
12URL: http://stella.sourceforge.net/
13BuildRequires: OpenGL-devel
14BuildRequires: SDL-devel >= 1.2.10
15BuildRequires: alsa-lib-devel >= 0.9.0
16BuildRequires: libpng-devel
17BuildRequires: libstdc++-devel
18BuildRequires: zlib-devel
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
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
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.
32
33%prep
34%setup -q
35%patch0 -p1
36%patch1 -p1
37
38%build
39./configure \
40 --prefix=%{_prefix}
41%{__make} \
42 CXX="%{__cxx}" \
43 LD="%{__cxx}" \
44 CXXFLAGS="%{rpmcxxflags}" \
45 LDFLAGS="%{rpmldflags}"
46
47%install
48rm -rf $RPM_BUILD_ROOT
49install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_sysconfdir}}
50
51install src/emucore/stella.pro $RPM_BUILD_ROOT%{_sysconfdir}
52install src/common/stella.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc Announce.txt Changes.txt Readme.txt Todo.txt docs
63%attr(755,root,root) %{_bindir}/stella
64%config %{_sysconfdir}/stella.pro
65%{_desktopdir}/%{name}.desktop
66%{_pixmapsdir}/%{name}.xpm
This page took 0.075103 seconds and 4 git commands to generate.