summaryrefslogtreecommitdiff
path: root/dunelegacy.spec
blob: 42b3335ea3a86d5ad01eeb4b8408b0a156760270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Summary:	Updated clone of Westood Studios' Dune2
Summary(pl.UTF-8):	Zaktualizowany klon gry Dune2
Name:		dunelegacy
Version:	0.96.2
Release:	1
License:	GPL v2+
Group:		X11/Applications/Games/Strategy
Source0:	http://www.myway.de/richieland/%{name}-%{version}-src.tar.bz2
# Source0-md5:	5afc9169e52552042b51502ba02e5f7e
URL:		http://dunelegacy.sourceforge.net/
Patch0:		%{name}-desktop.patch
BuildRequires:	SDL_mixer-devel
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	libstdc++-devel
BuildRequires:	pkgconfig
BuildRequires:	zziplib-devel
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Lead one of three interplanetary houses, Atreides, Harkonnen or Ordos,
in an attempt to harvest the largest amount of spice from the sand
dunes. Exchange your spice stockpiles for credits through refinement
and build an army capable of thwarting attempts of the other houses to
stop your harvesting!

Dune Legacy is an effort by a handful of developers to revitalize the
first-ever real-time strategy game. The original game was the basis
for the hugely successful Command and Conquer series, and the gameplay
has been replicated an extended to a wide variety of storylines and
series.

NOTE: Original Dune 2 game files are needed.

%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.

UWAGA: Potrzebne są pliki wchodzące w skład Dune 2.

%prep
%setup -q
%patch0 -p1

%build
%{__aclocal}
%{__autoconf}
%{__automake}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}

%{__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 README ToDo.txt
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/%{name}
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.png