rpms/ballbuster/devel ballbuster.desktop, NONE, 1.1 ballbuster.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Tue Oct 10 21:03:56 UTC 2006
Author: jwrdegoede
Update of /cvs/extras/rpms/ballbuster/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23482/devel
Modified Files:
.cvsignore sources
Added Files:
ballbuster.desktop ballbuster.spec
Log Message:
auto-import ballbuster-1.0-1 on branch devel from ballbuster-1.0-1.src.rpm
--- NEW FILE ballbuster.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Ball: Buster
Comment=Move the paddle to bounce the ball and break all the bricks
Exec=ballbuster
Icon=ballbuster.png
Terminal=false
StartupNotify=false
Type=Application
Categories=Application;Game;ArcadeGame;
--- NEW FILE ballbuster.spec ---
Name: ballbuster
Version: 1.0
Release: 1%{?dist}
Summary: Move the paddle to bounce the ball and break all the bricks
Group: Amusements/Games
License: LGPL
URL: http://www.patrickavella.com/ballbuster.shtml
Source0: http://www.patrickavella.com/BallBusterX.zip
Source1: %{name}.desktop
Patch0: ballbuster-unix.patch.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ClanLib-devel desktop-file-utils ImageMagick
Requires: hicolor-icon-theme
%description
Game inspired by one of the great classics. The purpose of the game is to
remove all the bricks on the screen, by hitting them with a ball. You can
control the ball by bouncing it back at the bricks with a paddle which you
control with your mouse. The game features: A built in level editor, 20 power
ups and special effects (particle, alpha, rotating, and zooming).
%prep
%setup -q -c
%patch0 -p1 -z .unix
sed -i 's/\r//g' COPYING credits.txt ExtremeUpdates.txt manual.html html/*
%build
make %{?_smp_mflags} PREFIX=%{_prefix} \
CFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags clanCore-0.8`"
convert -transparent black icon1.ico %{name}.png
%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT%{_prefix}
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Fedora \
%{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 %{name}.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
%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 COPYING credits.txt ExtremeUpdates.txt manual.html html
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%changelog
* Tue Oct 10 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-1
- Initial Fedora Extras package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ballbuster/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 10 Oct 2006 21:01:56 -0000 1.1
+++ .cvsignore 10 Oct 2006 21:03:56 -0000 1.2
@@ -0,0 +1,2 @@
+BallBusterX.zip
+ballbuster-unix.patch.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ballbuster/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Oct 2006 21:01:56 -0000 1.1
+++ sources 10 Oct 2006 21:03:56 -0000 1.2
@@ -0,0 +1,2 @@
+792c7ed1b8c62177ed043eb4955491fe BallBusterX.zip
+3963c05ed48a7408c086f76bb9bf73e7 ballbuster-unix.patch.gz
More information about the scm-commits
mailing list