]>
Commit | Line | Data |
---|---|---|
4c40eaf4 | 1 | Summary: Turn-based strategy game |
4498a681 | 2 | Summary(pl.UTF-8): Turowa gra strategiczna |
04679ce6 | 3 | Name: freelords |
4c40eaf4 | 4 | Version: 0.3.7 |
5 | Release: 0.1 | |
6 | License: GPL v2+ | |
93c56140 | 7 | Group: X11/Applications/Games/Strategy |
0d69119b | 8 | Source0: http://dl.sourceforge.net/freelords/%{name}-%{version}.tar.bz2 |
4c40eaf4 | 9 | # Source0-md5: ccf8b4fbc1dea0f29d2ef3b06b55a957 |
9874fcb3 | 10 | Source1: %{name}rc.conf |
19f18ddb | 11 | Patch0: %{name}-configure_in.patch |
6135e7a7 | 12 | Patch1: %{name}-types.patch |
4c40eaf4 | 13 | Patch2: %{name}-undefined_macros.patch |
43d7903c | 14 | Patch3: %{name}-desktop.patch |
4c40eaf4 | 15 | URL: http://freelords.sourceforge.net/ |
0d69119b | 16 | BuildRequires: SDL_image-devel >= 1.2.0 |
d5eb67bb JB |
17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
6396eb8e | 19 | BuildRequires: libsigc++12-devel >= 1.2.1 |
13ea7692 | 20 | BuildRequires: libstdc++-devel |
d5eb67bb | 21 | BuildRequires: libtool |
960dd1cf | 22 | BuildRequires: paragui-devel >= 1.1.8 |
7f642762 | 23 | BuildRequires: pkgconfig |
13ea7692 | 24 | BuildRequires: qt-devel >= 2.2.0 |
04679ce6 AM |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
04679ce6 | 27 | %description |
93c56140 JB |
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, ... | |
04679ce6 | 31 | |
498d9075 JR |
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. | |
04679ce6 AM |
36 | |
37 | %prep | |
13ea7692 | 38 | %setup -q |
4c40eaf4 | 39 | %patch0 -p1 |
6135e7a7 | 40 | %patch1 -p1 |
4c40eaf4 | 41 | %patch2 -p1 |
43d7903c | 42 | %patch3 -p1 |
04679ce6 AM |
43 | |
44 | %build | |
40d54b7f | 45 | %{__libtoolize} |
46 | %{__aclocal} | |
47 | %{__autoconf} | |
9874fcb3 | 48 | %{__automake} |
960dd1cf | 49 | %configure |
ef9db29a | 50 | %{__make} |
04679ce6 AM |
51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
43d7903c | 54 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir}} |
dbe3e1e0 | 55 | |
85ed33ae PG |
56 | %{__make} install \ |
57 | DESTDIR=$RPM_BUILD_ROOT | |
04679ce6 | 58 | |
13ea7692 | 59 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/freelordsrc |
43d7903c | 60 | install dat/various/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} |
dbe3e1e0 | 61 | |
d4120ca8 AG |
62 | %find_lang %{name} |
63 | ||
04679ce6 AM |
64 | %clean |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
d4120ca8 | 67 | %files -f %{name}.lang |
04679ce6 | 68 | %defattr(644,root,root,755) |
4c40eaf4 | 69 | %doc doc/* AUTHORS ChangeLog NEWS TODO |
16feac06 | 70 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* |
04679ce6 AM |
71 | %attr(755,root,root) %{_bindir}/* |
72 | %{_datadir}/%{name} | |
43d7903c | 73 | %{_desktopdir}/%{name}.desktop |
74 | %{_pixmapsdir}/%{name}.png |