]> git.pld-linux.org Git - packages/adonthell.git/blob - adonthell.spec
- updated gettext BR
[packages/adonthell.git] / adonthell.spec
1 Summary:        A 2D graphical RPG game
2 Summary(pl.UTF-8):      Darmowa gra RPG z graficznym interfejsem
3 Name:           adonthell
4 Version:        0.3.3
5 Release:        6
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 Patch1:         %{name}-lib64.patch
12 URL:            http://adonthell.linuxgames.com/
13 BuildRequires:  SDL-devel >= 1.2.0
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-tools
17 BuildRequires:  gtk+-devel
18 BuildRequires:  intltool
19 BuildRequires:  libtool
20 BuildRequires:  libvorbis-devel
21 BuildRequires:  python
22 BuildRequires:  python-devel
23 BuildRequires:  python-modules
24 BuildRequires:  sed >= 4.0
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _gamedatadir    %{_datadir}/%{name}
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
35 %description -l pl.UTF-8
36 Adonthell jest ciągle rozwijaną grą RPG której celem jest połączenie
37 najlepszych cech takich serii jak Final Fantasy i Ultima. Akcja gry
38 toczy się w szczegółowym, wirtualnym świecie. Razem z obecnym engine
39 gry jest dostępna mała plansza (Waste's Edge).
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %if "%{_lib}" == "lib64"
45 %patch1 -p1
46 %endif
47 :> acinclude.m4
48
49 %build
50 %{__gettextize}
51 %{__libtoolize}
52 intltoolize --copy --force
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 %configure \
57         --disable-py-debug
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_gamedatadir}/{modules,games},%{_bindir},adonthell-wastesedge}
64
65 cp src/modules/adonthell.py $RPM_BUILD_ROOT%{_gamedatadir}/modules/adonthell.py
66
67 %{__make} install \
68         prefix=$RPM_BUILD_ROOT%{_prefix} \
69         bindir=$RPM_BUILD_ROOT%{_bindir} \
70         gamedatadir=$RPM_BUILD_ROOT%{_gamedatadir}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc ChangeLog NEWBIE README.* AUTHORS NEWS
78 %attr(755,root,root) %{_bindir}/adonthell
79 %dir %{_gamedatadir}
80 %{_gamedatadir}/modules
81 %{_gamedatadir}/games
This page took 0.061807 seconds and 3 git commands to generate.