]> git.pld-linux.org Git - packages/stella.git/blobdiff - stella.spec
- up to 3.3
[packages/stella.git] / stella.spec
index 4658b31d344afcfd842bf01520706245a563c04e..9b3960d5a1b915aaa47193549495bdf290f9d84a 100644 (file)
@@ -1,16 +1,21 @@
 Summary:       An Atari 2600 Video Computer System emulator
+Summary(pl.UTF-8):     Emulator Atari 2600 Video Computer System
 Name:          stella
-Version:       1.3
+Version:       3.3
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Applications/Emulators
-Source0:       http://dl.sourceforge.net/stella/%{name}-%{version}-src.tar.gz
-Patch0:                %{name}-conf.patch
+Source0:       http://downloads.sourceforge.net/stella/%{name}-%{version}-src.tar.gz
+# Source0-md5: 56a55d4467f5948457e3cf32703889b0
+Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-useless_files.patch
 URL:           http://stella.sourceforge.net/
-BuildRequires: libstdc++-devel
+BuildRequires: OpenGL-devel
+BuildRequires: SDL-devel >= 1.2.10
 BuildRequires: alsa-lib-devel >= 0.9.0
 BuildRequires: libpng-devel
-BuildRequires: XFree86-devel
+BuildRequires: libstdc++-devel
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -19,27 +24,43 @@ the most popular home video game system of the early 1980's. This
 emulator will run most Atari ROM images, so that you can play your
 favorite old Atari 2600 games on your PC.
 
+%description -l pl.UTF-8
+Atari 2600 Video Computer System (VCS), który miał premierę w 1977
+roku, był najpopularniejszym systemem domowych gier video wczesnych
+lat '80. Ten emulator potrafi uruchomić większość obrazów Atari ROM,
+więc można grać w swoje ulubione stare gry z Atari 2600 na PC.
+
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
-cd src/build
-%{__make} linux-x \
-       CC=%{__cc} \
-       CXX=%{__cxx}
+./configure \
+       --prefix=%{_prefix}
+%{__make} \
+       CXX="%{__cxx}" \
+       LD="%{__cxx}" \
+       CXXFLAGS="%{rpmcxxflags}" \
+       LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_sysconfdir}}
+
+install src/emucore/stella.pro $RPM_BUILD_ROOT%{_sysconfdir}
+install src/common/stella.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install src/build/stella.x11 $RPM_BUILD_ROOT%{_bindir}/%{name}
-install src/stellarc $RPM_BUILD_ROOT%{_sysconfdir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Announce.txt Changes.txt Todo.txt docs/*.html
+%doc Announce.txt Changes.txt Readme.txt Todo.txt docs
 %attr(755,root,root) %{_bindir}/stella
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/stellarc
+%config %{_sysconfdir}/stella.pro
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.xpm
This page took 0.032497 seconds and 4 git commands to generate.