ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Igor Zubkov <icesik@mail.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Trigger, TORCS ....
Date: Wed, 2 Nov 2005 08:32:47 +0200
Message-ID: <200511020832.49665.icesik@mail.ru> (raw)
In-Reply-To: <200511011052.02946.trash4@yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

В сообщении от Вторник, 01-Ноя-2005 12:52 Guest007 написал(a):
> Вот, что Сизифная, что Дедальная версия ругается так:

Гм... немогу они ругатся одинаково. Не могу!

Раз ты говоришь что таскаеш src.rpm из Дедала, то держи аттач. Пересоберёш и 
поставишь. Эта сборка у меня работает.

-- 
Now playing: Oomph! [Sperm] [] Das Ist Freiheit

[-- Attachment #2: torcs-1.2.4-alt-remove-gdb.patch --]
[-- Type: text/x-diff, Size: 989 bytes --]

diff -urN torcs-1.2.4.orig/src/linux/torcs.in torcs-1.2.4/src/linux/torcs.in
--- torcs-1.2.4.orig/src/linux/torcs.in	2005-08-24 22:19:47 +0300
+++ torcs-1.2.4/src/linux/torcs.in	2005-10-22 23:27:37 +0300
@@ -55,20 +55,21 @@
 	    ldd $LIBDIR/torcs-bin
 	    ;;
 
-	# Run under GDB
-	-d) shift
-	    gdb  $LIBDIR/torcs-bin <<EOF
-r -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*
-bt
-EOF
-	    ;;
-
-	-e) shift
-	    echo "cd $DATADIR"
-	    echo "export LD_LIBRARY_PATH=$LIBDIR/lib:$LD_LIBRARY_PATH"
-	    echo "gdb  $LIBDIR/torcs-bin"
-	    echo "r -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*"
-	    ;;
+#
+#	# Run under GDB
+#	-d) shift
+#	    gdb  $LIBDIR/torcs-bin <<EOF
+#r -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*
+#bt
+#EOF
+#	    ;;
+#
+#	-e) shift
+#	    echo "cd $DATADIR"
+#	    echo "export LD_LIBRARY_PATH=$LIBDIR/lib:$LD_LIBRARY_PATH"
+#	    echo "gdb  $LIBDIR/torcs-bin"
+#	    echo "r -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*"
+#	    ;;
 
 	-h)
 	    echo "usage: torcs [-l|-d|-e]"

