3 # _with_moviesounds - build moviesounds subpackage. Note: it probably is a
4 # violation of Disney's copyright.
6 Summary: A Tron lightcycle game with focus on multiplayer mode
7 Summary(pl): Gra Tron ze ¶wiat³ocyklem skupiaj±ca siê na trybie dla wielu graczy
12 Group: X11/Applications/Games
13 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
14 # Source0-md5: 71bfeaa5ddaf38d5fd8d893caec91d15
15 Source1: %{name}.desktop
17 Source3: http://armagetron.sourceforge.net/addons/moviepack.zip
18 # Source3-md5: e2d40309dde7e1339ca6aff7599cdfa3
19 %if %{?_with_moviesounds:1}%{!?_with_moviesounds:0}
20 Source4: http://armagetron.sourceforge.net/addons/moviesounds_fq.zip
21 # Source4-md5: 3c5d04af52eb296cdeb2fba5ecbd8899
23 URL: http://armagetron.sourceforge.net/
24 BuildRequires: OpenGL-devel
25 BuildRequires: SDL_image-devel
26 BuildRequires: SDL_mixer-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _sysconfdir /etc/%{name}
32 In Armagetron, you ride a lightcycle around the game grid. You can
33 only make sharp turns of 90 degrees and a wall constantly builds up
34 after you. Make your enemies crash into your wall, but be aware that
35 they are trying to do the same to you. If you are fast enough, you may
36 be able to trap them, but the only way to speed up your lightcycle is
37 to drive close to the dangerous walls. Prepare for exciting strategic
38 preparations followed by action-packed close combat!
41 W grze Armagetron jedzie siê ¶wiat³ocyklem dooko³a planszy. Mo¿na
42 wykonywaæ tylko ostre zakrêty o 90 stopni, a za graczem ci±gle buduje
43 siê ¶ciana. Trzeba spowodowaæ, by wrogowie roztrzaskali siê na tej
44 ¶cianie, ale tak¿e uwa¿aæ, bo oni próbuj± zrobiæ to samo. Je¶li gracz
45 jest szybki, mo¿e z³apaæ ich wszystkich, ale jedynym sposobem na
46 przyspieszenie ¶wiat³ocyklu jest jazda blisko niebezpiecznych ¶cian.
47 Trzeba siê przygotowaæ na ekscytuj±ce strategiczne przygotowania i
48 nastêpuj±c± po nich walkê w zbli¿eniu!
51 Summary: Moviepack addon
52 Summary(pl): Dodatek Moviepack
53 Group: X11/Applications/Games
54 Requires: %{name} = %{version}
56 %description moviepack
59 %description moviepack -l pl
63 Summary: Moviesounds addon
64 Summary(pl): Dodatek Moviesounds
65 Group: X11/Applications/Games
66 Requires: %{name} = %{version}
68 %description moviesounds
71 %description moviesounds -l pl
75 %setup -q -a 3 %{?_with_moviesounds:-a 4}
85 rm -rf $RPM_BUILD_ROOT
86 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}} \
87 $RPM_BUILD_ROOT%{_prefix}/games/%{name}/movie{pack,sounds}
91 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
92 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
94 cp -R moviepack $RPM_BUILD_ROOT%{_prefix}/games/%{name}
95 %{?_with_moviesounds:cp -R moviesounds $RPM_BUILD_ROOT%{_prefix}/games/%{name}}
96 rm -f $RPM_BUILD_ROOT%{_prefix}/games/%{name}/moviepack/art_read_me.txt
99 rm -rf $RPM_BUILD_ROOT
102 %defattr(644,root,root,755)
103 %doc CHANGELOG doc/*.html doc/net
104 %attr(755,root,root) %{_bindir}/*
106 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.cfg
107 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.srv
108 %dir %{_prefix}/games/%{name}
109 %{_prefix}/games/%{name}/arenas
110 %dir %{_prefix}/games/%{name}/bin
111 %attr(755,root,root) %{_prefix}/games/%{name}/bin/[ap]*
112 %dir %{_prefix}/games/%{name}/language
113 %{_prefix}/games/%{name}/language/languages.txt
114 %{_prefix}/games/%{name}/language/english.txt
115 %lang(de) %{_prefix}/games/%{name}/language/deutsch.txt
116 %{_prefix}/games/%{name}/models
117 %{_prefix}/games/%{name}/sound
118 %{_prefix}/games/%{name}/textures
119 %{_applnkdir}/Games/*
123 %defattr(644,root,root,755)
124 %doc moviepack/art_read_me.txt
125 %{_prefix}/games/%{name}/moviepack
127 %if %{?_with_moviesounds:1}%{!?_with_moviesounds:0}
129 %defattr(644,root,root,755)
130 %{_prefix}/games/%{name}/moviesounds