]> git.pld-linux.org Git - packages/warzone2100.git/blob - warzone2100.spec
- up to final 2.3.0
[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.3.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games/Strategy
8 Source0:        http://downloads.sourceforge.net/warzone2100/%{name}-%{version}.tar.gz
9 # Source0-md5:  70fa70d326303e88fa3c9d07756ef1b1
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:  sed >= 4.0
31 BuildRequires:  unzip
32 BuildRequires:  zip
33 Requires:       fonts-TTF-DejaVu
34 Requires:       gdb
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Warzone 2100 is a real-time strategy game. Although comparable to
39 Earth 2150 in many significant respects, it does contain aspects that
40 are unique. These include various radar technologies and a greater
41 focus on artillery and counter-battery technologies.
42
43 %description -l pl.UTF-8
44 Warzone 2100 jest grą strategiczną czasu rzeczywistego. Chociaż gra
45 bardzo przypomina grę Earth 2150, to jednak zostało do niej
46 wprowadzonych kilka ciekawych pomysłów. Są to między innymi rozmaite
47 technologie radarowe oraz większe skupienie się na technologiach
48 artyleryjskich oraz obronie przeciwlotniczej.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53
54 # et_EE -> et
55 %{__sed} -e 's/et_EE/et/g' -i po/LINGUAS
56 mv po/et{_EE,}.po
57 mv po/et{_EE,}.gmo
58
59 %build
60 %{__aclocal} -I m4
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure \
65         --with-distributor="PLD" \
66         --docdir=%{_docdir}/%{name}-%{version} \
67         --with-icondir=%{_pixmapsdir}
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 # unsupported
77 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/uk_UA
78
79 %find_lang %{name}
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files -f %{name}.lang
85 %defattr(644,root,root,755)
86 %doc %{_docdir}/%{name}-%{version}
87 %attr(755,root,root) %{_bindir}/*
88 %{_datadir}/%{name}
89 %{_desktopdir}/%{name}.desktop
90 %{_pixmapsdir}/%{name}.png
This page took 1.794141 seconds and 4 git commands to generate.