[-- Attachment #3: TORCS.spec --]
[-- Type: text/plain, Size: 4286 bytes --]

%define _menudir %_prefix/lib/menu
%define _miconsdir %_prefix/share/icons/mini
%define _iconsdir %_prefix/share/icons
%define _liconsdir %_prefix/share/icons/large

%define AutoReq nolib

%add_findprov_lib_path %_libdir/torcs/lib

Name: TORCS
Version: 1.2.4
Release: alt2

Summary: The Open Racing Car Simulator
License: GPL
Group: Games/Sports
Url: http://torcs.sourceforge.net/

Packager: Igor Zubkov <icesik@altlinux.ru>

Source0: %name-%version-src.tgz
Source1: %name-%version-src-robots-base.tgz
Source2: %name-%version-src-robots-berniw.tgz
Source3: %name-%version-src-robots-bt.tgz
Source4: %name-%version-src-robots-olethros.tgz
Source11: %name.16.xpm
Source12: %name.32.xpm
Source13: %name.48.xpm

Patch3: torcs-1.2.4-alt-remove-gdb.patch

Requires: %name-data = %version
Requires: %name-data-tracks = %version
Requires: %name-data-cars = %version

# Automatically added by buildreq on Sun Oct 09 2005
BuildRequires: esound gcc-c++ libopenal-devel libpng-devel libstdc++-devel nvidia_glx_common plib-devel xorg-x11-devel xorg-x11-mesagl zlib-devel

%description
A 3D racing car simulator using OpenGL.

%prep
%setup -q -n torcs-%version
%setup -q -T -D -b 1 -n torcs-%version
%setup -q -T -D -b 2 -n torcs-%version
%setup -q -T -D -b 3 -n torcs-%version
%setup -q -T -D -b 4 -n torcs-%version

%patch3 -p1

%build
export TORCS_BASE=`pwd` MAKE_DEFAULT=`pwd`/Make-default.mk
export CFLAGS="$CFLAGS -fPIC"
export CXXFLAGS="$CXXFLAGS -fPIC"
%configure
%make_build

%install
%make_install DESTDIR=%buildroot install

# Menu
%__mkdir -p %buildroot%_menudir
%__cat << EOF > %buildroot%_menudir/%name
?package(%name): \
needs="x11" \
section="Amusement/Sports" \
title="%name" \
longtitle="The Open Racing Car Simulator" \
command="torcs" \
icon="%name.xpm"
EOF

# Icons
%__mkdir -p %buildroot%_miconsdir
%__mkdir -p %buildroot%_liconsdir
%__install -m 644 %SOURCE11 %buildroot%_miconsdir/%name.xpm
%__install -m 644 %SOURCE12 %buildroot%_iconsdir/%name.xpm
%__install -m 644 %SOURCE13 %buildroot%_liconsdir/%name.xpm

%post
%update_menus

%postun
%clean_menus

%files
%doc CHANGELOG.html README.linux TODO.html README
%_bindir/*
%_libdir/torcs/*
%_datadir/games/torcs/*
%_menudir/%name
%_miconsdir/%name.xpm
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm

%changelog
* Fri Oct 21 2005 Igor Zubkov <icesik@altlinux.ru> 1.2.4-alt2
- remove old patch1
- change %%prefix to %%_prefix
- remove gdb from requires :-) (patch3)

* Sat Oct 08 2005 Igor Zubkov <icesik@altlinux.ru> 1.2.4-alt1
- update to 1.2.4 (#3787)
- removed robots: K1999, astigot and billy
- removed some docs
- add new robot olethros
- update buildrequires and requires

* Fri Oct 07 2005 Igor Zubkov <icesik@altlinux.ru> 1.2.2-alt3
- change _libdir from /usr/lib/torcs to /usr/lib/games/torcs
- update url
- update and clean up buildrequires
- change %%make to %%make_build
- change %%makeinstall to %%make_install
- remove COPYING file from package
- clean up spec file
- fix some rpmlint warnings
- #7649

* Tue Jun 29 2004 Alexander Belov <asbel@altlinux.ru> 1.2.2-alt2
- Change menu file location from /usr/share/menu -> /usr/lib/menu

* Mon Mar 22 2004 Alexander Belov <asbel@altlinux.ru> 1.2.2-alt1
- New versin 1.2.2
- New robots: billy, bt, astigot

* Mon Jan 05 2004 Alexander Belov <asbel@altlinux.ru> 1.2.1-alt4
- Fixed gcc-3.x compile
- Cleanup spec
- Updating BuildRequires

* Wed Dec 17 2003 Alexander Belov <asbel@altlinux.ru> 1.2.1-alt3
- Replace %make_build to %make
- Updating BuildRequires

* Thu Dec 11 2003 Alexander Belov <asbel@altlinux.ru> 1.2.1-alt2
- Move *.so from /usr/share/games/torcs to /usr/lib/games/torcs
- Added -fPIC option for compiler

* Wed Apr 30 2003 Alexander Belov <asbel@altlinux.ru> 1.2.1-alt1
- New version
- Adding documentation

* Fri Apr 4 2003 Alexander Belov <asbel@mail.ru> 1.2.0-alt1
- Sisyphus first release

* Mon Mar 24 2003 Eric EspiИ <Eric.Espie@free.fr> 1.2.0
- new version

* Mon Jul 15 2002 Eric EspiИ <Eric.Espie@free.fr> 1.1.0-2
- improved specfile

* Sat Jul 13 2002 Eric EspiИ <Eric.Espie@free.fr> 1.1.0
- version 1.1.0

* Mon Dec 17 2001 Eric EspiИ <Eric.Espie@free.fr> 1.0.0
- version 1.0.0 final

* Sun Dec  9 2001 Eric EspiИ <Eric.Espie@free.fr> 1.0.0-rc5
- installation updates

* Sat Dec  8 2001 Eric EspiИ <Eric.Espie@free.fr> 1.0.0-rc4
- initial RPM

  parent reply	other threads:[~2005-11-02  6:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01 10:52 Guest007
2005-11-01 10:41 ` Genix
2005-11-01 11:52   ` Guest007
2005-11-01 17:15 ` Igor Zubkov
2005-11-02  6:05   ` Guest007
2005-11-02  6:32 ` Igor Zubkov [this message]
2005-11-02  7:57   ` Guest007
2005-11-02  8:38   ` Guest007
2005-11-02 11:17     ` Igor Zubkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511020832.49665.icesik@mail.ru \
    --to=icesik@mail.ru \
    --cc=icesik@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git