1Summary:	A Dune II clone
2Summary(pl.UTF-8):	Zaktualizowany klon gry Dune2
3Name:		dunelegacy
4Version:	0.96.4
5Release:	0.1
6License:	GPL v2+
7Group:		X11/Applications/Games/Strategy
8Source0:	http://www.myway.de/richieland/%{name}-%{version}-src.tar.bz2
9URL:		http://dunelegacy.sourceforge.net/
10BuildRequires:	SDL2_mixer-devel
11BuildRequires:	SDL2-devel
12BuildRequires:	autoconf
13BuildRequires:	automake
14BuildRequires:	libstdc++-devel
15BuildRequires:	pkgconfig
16BuildRequires:	desktop-file-utils
17BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Lead one of three interplanetary houses, Atreides, Harkonnen or Ordos,
21in an attempt to harvest the largest amount of spice from the sand
22dunes. Exchange your spice stockpiles for credits through refinement
23and build an army capable of thwarting attempts of the other houses to
24stop your harvesting!
25
26Dune Legacy is an effort by a handful of developers to revitalize the
27first-ever real-time strategy game. The original game was the basis
28for the hugely successful Command and Conquer series, and the gameplay
29has been replicated an extended to a wide variety of storylines and
30series.
31
32NOTE: Original Dune 2 game files are needed.
33
34%description -l pl.UTF-8
35Poprowadź jedną z trzech międzyplanetarnych rodzin, Atrydów,
36Harkonnenów lub Ordosów, w wyścigu w zebraniu jak największej
37ilości przyprawy z pustynnych wydm. Wymień zapasy przyprawy na
38kredyty w procesie udoskonalania i stwórz armię zdolną powstrzymać
39próby innych rodzin w zmuszeniu cię do zaprzestania zbierania
40przyprawy!
41
42Dune Legacy jest podjętą przez grupę utalentowanych programistów
43próbą ożywienia pierwszej strategii czasu rzeczywistego. Gra była
44wzorem dla odnoszącej olbrzymie sukcesy serii Command and Conquer, a
45styl gry został powielony w dużej ilości innych gier.
46
47UWAGA: Potrzebne są pliki wchodzące w skład Dune 2.
48
49%prep
50%setup -q -n %{name}-%{version}
51
52%build
53%{__aclocal}
54%{__autoconf}
55%{__automake}
56%configure
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61desktop-file-install --dir ${RPM_BUILD_ROOT}%{_datadir}/applications %{name}.desktop
62install -D -p -m 0644 %{name}-128x128.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
63
64%{__make} install \
65  DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc README ToDo.txt
73%attr(755,root,root) %{_bindir}/%{name}
74%dir %{_datadir}/%{name}
75%{_datadir}/%{name}/*
76%{_datadir}/applications/%{name}.desktop
77%{_datadir}/pixmaps/%{name}.png
78
79%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
80%changelog
81* Fri Jul 22 2011 Richard Schaller
82- This spec-file is based on the http://cvs.pld-linux.org/cgi-bin/cvsweb/packages/dunelegacy/dunelegacy.spec?rev=1.8.2.1
83