SPECS (DEVEL): dunelegacy.spec - up to 0.95b2 version - back to auto*, conf...

lisu lisu at pld-linux.org
Wed Feb 18 09:30:11 CET 2009


Author: lisu                         Date: Wed Feb 18 08:30:11 2009 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- up to 0.95b2 version
- back to auto*, configure, make and make install build system
- add BR: SDL_gfx-devel, remove BR: SDL-devel
- -Werror.patch is usless without SConstruct file, replace it by -headers.patch witch includes missing libraries in some .cpp files
- package LEGACY.PAK file
- adapter

---- Files affected:
SPECS:
   dunelegacy.spec (1.8 -> 1.8.2.1) 

---- Diffs:

================================================================
Index: SPECS/dunelegacy.spec
diff -u SPECS/dunelegacy.spec:1.8 SPECS/dunelegacy.spec:1.8.2.1
--- SPECS/dunelegacy.spec:1.8	Sun Apr  8 17:35:51 2007
+++ SPECS/dunelegacy.spec	Wed Feb 18 09:30:05 2009
@@ -1,24 +1,25 @@
 # $Revision$, $Date$
+%define	_beta	b2
 Summary:	Updated clone of Westood Studios' Dune2
 Summary(pl.UTF-8):	Zaktualizowany klon gry Dune2
 Name:		dunelegacy
-Version:	0.94.1
-Release:	1
-License:	GPL
+Version:	0.95
+Release:	0.%{_beta}.1
+License:	GPL v2+
 Group:		X11/Applications/Games/Strategy
-Source0:	http://dl.sourceforge.net/dunelegacy/%{name}-%{version}.tar.gz
-# Source0-md5:	4cf34d739979f53bdf1cdc32b17ebb78
-Patch0:		%{name}-Werror.patch
+Source0:	http://www.myway.de/richieland/%{name}-%{version}%{_beta}-src.tar.bz2
+# Source0-md5:	a4f60777bde4bd1636dd37f4d733245a
+Patch0:		%{name}-headers.patch
 URL:		http://dunelegacy.sourceforge.net/
-BuildRequires:	SDL-devel
+BuildRequires:	SDL_gfx-devel
 BuildRequires:	SDL_image-devel
 BuildRequires:	SDL_mixer-devel
 BuildRequires:	SDL_net-devel
 BuildRequires:	SDL_ttf-devel
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	libstdc++-devel
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.337
-BuildRequires:	scons
 BuildRequires:	zziplib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,38 +40,45 @@
 
 %description -l pl.UTF-8
 Poprowadź jedną z trzech międzyplanetarnych rodzin, Atrydów,
-Harkonnenów lub Ordosów, w wyścigu w zebraniu jak największej ilości
-przyprawy z pustynnych wydm. Wymień zapasy przyprawy na kredyty w
-procesie udoskonalania i stwórz armię zdolną powstrzymać próby innych
-rodzin w zmuszeniu Cię do zaprzestania zbierania przyprawy!
-
-Dune Legacy jest podjętą przez grupę utalentowanych programistów próbą
-ożywienia pierwszej strategii czasu rzeczywistego. Gra była wzorem dla
-odnoszącej olbrzymie sukcesy serii Command and Conquer, a styl gry
-został powielony w dużej ilości innych gier.
+Harkonnenów lub Ordosów, w wyścigu w zebraniu jak największej
+ilości przyprawy z pustynnych wydm. Wymień zapasy przyprawy na
+kredyty w procesie udoskonalania i stwórz armię zdolną powstrzymać
+próby innych rodzin w zmuszeniu cię do zaprzestania zbierania
+przyprawy!
+
+Dune Legacy jest podjętą przez grupę utalentowanych programistów
+próbą ożywienia pierwszej strategii czasu rzeczywistego. Gra była
+wzorem dla odnoszącej olbrzymie sukcesy serii Command and Conquer, a
+styl gry został powielony w dużej ilości innych gier.
 
 UWAGA: Potrzebne są pliki wchodzące w skład Dune 2.
 
 %prep
-%setup -q
-%patch0 -p0
+%setup -q -n %{name}-%{version}%{_beta}
+%patch0 -p1
 
 %build
-%scons
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
 
-install %{name} $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
+%doc README ToDo.txt
 %attr(755,root,root) %{_bindir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -78,6 +86,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8.2.1  2009/02/18 08:30:05  lisu
+- up to 0.95b2 version
+- back to auto*, configure, make and make install build system
+- add BR: SDL_gfx-devel, remove BR: SDL-devel
+- -Werror.patch is usless without SConstruct file, replace it by -headers.patch witch includes missing libraries in some .cpp files
+- package LEGACY.PAK file
+- adapter
+
 Revision 1.8  2007/04/08 15:35:51  shadzik
 - BuildRequires: rpmbuild(macros) >= 1.337 for %scons macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dunelegacy.spec?r1=1.8&r2=1.8.2.1&f=u



More information about the pld-cvs-commit mailing list