]> git.pld-linux.org Git - packages/adonthell.git/blob - adonthell.spec
2beb0d2778f5ad6c55a8077d9993104be30ead60
[packages/adonthell.git] / adonthell.spec
1 Summary:        A 2D graphical RPG game
2 Summary(pl):    Darmowa gra RPG z graficznym interfejsem
3 Name:           adonthell
4 Version:        0.3.3
5 Release:        3
6 License:        GPL
7 Source0:        http://savannah.nongnu.org/download/adonthell/src/%{name}-%{version}.tar.gz
8 # Source0-md5:  8ed4a8b02ea24fd393b67bca355cc70b
9 Patch0:         %{name}-etc_dir.patch
10 URL:            http://adonthell.linuxgames.com/
11 Group:          X11/Applications/Games
12 BuildRequires:  SDL-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _gamedatadir    share/%{name}
16
17 %description
18 Adonthell is a role playing game in development that aims to combine
19 the best features of the Final Fantasy and Ultima series with an epic
20 plot. It is set in a detailed virtual world. With the current engine,
21 a small demo game (Waste's Edge) is available.
22
23 %description -l pl
24 Adonthell jest ci±gle rozwijan± gr± RPG której celem jest po³±czenie
25 najlepszych cech takich serii jak Final Fantasy i Ultima. Akcja gry
26 toczy siê w szczegó³owym, wirtualnym ¶wiecie. Razem z obecnym engine
27 gry jest dostêpna ma³a plansza (Waste's Edge).
28
29 %prep
30 %setup -q
31 %patch0 -p1
32
33 %build
34 cp -f /usr/share/automake/config.sub .
35
36 %configure2_13 \
37         --disable-py-debug
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_prefix}/%{_gamedatadir}/{modules,games},%{_bindir},adonthell-wastesedge}
44
45 cp src/modules/adonthell.py $RPM_BUILD_ROOT%{_prefix}/%{_gamedatadir}/modules/adonthell.py
46
47 %{__make} install \
48         prefix=$RPM_BUILD_ROOT%{_prefix} \
49         bindir=$RPM_BUILD_ROOT%{_bindir} \
50         gamedatadir=$RPM_BUILD_ROOT%{_prefix}/%{_gamedatadir}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc ChangeLog NEWBIE README.* AUTHORS NEWS
58 %{_prefix}/%{_gamedatadir}/modules/*
59 %{_prefix}/%{_gamedatadir}/games
60 %attr(755,root,root) %{_bindir}/adonthell
This page took 0.052521 seconds and 2 git commands to generate.