]> git.pld-linux.org Git - packages/adonthell.git/blame - adonthell.spec
- updated gettext BR
[packages/adonthell.git] / adonthell.spec
CommitLineData
1679e36f 1Summary: A 2D graphical RPG game
87ec7a04 2Summary(pl.UTF-8): Darmowa gra RPG z graficznym interfejsem
1679e36f 3Name: adonthell
934d3606 4Version: 0.3.3
4bb2a578 5Release: 6
1679e36f 6License: GPL
13461b35 7Group: X11/Applications/Games
934d3606 8Source0: http://savannah.nongnu.org/download/adonthell/src/%{name}-%{version}.tar.gz
cd62aac4 9# Source0-md5: 8ed4a8b02ea24fd393b67bca355cc70b
8c498ba5 10Patch0: %{name}-etc_dir.patch
778ff2a6 11Patch1: %{name}-lib64.patch
ab192339 12URL: http://adonthell.linuxgames.com/
1fbd972b 13BuildRequires: SDL-devel >= 1.2.0
778ff2a6 14BuildRequires: autoconf
13461b35 15BuildRequires: automake
1f797521 16BuildRequires: gettext-tools
778ff2a6 17BuildRequires: gtk+-devel
18BuildRequires: intltool
19BuildRequires: libtool
1fbd972b 20BuildRequires: libvorbis-devel
21BuildRequires: python
22BuildRequires: python-devel
23BuildRequires: python-modules
778ff2a6 24BuildRequires: sed >= 4.0
1679e36f 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
13461b35 27%define _gamedatadir %{_datadir}/%{name}
1679e36f 28
29%description
30Adonthell is a role playing game in development that aims to combine
31the best features of the Final Fantasy and Ultima series with an epic
32plot. It is set in a detailed virtual world. With the current engine,
33a small demo game (Waste's Edge) is available.
34
60d8bf4a
JR
35%description -l pl.UTF-8
36Adonthell jest ciągle rozwijaną grą RPG której celem jest połączenie
5e67f248 37najlepszych cech takich serii jak Final Fantasy i Ultima. Akcja gry
60d8bf4a
JR
38toczy się w szczegółowym, wirtualnym świecie. Razem z obecnym engine
39gry 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}
52intltoolize --copy --force
53%{__aclocal}
54%{__autoconf}
55%{__automake}
56%configure \
80f2d0a4 57 --disable-py-debug
1679e36f 58
59%{__make}
60
1679e36f 61%install
62rm -rf $RPM_BUILD_ROOT
13461b35 63install -d $RPM_BUILD_ROOT{%{_gamedatadir}/{modules,games},%{_bindir},adonthell-wastesedge}
2d393a7d 64
13461b35 65cp 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
73rm -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
This page took 0.051364 seconds and 4 git commands to generate.