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