SPECS: stella.spec - 2.3.5 - stella-conf.patch no needed - desktop...

lisu lisu at pld-linux.org
Sun Jan 21 11:28:42 CET 2007


Author: lisu                         Date: Sun Jan 21 10:28:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 2.3.5
- stella-conf.patch no needed
- desktop, icon and stella-desktop.patch added
- building with ./configure
- installing by %%{__make} install - it's more convenient
- cosmetics

---- Files affected:
SPECS:
   stella.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/stella.spec
diff -u SPECS/stella.spec:1.8 SPECS/stella.spec:1.9
--- SPECS/stella.spec:1.8	Thu Mar  9 15:35:10 2006
+++ SPECS/stella.spec	Sun Jan 21 11:28:37 2007
@@ -2,13 +2,13 @@
 Summary:	An Atari 2600 Video Computer System emulator
 Summary(pl):	Emulator Atari 2600 Video Computer System
 Name:		stella
-Version:	1.4.2
+Version:	2.3.5
 Release:	1
-License:	GPL
+License:	GPL v2+
 Group:		Applications/Emulators
 Source0:	http://dl.sourceforge.net/stella/%{name}-%{version}-src.tar.gz
-# Source0-md5:	c23614f5fd3d963e308dc82916b98734
-Patch0:		%{name}-conf.patch
+# Source0-md5:	b3458475518b53c459a76399da5dcc3f
+Patch0:		%{name}-desktop.patch
 URL:		http://stella.sourceforge.net/
 BuildRequires:	XFree86-devel
 BuildRequires:	alsa-lib-devel >= 0.9.0
@@ -30,29 +30,35 @@
 
 %prep
 %setup -q
-#%%patch0 -p1
+%patch0 -p1
 
 %build
-cd src/build
-%{__make} linux-gl \
+./configure \
+	--prefix=%{_prefix}
+%{__make} \
 	CC="%{__cc}" \
 	CXX="%{__cxx}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_sysconfdir}}
 
-install src/build/stella $RPM_BUILD_ROOT%{_bindir}/%{name}
 install src/emucore/stella.pro $RPM_BUILD_ROOT%{_sysconfdir}
+install src/common/stella.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Announce.txt Changes.txt Todo.txt docs
+%doc Announce.txt Changes.txt Readme.txt Todo.txt docs
 %attr(755,root,root) %{_bindir}/stella
 %config %{_sysconfdir}/stella.pro
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.xpm
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -60,6 +66,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2007/01/21 10:28:37  lisu
+- 2.3.5
+- stella-conf.patch no needed
+- desktop, icon and stella-desktop.patch added
+- building with ./configure
+- installing by %%{__make} install - it's more convenient
+- cosmetics
+
 Revision 1.8  2006/03/09 14:35:10  glen
 - quote %{__cc}
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/stella.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list