[sisyphus] Trigger, TORCS ....

Igor Zubkov =?iso-8859-1?q?icesik_=CE=C1_mail=2Eru?=
Ср Ноя 2 09:32:47 MSK 2005


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

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

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

-- 
Now playing: Oomph! [Sperm] [] Das Ist Freiheit
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : torcs-1.2.4-alt-remove-gdb.patch
Тип     : text/x-diff
Размер  : 989 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20051102/aefe17ab/attachment-0002.bin>
----------- следующая часть -----------
%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


Подробная информация о списке рассылки Sisyphus