|
|
001c727 |
Name: ballbuster
|
|
|
001c727 |
Version: 1.0
|
|
|
d3ed828 |
Release: 10%{?dist}
|
|
|
001c727 |
Summary: Move the paddle to bounce the ball and break all the bricks
|
|
|
001c727 |
Group: Amusements/Games
|
|
|
718e53b |
License: GPLv2+
|
|
|
001c727 |
URL: http://www.patrickavella.com/ballbuster.shtml
|
|
|
001c727 |
Source0: http://www.patrickavella.com/BallBusterX.zip
|
|
|
001c727 |
Source1: %{name}.desktop
|
|
|
001c727 |
Patch0: ballbuster-unix.patch.gz
|
|
|
55c136c |
Patch1: ballbuster-1.0-gcc43.patch
|
|
|
001c727 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
d3ed828 |
BuildRequires: ClanLib1-devel desktop-file-utils ImageMagick
|
|
|
0231b6f |
Requires: hicolor-icon-theme opengl-games-utils
|
|
|
001c727 |
|
|
|
001c727 |
%description
|
|
|
001c727 |
Game inspired by one of the great classics. The purpose of the game is to
|
|
|
001c727 |
remove all the bricks on the screen, by hitting them with a ball. You can
|
|
|
001c727 |
control the ball by bouncing it back at the bricks with a paddle which you
|
|
|
001c727 |
control with your mouse. The game features: A built in level editor, 20 power
|
|
|
001c727 |
ups and special effects (particle, alpha, rotating, and zooming).
|
|
|
001c727 |
|
|
|
001c727 |
|
|
|
001c727 |
%prep
|
|
|
001c727 |
%setup -q -c
|
|
|
001c727 |
%patch0 -p1 -z .unix
|
|
|
55c136c |
%patch1 -p1 -z .gcc43
|
|
|
001c727 |
sed -i 's/\r//g' COPYING credits.txt ExtremeUpdates.txt manual.html html/*
|
|
|
001c727 |
|
|
|
001c727 |
|
|
|
001c727 |
%build
|
|
|
001c727 |
make %{?_smp_mflags} PREFIX=%{_prefix} \
|
|
|
179e44d |
CFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags clanCore-1.0`"
|
|
|
001c727 |
convert -transparent black icon1.ico %{name}.png
|
|
|
001c727 |
|
|
|
001c727 |
|
|
|
001c727 |
%install
|
|
|
001c727 |
rm -rf $RPM_BUILD_ROOT
|
|
|
001c727 |
make install PREFIX=$RPM_BUILD_ROOT%{_prefix}
|
|
|
0231b6f |
ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper
|
|
|
001c727 |
|
|
|
001c727 |
# below is the desktop file and icon stuff.
|
|
|
001c727 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
001c727 |
desktop-file-install --vendor fedora \
|
|
|
001c727 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
001c727 |
%{SOURCE1}
|
|
|
001c727 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
|
|
|
001c727 |
install -p -m 644 %{name}.png \
|
|
|
001c727 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
|
|
|
001c727 |
|
|
|
001c727 |
|
|
|
001c727 |
%clean
|
|
|
001c727 |
rm -rf $RPM_BUILD_ROOT
|
|
|
001c727 |
|
|
|
001c727 |
|
|
|
001c727 |
%post
|
|
|
001c727 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
001c727 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
001c727 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
001c727 |
fi
|
|
|
001c727 |
|
|
|
001c727 |
%postun
|
|
|
001c727 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
001c727 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
001c727 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
001c727 |
fi
|
|
|
001c727 |
|
|
|
001c727 |
|
|
|
001c727 |
%files
|
|
|
001c727 |
%defattr(-,root,root,-)
|
|
|
001c727 |
%doc COPYING credits.txt ExtremeUpdates.txt manual.html html
|
|
|
0231b6f |
%{_bindir}/%{name}*
|
|
|
001c727 |
%{_datadir}/%{name}
|
|
|
001c727 |
%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
001c727 |
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
|
001c727 |
|
|
|
001c727 |
|
|
|
001c727 |
%changelog
|
|
|
d3ed828 |
* Thu Nov 19 2009 Hans de Goede <hdegoede@redhat.com> 1.0-10
|
|
|
d3ed828 |
- Fix FTBFS, BuildRequire ClanLib1-devel (#538930)
|
|
|
d3ed828 |
|
|
|
8d630c7 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
|
|
|
8d630c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
8d630c7 |
|
|
|
179e44d |
* Mon May 18 2009 Hans de Goede <hdegoede@redhat.com> 1.0-8
|
|
|
179e44d |
- Rebuild for new ClanLib
|
|
|
179e44d |
|
|
|
e659265 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7
|
|
|
e659265 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
e659265 |
|
|
|
c70b844 |
* Sat Feb 21 2009 Hans de Goede <hdegoede@redhat.com> 1.0-6
|
|
|
c70b844 |
- Fix build with gcc 4.4
|
|
|
c70b844 |
|
|
|
c4ca06c |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0-5
|
|
|
c4ca06c |
- Autorebuild for GCC 4.3
|
|
|
c4ca06c |
|
|
|
55c136c |
* Fri Jan 4 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0-4
|
|
|
55c136c |
- Fix building with gcc 4.3
|
|
|
55c136c |
|
|
|
0231b6f |
* Tue Sep 25 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0-3
|
|
|
0231b6f |
- Use opengl-games-utils wrapper to show error dialog when DRI is missing
|
|
|
0231b6f |
|
|
|
718e53b |
* Sun Aug 5 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0-2
|
|
|
718e53b |
- Update License tag for new Licensing Guidelines compliance
|
|
|
718e53b |
|
|
|
001c727 |
* Tue Oct 10 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0-1
|
|
|
001c727 |
- Initial Fedora Extras package
|