6 Summary: Game like Settlers II
7 Summary(pl.UTF-8): Remake gry Settlers II
9 Version: 0.build%{_build}
12 Group: X11/Applications/Games
13 Source0: http://dl.sourceforge.net/widelands/%{name}-build-%{_build}-source.tar.bz2
14 # Source0-md5: 1b551106e0f613f63abd7e6bdc9cebf6
15 Source1: %{name}.desktop
16 URL: http://widelands.sourceforge.net/
17 BuildRequires: SDL-devel >= 1.2.11
18 BuildRequires: SDL_gfx-devel
19 BuildRequires: SDL_image-devel
20 BuildRequires: SDL_mixer-devel >= 1.2.7
21 BuildRequires: SDL_net-devel
22 BuildRequires: SDL_ttf-devel >= 2.0.0
23 BuildRequires: boost-devel
24 BuildRequires: libpng-devel
25 BuildRequires: libstdc++-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 In Widelands, you are the regent of a small tribe. You start out with
31 nothing but your headquarters, a kind of castle in which all your
32 resources are stored. Every member of your tribe will do his or her
33 part to produce more resources - wood, food, iron, gold and more - to
34 further this growth. But you are not alone in the world, and you will
35 meet other tribes sooner or later. Some of them may be friendly and
36 trade with you. However, if you want to rule the world, you will have
37 to train soldiers and fight.
39 %description -l pl.UTF-8
40 W grze Widelands jesteś regentem niewielkiego plemienia. Rozpoczynasz
41 grę tylko z kwaterą główną, czymś w rodzaju zamku, w której
42 przechowywane są wszystkie Twoje zasoby. Każdy członek plemienia
43 wykona swoje zadanie w procesie produkcji tychże zasobów - drewna,
44 żywności, żelaza, złota i wielu innych - aby zapewnić rozwój. Jednak
45 nie jesteś sam na tym świecie i wcześniej lub później będziesz musiał
46 spotkać się z innymi plemionami. Niektóre z nich mogą być przyjaźnie
47 nastawione i rozpocząć z Tobą handel. Jednak, jeśli chcesz rządzić
48 światem, będziesz musiał wyszkolić żołnierzy i walczyć.
55 install_prefix=%{_prefix} \
57 datadir=%{_datadir}/%{name}
60 rm -rf $RPM_BUILD_ROOT
63 install_prefix=$RPM_BUILD_ROOT%{_prefix} \
64 bindir=$RPM_BUILD_ROOT%{_bindir} \
65 datadir=$RPM_BUILD_ROOT%{_datadir}/%{name}
67 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
69 install pics/wl-ico-128.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
70 cp %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/%{name}
80 %{_desktopdir}/%{name}.desktop
81 %{_pixmapsdir}/%{name}.png