From: deejay1 Date: Tue, 29 Apr 2003 13:14:35 +0000 (+0000) Subject: - Initial import; description based on dist .spec file X-Git-Tag: auto/ac/barrage-1_0_1-1~9 X-Git-Url: http://git.pld-linux.org/cgi-bin/gitweb.cgi?p=packages%2Fbarrage.git;a=commitdiff_plain;h=b1558866be95a5148891c86445d673ed3567652c - Initial import; description based on dist .spec file Changed files: barrage.spec -> 1.1 --- diff --git a/barrage.spec b/barrage.spec new file mode 100644 index 0000000..c47ec4d --- /dev/null +++ b/barrage.spec @@ -0,0 +1,61 @@ +Summary: Kill and destroy as many target as possible in 3 minutes. +Summary(pl): Zniszcz jak najwiêcej wrogów w przeci±gu 3 minut. +Name: barrage +Version: 1.0.1 +Release: 1 +License: GPL v2 +Group: X11/Applications/Games +Source0: http://dl.sourceforge.net/lgames/%{name}-%{version}.tar.gz +Source1: %{name}.png +Patch0: %{name}-desktop.patch +URL: http://lgames.sourceforge.net/index.php?project=Barrage +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: SDL_image-devel +BuildRequires: SDL_mixer-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Barrage is a rather violent action game with the objective to kill and +destroy as many targets as possible within 3 minutes. The player +controls a gun that may either fire small or large grenades at +soldiers, jeeps and tanks. It is a very simple gameplay though it is +not that easy to get high scores. + +%description -l pl +Barrage jest do¶æ brutaln± gr± akcji, której celem jest zniszczenie +jak najwiêkszej ilo¶ci przeciwników w przeci±gu 3 minut. Gracz steruje +broni±, która mo¿e wystrzeliwywaæ zarówno ma³e jak i du¿e granaty w +kierunku ¿o³nierzy, jeepów i czo³gów. Zasady s± proste lecz +osi±gniêcie dobrych wyników jest trudnym zadaniem. + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p1 + +%build +rm -f missing +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_pixmapsdir} + +%{__make} install DESTDIR=$RPM_BUILD_ROOT +install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog README AUTHORS +%attr(2755,root,games) %{_bindir}/* +%{_datadir}/games/%{name} +%{_datadir}/applications/*.desktop +%{_pixmapsdir}/*.png