]> git.pld-linux.org Git - packages/freelords.git/blob - freelords.spec
- updated to 0.3.5
[packages/freelords.git] / freelords.spec
1 Summary:        Strategy game
2 Summary(pl):    Gra strategiczna
3 Name:           freelords
4 Version:        0.3.5
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games/Strategy
8 Source0:        http://dl.sourceforge.net/freelords/%{name}-%{version}.tar.bz2
9 # Source0-md5:  263887334afa2df5a34cc9ce9163bfe3
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:  paragui-devel >= 1.1.8
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 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT/etc
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 install %{SOURCE1} $RPM_BUILD_ROOT/etc/freelordsrc
56
57 %find_lang %{name}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc doc/* AUTHORS ChangeLog TODO
65 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/*
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/%{name}
This page took 0.097209 seconds and 4 git commands to generate.