Репозитории ALT
Последнее обновление в Сб, 06 июня 2020, 00:50:49 +0000 | Пакетов: 12913
en ru
Исходные пакеты в ветвях
свернуть окно
  • 8-alt2.qa1.1
Группа :: Игры/Аркады
Исходный пакет: Cultivation
Необработанный spec-файл

Name: Cultivation
Version: 8
Release: alt3
Summary: Cultivation is a game about the interactions within a gardening community
License: GPL
Group: Games/Arcade
Url: http://cultivation.sourceforge.net/
Packager: Fr. Br. George <george at altlinux.ru>
Source0: Cultivation_8_UnixSource.tar.gz

# Automatically added by buildreq on Tue Apr 05 2011

# optimized out: libGL-devel libGLU-devel libX11-devel libstdc++-devel

BuildRequires: gcc-c++ libfreeglut-devel

BuildRequires: desktop-file-utils

Cultivation is a game about a community of gardeners growing food
for themselves in a shared space.

Cultivation is quite different from most other games. It is a
social simulation, and the primary form of conflict is over land
and plant resources --- there is no shooting, but there are plenty
of angry looks. It is also an evolution simulation. Within the
world of Cultivation, you can explore a virtually infinite
spectrum of different plant and gardener varieties.

All of the graphics, sounds, melodies,and other content in
Cultivation are 100%% procedurally generated at playtime. In other
words, there are no hand-painted texture maps --- instead, each
object has a uniquely 'grown' appearance. Every time you play,
Cultivation generates fresh visuals, music, and behaviors.

%setup -q -n %{name}_%{version}_UnixSource

sed -i -e "s|/usr/X11R6/lib|%_lib|g" game2/Makefile.GnuLinux
pushd minorGems/sound/portaudio
chmod u+x ./configure

pushd game2
rm -f gameSource/Makefile
cat \
Makefile.GnuLinux \
Makefile.common \
../minorGems/build/Makefile.minorGems \
gameSource/Makefile.all \
../minorGems/build/Makefile.minorGems_targets > gameSource/Makefile

pushd gameSource


install -dm 755 %buildroot%_bindir
install -dm 755 %buildroot%_gamesbindir
install -m 755 game2/gameSource/%name \

install -dm 755 %buildroot%_datadir/%name
install -m 644 game2/gameSource/font.tga \
install -m 644 game2/gameSource/features.txt \
install -m 644 game2/gameSource/language.txt \
install -dm 755 %buildroot%_datadir/%name/languages
install -m 644 game2/gameSource/languages/*.txt \

# startscript

cat > %name.sh <<EOF
#! /bin/bash

if [ ! -e \$HOME/.%name ]; then
mkdir -p \$HOME/.%name
cd \$HOME/.%name
cp %_datadir/%name/*.txt .
ln -s %_datadir/%name/*.tga .
ln -s %_datadir/%name/languages .

cd \$HOME/.%name
install -m 755 %name.sh \

# icon

install -dm 755 %buildroot%_datadir/pixmaps
install -m 644 game2/build/win32/iconSource.png \

install -dm 755 %buildroot/%_datadir/applications
cat > %name.desktop << EOF
[Desktop Entry]
Comment=Cultivation is a game about the interactions within a gardening community
desktop-file-install --dir=%buildroot%_datadir/applications %name.desktop --vendor=""

%doc game2/documentation/*
%dir %_datadir/%name

* Tue Apr 05 2011 Fr. Br. George <george at altlinux.ru> 8-alt3
- Forbidden requires eliminated

* Tue Dec 02 2008 Valery Inozemtsev <shrek at altlinux.ru> 8-alt2.qa1.1
- NMU:
* updated build dependencies
* removed obsolete %%update_menus/%%clean_menus calls

* Thu Apr 10 2008 Igor Vlasenko <viy at altlinux.ru> 8-alt2.qa1
- NMU (by repocop): the following fixes applied:
* update_menus for Cultivation

* Sun Sep 23 2007 Fr. Br. George <george at altlinux.ru> 8-alt2
- Desktop file fixed

* Sat Sep 22 2007 Fr. Br. George <george at altlinux.ru> 8-alt1
- Initial build for ALT

* Sun Sep 02 2007 Toni Graffy <toni@links2linux.de> - 8-0.pm.2
- fixed desktop file
* Thu Aug 07 2007 Toni Graffy <toni@links2linux.de> - 8-0.pm.1
- initial build 8
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT