really rebuilt with libtcl 8.6 [release 0.61-5mamba;Fri Sep 26 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 18:45:18 +01:00
parent f23d76c1ac
commit f5b6fb5d4e

View File

@ -1,6 +1,6 @@
Name: tuxracer Name: tuxracer
Version: 0.61 Version: 0.61
Release: 4mamba Release: 5mamba
Summary: A simple OpenGL-based racing game featuring Tux Summary: A simple OpenGL-based racing game featuring Tux
Group: Applications/Games Group: Applications/Games
Vendor: openmamba Vendor: openmamba
@ -16,12 +16,26 @@ Patch1: tuxracer-0.61-config.patch
Patch2: tuxracer-0.61-ia64.patch Patch2: tuxracer-0.61-ia64.patch
Patch3: tuxracer-0.61-gcc33.patch Patch3: tuxracer-0.61-gcc33.patch
License: GPL 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: libtcl-devel >= 8.4.7
BuildRequires: libSDL_mixer-devel >= 1.2.5 BuildRequires: libSDL_mixer-devel >= 1.2.5
BuildRequires: libSDL-devel >= 1.2.7 BuildRequires: libSDL-devel >= 1.2.7
BuildRequires: libGL-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libogg-devel BuildRequires: libogg-devel
Obsoletes: tuxracer-data Obsoletes: tuxracer-data
BuildRoot: %{_tmppath}/%{name}-%{version}-root 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 %build
TCLVER=`pkg-config --modversion tcl | cut -d. -f1-2`
CFLAGS="-DGLX_GLXEXT_LEGACY $RPM_OPT_FLAGS" \ CFLAGS="-DGLX_GLXEXT_LEGACY $RPM_OPT_FLAGS" \
%configure \ %configure \
--with-data-dir=%{_datadir}/tuxracer \ --with-data-dir=%{_datadir}/tuxracer \
--with-tcl-lib-name=tcl8.4 --with-tcl-lib-name=tcl${TCLVER}
#--prefix=%{_prefix} \ #--prefix=%{_prefix} \
#--with-gl-inc=/usr/X11R6/include \ #--with-gl-inc=/usr/X11R6/include \
@ -74,14 +89,18 @@ install -m 644 %{SOURCE3} %{buildroot}%{_datadir}/applications/tuxracer.desktop
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files
%defattr (-, root, root, 755) %defattr(-,root,root,755)
%{_bindir}/tuxracer %{_bindir}/tuxracer
%dir %{_datadir}/tuxracer %dir %{_datadir}/tuxracer
%{_datadir}/tuxracer/* %{_datadir}/tuxracer/*
%{_datadir}/applications/tuxracer.desktop %{_datadir}/applications/tuxracer.desktop
%doc AUTHORS COPYING ChangeLog README contrib %doc AUTHORS COPYING
#ChangeLog README contrib
%changelog %changelog
* Fri Sep 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.61-5mamba
- really rebuilt with libtcl 8.6
* Tue Jul 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.61-4mamba * Tue Jul 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.61-4mamba
- rebuilt with libtcl 8.6 - rebuilt with libtcl 8.6