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