]> git.pld-linux.org Git - packages/freelords.git/blob - freelords.spec
- added types patch, release 0.2
[packages/freelords.git] / freelords.spec
1 Summary:        Strategy game
2 Summary(pl):    Gra strategiczna
3 Name:           freelords
4 Version:        0.3.3
5 Release:        0.2
6 License:        GPL
7 Group:          X11/Applications/Games/Strategy
8 Source0:        http://dl.sourceforge.net/freelords/%{name}-%{version}.tar.bz2
9 # Source0-md5:  7aa016ba4eb92b4f16bd18beba8f3026
10 Source1:        %{name}rc.conf
11 Patch0:         %{name}-configure_in.patch
12 Patch1:         %{name}-types.patch
13 URL:            http://www.freelords.org/
14 BuildRequires:  SDL_image-devel >= 1.2.0
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libsigc++12-devel >= 1.2.1
19 BuildRequires:  libtool
20 BuildRequires:  paragui1-devel >= 1.0.4
21 BuildRequires:  qt-devel >= 2.2.0
22 BuildRequires:  pkgconfig
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 FreeLords is a turn-based strategy game. There can be various goals to
27 achieve like e.g.: destroying all enemies, gathering a specific amount
28 of money, occupying a certain city, ...
29
30 %description -l pl
31 FreeLords to gra strategiczna z podzia³em na tury. Cele gry mog± byæ
32 ró¿ne np. zniszczenie wszystkich przeciwników, zebranie okre¶lonej
33 sumy pieniêdzy, okupacja okre¶lonego miasta i inne.
34
35 %prep
36 %setup -q 
37 %patch0 -p0
38 %patch1 -p1
39
40 %build
41 %{__libtoolize}
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure \
46         PARAGUI_CONFIG="%{_bindir}/paragui1-config" \
47         --disable-paraguitest
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT/etc
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install %{SOURCE1} $RPM_BUILD_ROOT/etc/freelordsrc
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc doc/* AUTHORS ChangeLog TODO
67 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/*
68 %attr(755,root,root) %{_bindir}/*
69 %{_datadir}/%{name}
This page took 0.118269 seconds and 4 git commands to generate.