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