]> git.pld-linux.org Git - packages/warzone2100.git/blob - warzone2100.spec
- la usable via LANGUAGE
[packages/warzone2100.git] / warzone2100.spec
1 Summary:        3D realtime strategy on a future Earth
2 Summary(pl.UTF-8):      Gra RTS, której akcja toczy się w przyszłości
3 Name:           warzone2100
4 Version:        2.2.4
5 Release:        3
6 License:        GPL v2+
7 Group:          X11/Applications/Games/Strategy
8 Source0:        http://dl.sourceforge.net/warzone2100/%{name}-%{version}.tar.gz
9 # Source0-md5:  494f29f172f8b5ad0e5629edae3caa62
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.wz2100.net/
12 BuildRequires:  OpenAL-devel >= 0.0.8-4
13 BuildRequires:  OpenGL-GLU-devel
14 BuildRequires:  SDL-devel >= 1.2
15 BuildRequires:  SDL_net-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  bison
19 BuildRequires:  flex
20 BuildRequires:  gettext-devel
21 BuildRequires:  libjpeg-devel
22 BuildRequires:  libmad-devel
23 BuildRequires:  libpng-devel >= 1.2
24 BuildRequires:  libtheora-devel >= 0.1
25 BuildRequires:  libvorbis-devel >= 1.1
26 BuildRequires:  physfs-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  popt-devel
29 BuildRequires:  quesoglc-devel
30 BuildRequires:  unzip
31 BuildRequires:  zip
32 Requires:       fonts-TTF-DejaVu
33 Requires:       gdb
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Warzone 2100 is a real-time strategy game. Although comparable to
38 Earth 2150 in many significant respects, it does contain aspects that
39 are unique. These include various radar technologies and a greater
40 focus on artillery and counter-battery technologies.
41
42 %description -l pl.UTF-8
43 Warzone 2100 jest grą strategiczną czasu rzeczywistego. Chociaż gra
44 bardzo przypomina grę Earth 2150, to jednak zostało do niej
45 wprowadzonych kilka ciekawych pomysłów. Są to między innymi
46 rozmaite technologie radarowe oraz większe skupienie się na
47 technologiach artyleryjskich oraz obronie przeciwlotniczej.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 # et_EE -> et
54 %{__sed} -e 's/et_EE/et/g' -i po/LINGUAS
55 mv po/et{_EE,}.po
56 mv po/et{_EE,}.gmo
57
58 %build
59 %{__aclocal} -I m4
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure \
64         --with-distributor="PLD" \
65         --docdir=%{_docdir}/%{name}-%{version} \
66         --with-icondir=%{_pixmapsdir}
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 %find_lang %{name}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc %{_docdir}/%{name}-%{version}
83 %attr(755,root,root) %{_bindir}/*
84 %{_datadir}/%{name}
85 %{_desktopdir}/%{name}.desktop
86 %{_pixmapsdir}/%{name}.png
This page took 0.192434 seconds and 4 git commands to generate.