Name: foobillard Version: 3.0a Release: 28%{?dist} Summary: OpenGL billard game Group: Amusements/Games License: GPLv2 URL: http://foobillard.sunsite.dk/ # Based on http://foobillard.sunsite.dk/dnl/foobillard-3.0a.tar.gz Source0: foobillard-3.0a-hobbled.tar.bz2 Source1: foobillard.desktop Source2: hobble-foobillard.sh Patch0: foobillard-3.0a-nonv.patch Patch1: foobillard-3.0a-no-fonts.patch Patch2: foobillard-3.0a-clothtex.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: dejavu-sans-fonts BuildRequires: SDL-devel ImageMagick alsa-lib-devel BuildRequires: freetype-devel libpng-devel perl-interpreter zlib-devel freeglut-devel BuildRequires: libGL-devel libGLU-devel libX11-devel libXaw-devel libXi-devel %description FooBillard is an attempt to create a free OpenGL-billard for Linux. FooBillard is still under development but the main physics is implemented. %prep %setup -q -n foobillard-3.0a %patch0 -p1 %patch1 -p1 -b .no-fonts %patch2 -p0 -b .clothtex %build iconv -f iso-8859-1 -t utf-8 < ChangeLog > _ mv _ ChangeLog %configure --disable-nvidia --enable-SDL CFLAGS="${RPM_OPT_FLAGS} -DUSE_SOUND" make %{?_smp_mflags} convert -resize 48 data/foobillard.png foobillard.png %install rm -rf $RPM_BUILD_ROOT %makeinstall mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications install -pm 644 %{SOURCE1} \ $RPM_BUILD_ROOT%{_datadir}/applications/foobillard.desktop mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6 install -pm 644 foobillard.6 $RPM_BUILD_ROOT%{_mandir}/man6 install -D -p -m 644 foobillard.png \ $RPM_BUILD_ROOT%{_datadir}/pixmaps/foobillard.png %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README TODO %doc foobillardrc.example %{_bindir}/foobillard %{_datadir}/applications/foobillard.desktop %{_datadir}/foobillard %{_datadir}/pixmaps/foobillard.png %{_mandir}/man6/* %changelog * Wed Aug 02 2017 Fedora Release Engineering - 3.0a-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 3.0a-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 3.0a-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 3.0a-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 3.0a-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 3.0a-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.0a-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 3.0a-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Feb 11 2013 Jon Ciesla - 3.0a-20 - Drop desktop vendor tag. * Thu Jul 19 2012 Fedora Release Engineering - 3.0a-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Mar 12 2012 Jon Ciesla - 3.0a-18 - Build with SDL to fix sound, BZ 801588. * Wed Mar 07 2012 Jon Ciesla - 3.0a-17 - Patch to fix cloth texture, BZ 709202. - Build with glut. * Fri Jan 13 2012 Fedora Release Engineering - 3.0a-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 7 2011 Miloslav Trmač - 3.0a-15 - Add dist tag - Rebuild with newer libpng * Tue Feb 08 2011 Fedora Release Engineering - 3.0a-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 3.0a-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Mar 06 2009 Jesse Keating - 3.0a-12 - Correct the fonts requires due to package name change * Tue Feb 24 2009 Fedora Release Engineering - 3.0a-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Dec 6 2008 Miloslav Trmač - 3.0a-10 - Add SportsGame category to foobillard.spec Resolves: #465700 * Thu Dec 4 2008 Miloslav Trmač - 3.0a-9 - Use a more specific dejavu-fonts requirement Resolves: #473554 * Mon Sep 15 2008 Miloslav Trmač - 3.0a-8 - Add missing Requires: dejavu-fonts Resolves: #462168 * Sat Jul 19 2008 Miloslav Trmač - 3.0a-7 - Don't ship the non-free fonts - Update License: - Fix foobillard.desktop - Convert ChangeLog to UTF-8 - Don't ship empty NEWS * Tue Feb 19 2008 Fedora Release Engineering - 3.0a-6 - Autorebuild for GCC 4.3 * Wed Sep 13 2006 Miloslav Trmac - 3.0a-5 - Rebuild for Fedora Extras 6 * Mon Feb 20 2006 Miloslav Trmac - 3.0a-4 - Rebuild for Fedora Extras 5 * Tue Jan 31 2006 Miloslav Trmac - 3.0a-3 - Update BuildRequires for modular X * Fri Apr 7 2005 Michael Schwendt - rebuilt * Mon Feb 14 2005 Gerard Milmeister - 0:3.0-a.1 - Added BuildRequires: xorg-x11-devel libGL.so.1 libGLU.so.1 * Mon Jul 5 2004 Miloslav Trmac - 0:3.0-0.fdr.2.a - Add missing BuildRequires: alsa-lib-devel libGLU * Thu Apr 29 2004 Miloslav Trmac 0:3.0-0.fdr.1.a - Update to foobillard-3.0a * Tue Jan 6 2004 Miloslav Trmac 0:2.9-0.fdr.1 - Update to foobillard-2.9 * Mon Oct 6 2003 Warren Togami 0:2.8-0.fdr.3 - Ville's spec patch #713 * Sat Oct 4 2003 Miloslav Trmac 0:2.8-0.fdr.2 - Use $RPM_OPT_FLAGS - Use 'fedora' as desktop file vendor - Preserve timestamps of the desktop file and the man page * Sat Sep 13 2003 Miloslav Trmac 0:2.8-0.fdr.1 - Initial Fedora package