]>
Commit | Line | Data |
---|---|---|
1679e36f | 1 | Summary: A 2D graphical RPG game |
87ec7a04 | 2 | Summary(pl.UTF-8): Darmowa gra RPG z graficznym interfejsem |
1679e36f | 3 | Name: adonthell |
934d3606 | 4 | Version: 0.3.3 |
4bb2a578 | 5 | Release: 6 |
1679e36f | 6 | License: GPL |
13461b35 | 7 | Group: X11/Applications/Games |
934d3606 | 8 | Source0: http://savannah.nongnu.org/download/adonthell/src/%{name}-%{version}.tar.gz |
cd62aac4 | 9 | # Source0-md5: 8ed4a8b02ea24fd393b67bca355cc70b |
8c498ba5 | 10 | Patch0: %{name}-etc_dir.patch |
778ff2a6 | 11 | Patch1: %{name}-lib64.patch |
ab192339 | 12 | URL: http://adonthell.linuxgames.com/ |
1fbd972b | 13 | BuildRequires: SDL-devel >= 1.2.0 |
778ff2a6 | 14 | BuildRequires: autoconf |
13461b35 | 15 | BuildRequires: automake |
1f797521 | 16 | BuildRequires: gettext-tools |
778ff2a6 | 17 | BuildRequires: gtk+-devel |
18 | BuildRequires: intltool | |
19 | BuildRequires: libtool | |
1fbd972b | 20 | BuildRequires: libvorbis-devel |
21 | BuildRequires: python | |
22 | BuildRequires: python-devel | |
23 | BuildRequires: python-modules | |
778ff2a6 | 24 | BuildRequires: sed >= 4.0 |
1679e36f | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
13461b35 | 27 | %define _gamedatadir %{_datadir}/%{name} |
1679e36f | 28 | |
29 | %description | |
30 | Adonthell is a role playing game in development that aims to combine | |
31 | the best features of the Final Fantasy and Ultima series with an epic | |
32 | plot. It is set in a detailed virtual world. With the current engine, | |
33 | a small demo game (Waste's Edge) is available. | |
34 | ||
60d8bf4a JR |
35 | %description -l pl.UTF-8 |
36 | Adonthell jest ciągle rozwijaną grą RPG której celem jest połączenie | |
5e67f248 | 37 | najlepszych cech takich serii jak Final Fantasy i Ultima. Akcja gry |
60d8bf4a JR |
38 | toczy się w szczegółowym, wirtualnym świecie. Razem z obecnym engine |
39 | gry jest dostępna mała plansza (Waste's Edge). | |
1679e36f | 40 | |
41 | %prep | |
42 | %setup -q | |
a18e230f | 43 | %patch0 -p1 |
778ff2a6 | 44 | %if "%{_lib}" == "lib64" |
45 | %patch1 -p1 | |
46 | %endif | |
47 | :> acinclude.m4 | |
1679e36f | 48 | |
49 | %build | |
778ff2a6 | 50 | %{__gettextize} |
51 | %{__libtoolize} | |
52 | intltoolize --copy --force | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__automake} | |
56 | %configure \ | |
80f2d0a4 | 57 | --disable-py-debug |
1679e36f | 58 | |
59 | %{__make} | |
60 | ||
1679e36f | 61 | %install |
62 | rm -rf $RPM_BUILD_ROOT | |
13461b35 | 63 | install -d $RPM_BUILD_ROOT{%{_gamedatadir}/{modules,games},%{_bindir},adonthell-wastesedge} |
2d393a7d | 64 | |
13461b35 | 65 | cp src/modules/adonthell.py $RPM_BUILD_ROOT%{_gamedatadir}/modules/adonthell.py |
1679e36f | 66 | |
2d393a7d JB |
67 | %{__make} install \ |
68 | prefix=$RPM_BUILD_ROOT%{_prefix} \ | |
69 | bindir=$RPM_BUILD_ROOT%{_bindir} \ | |
13461b35 | 70 | gamedatadir=$RPM_BUILD_ROOT%{_gamedatadir} |
1679e36f | 71 | |
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
8f8bc2bf | 77 | %doc ChangeLog NEWBIE README.* AUTHORS NEWS |
2d393a7d | 78 | %attr(755,root,root) %{_bindir}/adonthell |
13461b35 JB |
79 | %dir %{_gamedatadir} |
80 | %{_gamedatadir}/modules | |
81 | %{_gamedatadir}/games |