]> git.pld-linux.org Git - packages/dunelegacy.git/commitdiff
- up to 0.96 (merge with DEVEL)
authorlisu <lisu@pld-linux.org>
Fri, 2 Apr 2010 14:59:49 +0000 (14:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- -headers.patch applied upstream
- icon and desktop added (patch)
- adapter

Changed files:
    dunelegacy.spec -> 1.9

dunelegacy.spec

index 911727d36a9d677693f902c233bdeafcc638a10d..acecdf78ec215f57ceca50dcfcadb04578de8e57 100644 (file)
@@ -1,23 +1,22 @@
 Summary:       Updated clone of Westood Studios' Dune2
 Summary(pl.UTF-8):     Zaktualizowany klon gry Dune2
 Name:          dunelegacy
-Version:       0.94.1
+Version:       0.96
 Release:       1
-License:       GPL
+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}-src.tar.bz2
+# Source0-md5: fccb7d917118439fc4a401b81f2e052f
 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)
 
@@ -41,7 +40,7 @@ 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!
+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
@@ -52,21 +51,31 @@ UWAGA: Potrzebne są pliki wchodzące w skład Dune 2.
 
 %prep
 %setup -q
-%patch0 -p0
 
 %build
-%scons
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
-install %{name} $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+install dunelegacy.desktop $RPM_BUILD_ROOT%{_desktopdir}
+install dunelegacy.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %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}
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
This page took 0.194771 seconds and 4 git commands to generate.