rpms/barrage/devel barrage.png, NONE, 1.1 barrage.spec, NONE, 1.1 import.log, NONE, 1.1 newrpms-barrage-datadir.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Stefan Posdzich
cheekyboinc at fedoraproject.org
Tue Nov 4 17:19:53 UTC 2008
Author: cheekyboinc
Update of /cvs/pkgs/rpms/barrage/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4188/devel
Modified Files:
.cvsignore sources
Added Files:
barrage.png barrage.spec import.log
newrpms-barrage-datadir.patch
Log Message:
initial commit
--- NEW FILE barrage.spec ---
Name: barrage
Version: 1.0.2
Release: 3%{?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
Patch0: newrpms-%{name}-datadir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: hicolor-icon-theme
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
# 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 \
--remove-category="X-Red-Hat-Base;Application" \
--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
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS ChangeLog COPYING README
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog
* Fri Oct 31 2008 Stefan Posdzich <cheekyboinc at foresightlinux.org> - 1.0.2-3
- Fixed Source0 URL
* Sun Oct 26 2008 Stefan Posdzich <cheekyboinc at foresightlinux.org> - 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 <cheekyboinc at foresightlinux.org> - 1.0.2-1
- Initial SPEC file
--- NEW FILE import.log ---
barrage-1_0_2-3_fc10:HEAD:barrage-1.0.2-3.fc10.src.rpm:1225819114
newrpms-barrage-datadir.patch:
--- NEW FILE newrpms-barrage-datadir.patch ---
--- configure.in.old 2008-08-10 14:39:10.000000000 +0200
+++ configure.in 2008-08-10 14:39:25.000000000 +0200
@@ -32,7 +32,7 @@
AC_SUBST(audio_flag)
AC_SUBST(audio_lib)
-src_dir="$datadir/games/barrage"
+src_dir="$datadir/barrage"
dnl check if installation was disabled
AC_ARG_ENABLE( install,
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/barrage/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 3 Nov 2008 18:40:26 -0000 1.1
+++ .cvsignore 4 Nov 2008 17:19:23 -0000 1.2
@@ -0,0 +1 @@
+barrage-1.0.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/barrage/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 3 Nov 2008 18:40:26 -0000 1.1
+++ sources 4 Nov 2008 17:19:23 -0000 1.2
@@ -0,0 +1 @@
+5dbecef907eb27215e8cc047eae2ee90 barrage-1.0.2.tar.gz
More information about the fedora-extras-commits
mailing list