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