]> git.pld-linux.org Git - packages/warzone2100.git/blob - warzone2100.spec
- missing BR (libjpeg-devel) added
[packages/warzone2100.git] / warzone2100.spec
1 %define _rc     rc1
2 Summary:        3D realtime strategy on a future Earth
3 Summary(pl):    Gra RTS, której akcja toczy siê w przysz³o¶ci
4 Name:           warzone2100
5 Version:        2.0.5
6 Release:        0.%{_rc}.2
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://download.gna.org/warzone/releases/2.0/%{name}-%{version}_%{_rc}.tar.bz2
10 # Source0-md5:  ffa5e7b1b51ffa7129029a911986536f
11 URL:            http://www.wz2100.net/
12 BuildRequires:  OpenAL-devel
13 BuildRequires:  OpenGL-devel
14 BuildRequires:  SDL-devel >= 1.1.4
15 BuildRequires:  SDL_net-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  bison
19 BuildRequires:  flex
20 BuildRequires:  libvorbis-devel
21 BuildRequires:  physfs-devel
22 BuildRequires:  zip
23 BuildRequires:  libjpeg-devel
24 #BuildRequires: libmad-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Warzone 2100 is a real-time strategy game. Although comparable to
29 Earth 2150 in many significant respects, it does contain aspects that
30 are unique. These include various radar technologies and a greater
31 focus on artillery and counter-battery technologies.
32
33 %description -l pl
34 Warzone 2100 jest gr± strategiczn± czasu rzeczywistego. Chocia¿ gra
35 bardzo przypomina grê Earth 2150, to jednak zosta³o do niej
36 wprowadzonych kilka ciekawych pomys³ów. S± to miêdzy innymi rozmaite
37 technologie radarowe oraz wiêksze skupienie siê na technologiach
38 artyleryjskich oraz obronie przeciwlotniczej.
39
40 %prep
41 %setup -q -n warzone-%{version}_%{_rc}
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57 install debian/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
58 install debian/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
59 install debian/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog README TODO
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/%{name}
69 %{_desktopdir}/%{name}.desktop
70 %{_pixmapsdir}/%{name}.*
This page took 0.31465 seconds and 4 git commands to generate.