]> git.pld-linux.org Git - packages/widelands.git/blame - widelands.spec
- fixed previous commit msg
[packages/widelands.git] / widelands.spec
CommitLineData
7764f64d 1#
2# TODO:
3# - translations
4#
66fcbec9 5%define _build 13
325beb53 6Summary: Game like Settlers II
bf6aa356 7Summary(pl.UTF-8): Remake gry Settlers II
325beb53 8Name: widelands
68f512a6 9Version: 0.build%{_build}
10Release: 0.1
325beb53
AG
11License: GPL
12Group: X11/Applications/Games
66fcbec9
AG
13Source0: http://dl.sourceforge.net/widelands/Widelands-Build%{_build}-src.tar.bz2
14# Source0-md5: 5e39f80b668d303abf693c48afa0c4bc
325beb53
AG
15Source1: %{name}.desktop
16URL: http://widelands.sourceforge.net/
7764f64d 17BuildRequires: SDL-devel >= 1.2.11
68f512a6 18BuildRequires: SDL_gfx-devel
325beb53 19BuildRequires: SDL_image-devel
00129253 20BuildRequires: SDL_mixer-devel >= 1.2.7
325beb53 21BuildRequires: SDL_net-devel
7764f64d 22BuildRequires: SDL_ttf-devel >= 2.0.0
bb198b26 23BuildRequires: boost-devel
929f8735 24BuildRequires: libpng-devel
325beb53 25BuildRequires: libstdc++-devel
bb198b26 26BuildRequires: scons
325beb53
AG
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30In Widelands, you are the regent of a small tribe. You start out with
31nothing but your headquarters, a kind of castle in which all your
32resources are stored. Every member of your tribe will do his or her
33part to produce more resources - wood, food, iron, gold and more - to
34further this growth. But you are not alone in the world, and you will
35meet other tribes sooner or later. Some of them may be friendly and
36trade with you. However, if you want to rule the world, you will have
37to train soldiers and fight.
38
d71c4d09
JR
39%description -l pl.UTF-8
40W grze Widelands jesteś regentem niewielkiego plemienia. Rozpoczynasz
41grę tylko z kwaterą główną, czymś w rodzaju zamku, w której
42przechowywane są wszystkie Twoje zasoby. Każdy członek plemienia
43wykona swoje zadanie w procesie produkcji tychże zasobów - drewna,
44żywności, żelaza, złota i wielu innych - aby zapewnić rozwój. Jednak
45nie jesteś sam na tym świecie i wcześniej lub później będziesz musiał
46spotkać się z innymi plemionami. Niektóre z nich mogą być przyjaźnie
47nastawione i rozpocząć z Tobą handel. Jednak, jeśli chcesz rządzić
48światem, będziesz musiał wyszkolić żołnierzy i walczyć.
325beb53
AG
49
50%prep
66fcbec9 51%setup -q -n %{name}-b%{_build}
325beb53
AG
52
53%build
bb198b26 54%scons \
55 install_prefix=%{_prefix} \
56 bindir=%{_bindir} \
57 datadir=%{_datadir}/%{name}
325beb53
AG
58
59%install
60rm -rf $RPM_BUILD_ROOT
325beb53 61
bb198b26 62%scons install \
63 install_prefix=$RPM_BUILD_ROOT%{_prefix} \
64 bindir=$RPM_BUILD_ROOT%{_bindir} \
65 datadir=$RPM_BUILD_ROOT%{_datadir}/%{name}
66
67install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
325beb53 68
bb198b26 69install pics/wl-ico-128.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
70cp %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
325beb53
AG
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
a0ca80ba 77%doc ChangeLog
bb198b26 78%attr(755,root,root) %{_bindir}/%{name}
79%{_datadir}/%{name}
80%{_desktopdir}/%{name}.desktop
81%{_pixmapsdir}/%{name}.png
This page took 0.132218 seconds and 4 git commands to generate.