Name: barrage Version: 1.0.4 Release: 15%{?dist} Summary: Kill and destroy as many targets as possible within 3 minutes Group: Amusements/Games License: GPLv2+ URL: http://lgames.sourceforge.net/index.php?project=Barrage Source0: http://downloads.sourceforge.net/lgames/%{name}-%{version}.tar.gz Source1: %{name}.png Source2: %{name}.desktop Patch0: newrpms-%{name}-datadir.patch #Patch1: barrage-1.0.2-menu-overflow.patch Patch2: barrage-1.0.2-dsolink.patch Patch3: barrage-1.0.2-spelling.patch Requires: hicolor-icon-theme BuildRequires: gcc BuildRequires: SDL-devel SDL_mixer-devel desktop-file-utils %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. %prep %setup -q %patch0 -p0 -b .datadir #%patch1 -p0 %patch2 -p0 %patch3 -p0 # add Icon to desktop file echo Icon=barrage >> barrage.desktop %build autoreconf --force --install %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # below the desktop file and icon stuff desktop-file-install %{SOURCE2} \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps install -p -m 0644 %{SOURCE1} \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png # Register as an application to be visible in the software center # # NOTE: It would be *awesome* if this file was maintained by the upstream # project, translated and installed into the right place during `make install`. # # See http://www.freedesktop.org/software/appstream/docs/ for more details. # mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml < barrage.desktop CC0-1.0 A fast paced action game where you shoot down as many targets as possible

Barrage is a fast paced shooter game where the objective is to destroy targets like soldiers, tanks and jeeps within 3 minutes.

The player controls a gun that shoots small and large grenades at fast moving targets and you need to manage your aim, ammo and re-load times carefully.

http://lgames.sourceforge.net/index.php?project=Barrage http://lgames.sourceforge.net/Barrage/ss1.jpg http://lgames.sourceforge.net/Barrage/ss0.jpg http://lgames.sourceforge.net/Barrage/ss2.jpg
EOF rm -f $RPM_BUILD_ROOT%{_datadir}/icons/barrage48.gif %files %doc AUTHORS BUGS ChangeLog COPYING README %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog * Thu Jul 12 2018 Fedora Release Engineering - 1.0.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Jan 07 2018 Igor Gnatenko - 1.0.4-13 - Remove obsolete scriptlets * Wed Aug 02 2017 Fedora Release Engineering - 1.0.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Mar 26 2015 Richard Hughes - 1.0.4-7 - Add an AppData file for the software center * Fri Aug 15 2014 Fedora Release Engineering - 1.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Feb 17 2012 Jon Ciesla - 1.0.4-1 - New upstream. - Menu overflow patch upstreamed. * Thu Jan 12 2012 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Feb 02 2011 Jon Ciesla - 1.0.3-1 - New upstream. - Switched to Source desktop, generation isn't working. * Fri Mar 19 2010 Jon Ciesla - 1.0.2-7 - Spelling fix. * Fri Mar 19 2010 Jon Ciesla - 1.0.2-6 - Fix for crash due to overflow in menu. - Fix for DSOLink error. * Fri Jul 24 2009 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Oct 31 2008 Stefan Posdzich - 1.0.2-3 - Fixed Source0 URL * Sun Oct 26 2008 Stefan Posdzich - 1.0.2-2 - Add post and postun - Add BUGS to doc - Add desktop-file-install - Change icon to 48x48 - Remove INSTALL from doc * Sat Oct 25 2008 Stefan Posdzich - 1.0.2-1 - Initial SPEC file