]> git.pld-linux.org Git - packages/chromium.git/blob - chromium.spec
- raw parch from RH.
[packages/chromium.git] / chromium.spec
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
3 Name:           chromium
4 Version:        0.9.12
5 Release:        7
6 License:        Artistic
7 Group:          X11/Applications/Games
8 Group(de):      X11/Applikationen/Spiele
9 Group(pl):      X11/Aplikacje/Gry
10 Source0:        http://www.reptilelabour.com/software/files/chromium/%{name}-src-%{version}.tar.gz
11 Source1:        http://www.reptilelabour.com/software/files/chromium/%{name}-data-%{version}.tar.gz
12 Source2:        %{name}.desktop
13 Source3:        %{name}-setup.desktop
14 Source4:        %{name}.png
15 Patch0:         %{name}-config.patch
16 URL:            http://www.reptilelabour.com/software/chromium/
17 BuildPrereq:    SDL-devel >= 1.1.6
18 BuildRequires:  OpenGL-devel
19 #BuildPrereq:   kdelibs-sound-devel
20 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23 %define         _mandir         %{_prefix}/man
24
25 %description
26 You are captain of the cargo ship Chromium B.S.U., responsible for
27 delivering supplies to our troops on the front line. Your ship has a
28 small fleet of robotic fighters which you control from the relative
29 safety of the Chromium vessel.
30 - Do not let ANY enemy ships get past your fighters! Each enemy ship
31   that makes it past the bottom of the screen will attack the Chromium,
32   and you lose a fighter.
33 - Use your fighters as weapons! Crash into enemies to destroy them
34   before they can get past you.
35 - Strategic suicide is a powerful tactic! When the Chromium launches a
36   new fighter, it releases a high energy burst which destroys all
37   enemies in range.
38 - Self-destruct to preserve your ammunition! A double-right-click will
39   cause your current fighter to self-destruct. Before the ship blows up,
40   it ejects its ammunition so that the next fighter can pick it up.
41
42 %description -l pl
43 Jeste¶ kapitanem statku Chromium B.S.U, odpowiedzialnego za
44 dostarczenie zapasów do oddzia³ów na linii frontu. Statek ma ma³±
45 flotê automatycznych my¶liwców, którymi mo¿esz kierowaæ ze statku.
46 - Nie pozwól ¯ADNEMU wrogowi przej¶æ za swoje my¶liwce! Ka¿dy statek
47   który dotrze na dó³ ekranu zaatakuje Chromium i stracisz my¶liwca.
48 - U¿ywaj my¶liwców jako broni! Uderzaj we wrogów aby zniszczyæ ich
49   zanim oni przedostan± siê do ciebie.
50 - Strategiczne samobójstwo to dobra taktyka! Kiedy Chromium odpala
51   nowego my¶liwca, wytwarza du¿o energii, która niszczy wszystkich
52   wrogów w zasiêgu.
53 - Autodestrukcja pozwala zachowaæ amunicjê - przed wysadzeniem siê
54   my¶liwiec zwraca amunicjê tak, ¿e nastêpny mo¿e j± przej±æ.
55
56 %prep
57 %setup -q -n Chromium-0.9 -a 1
58 %patch -p1
59 find . -type d -name .xvpics -exec rm -rf {} \; ||:
60
61 %build
62 CFLAGS="%{rpmcflags}"
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_applnkdir}/{Games/Arcade,Settings},%{_pixmapsdir}}
69
70 %{__make} install DESTDIR=RPM_BUILD_ROOT
71
72 install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade/%{name}.desktop
73 install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Settings/%{name}.desktop
74 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
75
76 %files
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/*
79 %{_pixmapsdir}/chromium.xpm
80 %{_applnkdir}/Games/Arcade/*
81 %{_applnkdir}/Settings/*
82 %{_prefix}/games/chromium
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
This page took 0.603763 seconds and 3 git commands to generate.