From f5b6fb5d4e68690f7ecdf033aac4e497f11647bd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:45:18 +0100 Subject: [PATCH] really rebuilt with libtcl 8.6 [release 0.61-5mamba;Fri Sep 26 2014] --- tuxracer.spec | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/tuxracer.spec b/tuxracer.spec index 402a4e4..32dd7e6 100644 --- a/tuxracer.spec +++ b/tuxracer.spec @@ -1,6 +1,6 @@ Name: tuxracer Version: 0.61 -Release: 4mamba +Release: 5mamba Summary: A simple OpenGL-based racing game featuring Tux Group: Applications/Games Vendor: openmamba @@ -16,12 +16,26 @@ Patch1: tuxracer-0.61-config.patch Patch2: tuxracer-0.61-ia64.patch Patch3: tuxracer-0.61-gcc33.patch License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +BuildRequires: libICE-devel +BuildRequires: libSDL-devel +BuildRequires: libSDL_mixer-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXmu-devel +BuildRequires: libXt-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libtcl-devel +## AUTOBUILDREQ-END BuildRequires: libtcl-devel >= 8.4.7 BuildRequires: libSDL_mixer-devel >= 1.2.5 BuildRequires: libSDL-devel >= 1.2.7 -BuildRequires: libGL-devel -BuildRequires: libICE-devel -BuildRequires: libSM-devel BuildRequires: libogg-devel Obsoletes: tuxracer-data BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -38,10 +52,11 @@ The object of the game is to slide down a snow- and ice-covered mountain as quic %build +TCLVER=`pkg-config --modversion tcl | cut -d. -f1-2` CFLAGS="-DGLX_GLXEXT_LEGACY $RPM_OPT_FLAGS" \ %configure \ --with-data-dir=%{_datadir}/tuxracer \ - --with-tcl-lib-name=tcl8.4 + --with-tcl-lib-name=tcl${TCLVER} #--prefix=%{_prefix} \ #--with-gl-inc=/usr/X11R6/include \ @@ -74,14 +89,18 @@ install -m 644 %{SOURCE3} %{buildroot}%{_datadir}/applications/tuxracer.desktop [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -%defattr (-, root, root, 755) +%defattr(-,root,root,755) %{_bindir}/tuxracer %dir %{_datadir}/tuxracer %{_datadir}/tuxracer/* %{_datadir}/applications/tuxracer.desktop -%doc AUTHORS COPYING ChangeLog README contrib +%doc AUTHORS COPYING +#ChangeLog README contrib %changelog +* Fri Sep 26 2014 Silvan Calarco 0.61-5mamba +- really rebuilt with libtcl 8.6 + * Tue Jul 02 2013 Silvan Calarco 0.61-4mamba - rebuilt with libtcl 8.6