Name: biloba Version: 0.9.3 Release: 23%{?dist} Summary: A tactical board game License: GPLv2+ URL: http://biloba.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: biloba.desktop BuildRequires: gcc autoconf automake BuildRequires: desktop-file-utils ImageMagick SDL_image-devel SDL_mixer-devel BuildRequires: make Requires: hicolor-icon-theme %description Biloba is a very innovative tactical board game. It can be played by 2, 3 or 4 players and against the computer (AI). You will be able to play on the same computer or online against your opponents. %prep %setup -q %build autoreconf -if CFLAGS="-fcommon -g" export CFLAGS ./configure --prefix=%{_prefix} make %{?_smp_mflags} iconv -f iso-8859-1 -t utf-8 ChangeLog -o ChangeLog.char mv ChangeLog.char ChangeLog %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{64x64,32x32,16x16}/apps cp -p biloba_icon.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/biloba.png convert -scale 32x32 biloba_icon.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/biloba.png convert -scale 16x16 biloba_icon.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/biloba.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 < biloba.desktop CC0-1.0 Strategic board game

Biloba is a board game for 2 to 4 players that involves moving pawns around on an octagonal board with square cells. The goal of bilboa is to remove all of your opponent's pawns. Bilboa can be played both against AI and real opponents.

http://biloba.sourceforge.net/ http://biloba.sourceforge.net/2p.png http://biloba.sourceforge.net/3p.png http://biloba.sourceforge.net/4p.png
EOF desktop-file-install \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE1} %files %doc AUTHORS ChangeLog COPYING %{_bindir}/* %{_datadir}/%{name} %{_datadir}/icons/hicolor/??x??/apps/%{name}.png %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %changelog * Tue Jan 26 2021 Fedora Release Engineering - 0.9.3-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.9.3-22 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.9.3-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Gwyn Ciesla - 0.9.3-20 - Fix FTBFS. * Tue Jan 28 2020 Fedora Release Engineering - 0.9.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.9.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.9.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.9.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.9.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Jan 07 2018 Igor Gnatenko - 0.9.3-14 - Remove obsolete scriptlets * Wed Aug 02 2017 Fedora Release Engineering - 0.9.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.9.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.9.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.9.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.9.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Mar 26 2015 Richard Hughes - 0.9.3-8 - Add an AppData file for the software center * Fri Aug 15 2014 Fedora Release Engineering - 0.9.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.9.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.9.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Feb 09 2013 Jon Ciesla - 0.9.3-4 - Drop desktop vendor tag. * Wed Jul 18 2012 Fedora Release Engineering - 0.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Oct 20 2011 Jon Ciesla - 0.9.3-1 - New upstream. * Mon Feb 07 2011 Fedora Release Engineering - 0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Feb 02 2011 Jon Ciesla - 0.8-1 - New upstream. * Thu May 6 2010 josef radinger - 0.6-5 - Fix typo in %%description * Fri Apr 30 2010 Jon Ciesla - 0.6-4 - Fixed URL. * Fri Jul 24 2009 Fedora Release Engineering - 0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Mar 09 2008 RafaƂ Psota - 0.6-1 - Initial release