1 Summary: Chromium B.S.U. is a fast paced, arcade-style space shooter
2 Summary(pl): Chromium B.S.U. to szybko tocz±ca siê strzelanina
7 Group: X11/Applications/Games
8 Source0: http://www.reptilelabour.com/software/files/chromium/%{name}-src-%{version}.tar.gz
9 Source1: http://www.reptilelabour.com/software/files/chromium/%{name}-data-%{version}.tar.gz
10 Source2: %{name}.desktop
11 Source3: %{name}-setup.desktop
13 Patch0: %{name}-fix-flags.patch
14 Patch1: %{name}-glibc-2.2.2.patch
15 Patch3: %{name}-fix-openal-configurecall.patch
16 Patch4: %{name}-configure_needs_bash.patch
17 Patch5: %{name}-qt.patch
18 Patch6: %{name}-use_proper_CC.patch
19 URL: http://www.reptilelabour.com/software/chromium/
20 BuildRequires: OpenGL-devel
21 BuildRequires: SDL-devel >= 1.1.6
22 BuildRequires: libogg-devel libvorbis-devel
23 BuildRequires: smpeg >= 0.4.2
24 BuildRequires: qt-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _prefix /usr/X11R6/
28 %define _mandir %{_prefix}/man
29 %define _bindir %{_prefix}/bin
30 %define _datadir %{_prefix}/share/games
31 %define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
32 %define _noreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
35 You are captain of the cargo ship Chromium B.S.U., responsible for
36 delivering supplies to our troops on the front line. Your ship has a
37 small fleet of robotic fighters which you control from the relative
38 safety of the Chromium vessel.
39 - Do not let ANY enemy ships get past your fighters! Each enemy ship
40 that makes it past the bottom of the screen will attack the Chromium,
41 and you lose a fighter.
42 - Use your fighters as weapons! Crash into enemies to destroy them
43 before they can get past you.
44 - Strategic suicide is a powerful tactic! When the Chromium launches a
45 new fighter, it releases a high energy burst which destroys all
47 - Self-destruct to preserve your ammunition! A double-right-click will
48 cause your current fighter to self-destruct. Before the ship blows up,
49 it ejects its ammunition so that the next fighter can pick it up.
52 Jeste¶ kapitanem statku Chromium B.S.U, odpowiedzialnego za
53 dostarczenie zapasów do oddzia³ów na linii frontu. Statek ma ma³±
54 flotê automatycznych my¶liwców, którymi mo¿esz kierowaæ ze statku.
55 - Nie pozwól ¯ADNEMU wrogowi przej¶æ za swoje my¶liwce! Ka¿dy statek
56 który dotrze na dó³ ekranu zaatakuje Chromium i stracisz my¶liwca.
57 - U¿ywaj my¶liwców jako broni! Uderzaj we wrogów aby zniszczyæ ich
58 zanim oni przedostan± siê do ciebie.
59 - Strategiczne samobójstwo to dobra taktyka! Kiedy Chromium odpala
60 nowego my¶liwca, wytwarza du¿o energii, która niszczy wszystkich
62 - Autodestrukcja pozwala zachowaæ amunicjê - przed wysadzeniem siê
63 my¶liwiec zwraca amunicjê tak, ¿e nastêpny mo¿e j± przej±æ.
66 Summary: Setup frontend for Chromium
67 Summary(pl): Graficzny konfigurator Chromium
68 Group: X11/Applications/Games
69 Requires: %{name} = %{version}-%{release}
72 This package contains the setup frontend (using QT) to ease
73 configuration of Chromium, especially for its playlist features.
75 %description setup -l pl
76 Ten pakiet zawiera graficzny konfigurator (napisany w QT) u³atwiaj±cy
77 ustalanie parametrów dla gry Chromium, szczególnie je¶li chodzi o
78 listê muzyki do odtwarzania.
81 %setup -q -n Chromium-0.9
88 find . -type d -name .xvpics -exec rm -rf {} \; ||:
91 CFLAGS="%{rpmcflags} -fno-omit-frame-pointer -pipe"
92 CXXFLAGS="%{rpmcflags} -fno-omit-frame-pointer -pipe"
96 DEFS="%{rpmcflags} -DGAMESBINDIR=\\\"%{_bindir}\\\" \
97 -DPKGDATADIR=\\\"%{_datadir}/Chromium-0.9\\\" -DUSE_SDL \
98 `sdl-config --cflags` -DOLD_OPENAL -DAUDIO_OPENAL -D_REENTRANT \
99 -I../../include -I../support/openal/linux/include -I../support/openal/include"
100 #export OPENAL_CONFIG_OPTS="./configure %{_target_platform} --with-gcc=%{__cc}"
101 OPENAL_CONFIG_OPTS="./configure --with-gcc=%{__cc}"
103 export CFLAGS CXXFLAGS CC CXX LINK DEFS OPENAL_CONFIG_OPTS QTDIR
104 ./configure --enable-vorbis
108 rm -rf $RPM_BUILD_ROOT
109 install -d $RPM_BUILD_ROOT{%{_applnkdir}/{Games/Arcade,Settings},%{_pixmapsdir},%{_bindir},%{_datadir}}
111 # It is enough to install one file
112 #%{__make} install DESTDIR=RPM_BUILD_ROOT
113 install bin/* $RPM_BUILD_ROOT/%{_bindir}
115 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade/%{name}.desktop
116 install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Settings/%{name}.desktop
117 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
119 gzip -9nf README LICENSE
121 #This installs datafiles
122 tar zxvf %{SOURCE1} -C $RPM_BUILD_ROOT/%{_datadir}
123 find . -type d -name CVS -exec rm -rf {} \; ||:
126 rm -rf $RPM_BUILD_ROOT
129 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_bindir}/chromium
133 %{_pixmapsdir}/chromium.png
134 %{_applnkdir}/Games/Arcade/*
137 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_bindir}/chromium-setup
140 %{_applnkdir}/Settings/*