]> git.pld-linux.org Git - packages/adonthell.git/blobdiff - adonthell.spec
- missing BRs
[packages/adonthell.git] / adonthell.spec
index 795075ea542549068807ec81ddab128f9599545a..9ef48027d700a11fd5a2380cf4fb66fee556792e 100644 (file)
@@ -2,15 +2,22 @@ Summary:      A 2D graphical RPG game
 Summary(pl):   Darmowa gra RPG z graficznym interfejsem
 Name:          adonthell
 Version:       0.3.3
-Release:       1
+Release:       4
 License:       GPL
-Source0:       http://savannah.nongnu.org/download/adonthell/src/%{name}-%{version}.tar.gz
-URL:           http://adonthell.linuxgames.com
 Group:         X11/Applications/Games
+Source0:       http://savannah.nongnu.org/download/adonthell/src/%{name}-%{version}.tar.gz
+# Source0-md5: 8ed4a8b02ea24fd393b67bca355cc70b
+Patch0:                %{name}-etc_dir.patch
+URL:           http://adonthell.linuxgames.com/
+BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: automake
+BuildRequires: libvorbis-devel
+BuildRequires: python
+BuildRequires: python-devel
+BuildRequires: python-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _bindir         %{_prefix}/bin/
-%define                _gamedatadir    share/%{name}
+%define                _gamedatadir    %{_datadir}/%{name}
 
 %description
 Adonthell is a role playing game in development that aims to combine
@@ -22,30 +29,38 @@ a small demo game (Waste's Edge) is available.
 Adonthell jest ci±gle rozwijan± gr± RPG której celem jest po³±czenie
 najlepszych cech takich serii jak Final Fantasy i Ultima. Akcja gry
 toczy siê w szczegó³owym, wirtualnym ¶wiecie. Razem z obecnym engine
-gry jest dostêpna ma³a plansza(Waste's Edge).
+gry jest dostêpna ma³a plansza (Waste's Edge).
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure2_13
+cp -f /usr/share/automake/config.sub .
 
-%{__make}
+%configure2_13 \
+       --disable-py-debug
 
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_prefix}/%{_gamedatadir}/{modules,games},%{_bindir},adonthell-wastesedge}
-cp src/modules/adonthell.py $RPM_BUILD_ROOT%{_prefix}/%{_gamedatadir}/modules/adonthell.py
+install -d $RPM_BUILD_ROOT{%{_gamedatadir}/{modules,games},%{_bindir},adonthell-wastesedge}
+
+cp src/modules/adonthell.py $RPM_BUILD_ROOT%{_gamedatadir}/modules/adonthell.py
 
-%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} gamedatadir=$RPM_BUILD_ROOT%{_prefix}/%{_gamedatadir} install
+%{__make} install \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       bindir=$RPM_BUILD_ROOT%{_bindir} \
+       gamedatadir=$RPM_BUILD_ROOT%{_gamedatadir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_prefix}/%{_gamedatadir}/modules/*
-%{_prefix}/%{_gamedatadir}/games
-%attr(755,root,root)%{_bindir}/adonthell
-%doc ChangeLog NEWBIE README.* AUTHORS COPYING NEWS
+%doc ChangeLog NEWBIE README.* AUTHORS NEWS
+%attr(755,root,root) %{_bindir}/adonthell
+%dir %{_gamedatadir}
+%{_gamedatadir}/modules
+%{_gamedatadir}/games
This page took 0.277152 seconds and 4 git commands to generate.