]> git.pld-linux.org Git - packages/freelords.git/blob - freelords.spec
- tabs in preamble
[packages/freelords.git] / freelords.spec
1 Summary:        Turn-based strategy game
2 Summary(pl.UTF-8):      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 Patch3:         %{name}-desktop.patch
15 URL:            http://freelords.sourceforge.net/
16 BuildRequires:  SDL_image-devel >= 1.2.0
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libsigc++12-devel >= 1.2.1
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtool
22 BuildRequires:  paragui-devel >= 1.1.8
23 BuildRequires:  pkgconfig
24 BuildRequires:  qt-devel >= 2.2.0
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 FreeLords is a turn-based strategy game. There can be various goals to
29 achieve like e.g.: destroying all enemies, gathering a specific amount
30 of money, occupying a certain city, ...
31
32 %description -l pl.UTF-8
33 FreeLords to gra strategiczna z podziałem na tury. Cele gry mogą być
34 różne np. zniszczenie wszystkich przeciwników, zebranie określonej
35 sumy pieniędzy, okupacja określonego miasta i inne.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42 %patch3 -p1
43
44 %build
45 %{__libtoolize}
46 %{__aclocal}
47 %{__autoconf}
48 %{__automake}
49 %configure
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir}}
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/freelordsrc
60 install dat/various/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
61
62 %find_lang %{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc doc/* AUTHORS ChangeLog NEWS TODO
70 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
71 %attr(755,root,root) %{_bindir}/*
72 %{_datadir}/%{name}
73 %{_desktopdir}/%{name}.desktop
74 %{_pixmapsdir}/%{name}.png
This page took 0.061606 seconds and 4 git commands to generate.