]> git.pld-linux.org Git - packages/widelands.git/blame - widelands.spec
- outdated for build10
[packages/widelands.git] / widelands.spec
CommitLineData
67d976f1 1%define _version build10
325beb53 2Summary: Game like Settlers II
bf6aa356 3Summary(pl.UTF-8): Remake gry Settlers II
325beb53
AG
4Name: widelands
5Version: 0.%{_version}
b9b734ef 6Release: 0.5
325beb53
AG
7License: GPL
8Group: X11/Applications/Games
9Source0: http://dl.sourceforge.net/widelands/%{name}-%{_version}-source.tar.bz2
67d976f1 10# Source0-md5: 9e452baf7b8f22a27b4e371e2150e017
325beb53
AG
11Source1: %{name}.desktop
12URL: http://widelands.sourceforge.net/
13BuildRequires: SDL-devel
14BuildRequires: SDL_image-devel
fe5fe831 15BuildRequires: SDL_mixer-devel
325beb53
AG
16BuildRequires: SDL_net-devel
17BuildRequires: SDL_ttf-devel
18BuildRequires: libstdc++-devel
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22In Widelands, you are the regent of a small tribe. You start out with
23nothing but your headquarters, a kind of castle in which all your
24resources are stored. Every member of your tribe will do his or her
25part to produce more resources - wood, food, iron, gold and more - to
26further this growth. But you are not alone in the world, and you will
27meet other tribes sooner or later. Some of them may be friendly and
28trade with you. However, if you want to rule the world, you will have
29to train soldiers and fight.
30
d71c4d09
JR
31%description -l pl.UTF-8
32W grze Widelands jesteś regentem niewielkiego plemienia. Rozpoczynasz
33grę tylko z kwaterą główną, czymś w rodzaju zamku, w której
34przechowywane są wszystkie Twoje zasoby. Każdy członek plemienia
35wykona swoje zadanie w procesie produkcji tychże zasobów - drewna,
36żywności, żelaza, złota i wielu innych - aby zapewnić rozwój. Jednak
37nie jesteś sam na tym świecie i wcześniej lub później będziesz musiał
38spotkać się z innymi plemionami. Niektóre z nich mogą być przyjaźnie
39nastawione i rozpocząć z Tobą handel. Jednak, jeśli chcesz rządzić
40światem, będziesz musiał wyszkolić żołnierzy i walczyć.
325beb53
AG
41
42%prep
67d976f1 43%setup -q -n %{name}
325beb53
AG
44
45%build
46rm -f widelands
47%{__make} \
48 CXX="%{__cxx}" \
a0ca80ba
AG
49 CXXFLAGS="%{rpmcflags} -Isrc/ui/ui_basic -Isrc -Isrc/editor -Isrc/editor/ui_menus -Isrc/ui/ui_fs_menus -Isrc/editor/tools `sdl-config --cflags`" \
50 IMPLICIT_LIBINTL="YES"
325beb53
AG
51
52%install
53rm -rf $RPM_BUILD_ROOT
67d976f1 54install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/%{name},%{_desktopdir}}
325beb53
AG
55
56install widelands $RPM_BUILD_ROOT%{_bindir}
67d976f1 57cp -r campaigns fonts maps music pics sound tribes txts worlds $RPM_BUILD_ROOT%{_datadir}/games/%{name}
325beb53
AG
58
59cp %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
a0ca80ba 66%doc ChangeLog
325beb53 67%attr(755,root,root) %{_bindir}/widelands
67d976f1 68%{_datadir}/games/widelands
325beb53 69%{_desktopdir}/widelands.desktop
This page took 0.055145 seconds and 4 git commands to generate.