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