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