-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.
+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
+Version: 1.0.2
+Release: 2
License: GPL v2
Group: X11/Applications/Games
Source0: http://dl.sourceforge.net/lgames/%{name}-%{version}.tar.gz
+# Source0-md5: 5dbecef907eb27215e8cc047eae2ee90
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
+BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%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.
+broni±, która mo¿e wystrzeliwaæ 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}
+%setup -q
%patch0 -p1
%build
-rm -f missing
%{__aclocal}
%{__autoconf}
%{__autoheader}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_pixmapsdir}
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
%clean
rm -rf $RPM_BUILD_ROOT
%doc ChangeLog README AUTHORS
%attr(2755,root,games) %{_bindir}/*
%{_datadir}/games/%{name}
-%{_datadir}/applications/*.desktop
+%{_desktopdir}/*.desktop
%{_pixmapsdir}/*.png