Репозитории ALT
S: | 2020.3.17-alt1 |
5.1: | 1.9.1-alt2 |
4.1: | 1.0.0-alt1.1 |
4.0: | 0.9.10-alt1 |
3.0: | 0.9.8-alt2 |
Группа :: Игры/Аркады
Пакет: FlightGear
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define fgrun_ver 0.4.6
Name: FlightGear
Version: 0.9.10
Release: alt1
Summary: FlightGear - best opensource fly simulation engine
License: GPL
Group: Games/Arcade
Url: http://www.flightgear.org
Source: %name-%version.tar.gz
Source1: fgrun-%fgrun_ver.tar.bz2
Source2: %name.menu
Source3: FlightGear-22x22.xpm
Source4: FlightGear-32x32.xpm
Source5: FlightGear-48x48.xpm
Source6: alt-fgrun-fgfs-location-fix.patch
Source7: fgrun_fltk_mt_not_supported_fix.patch
Packager: Michael Shigorin <mike at altlinux.org>
Requires: fgfs-data
# Automatically added by buildreq on Thu Mar 02 2006
BuildRequires: SimGear-devel esound fontconfig freetype2 gcc-c++ imake libICE-devel
BuildRequires: libSDL-devel libSM-devel libX11-devel libXext-devel libXi-devel libXmu-devel
BuildRequires: libXt-devel libfltk-devel libglut-devel libmesa-devel libopenal-devel libstdc++-devel
BuildRequires: nvidia_glx_common plib-devel xorg-cf-files xorg-x11-proto-devel zlib-devel
%description
FlightGear is a free, open-source, multi-platform, and sophisticated flight
simulator framework for the development and pursuit of interesting
flight simulator ideas.
This package contains main engine
%prep
%setup -q -n %name-%version
%build
%configure --enable-sdl --with-x
#non-parallel build (cause it fails with parallel build)
%make
tar xfj %SOURCE1
pushd fgrun-%fgrun_ver
patch -p1 < %SOURCE6
patch -p1 < %SOURCE7
./autogen.sh
%configure
%make_build
popd
%install
%make DESTDIR=%buildroot install
pushd fgrun-%fgrun_ver
%make DESTDIR=%buildroot install
popd
mkdir -p %buildroot%_menudir
mkdir -p %buildroot%_liconsdir
mkdir -p %buildroot%_miconsdir
mkdir -p %buildroot%_datadir/%name
install -p -m644 %SOURCE2 %buildroot%_menudir/%name
install -p -m644 %SOURCE3 %buildroot%_miconsdir/%name.xpm
install -p -m644 %SOURCE4 %buildroot%_iconsdir/%name.xpm
install -p -m644 %SOURCE5 %buildroot%_liconsdir/%name.xpm
%post
%update_menus
%postun
%clean_menus
%files
%_bindir/est-epsilon
%_bindir/fgfs
%_bindir/fgjs
%_bindir/fgrun
%_bindir/gl-info
%_bindir/js_demo
%_bindir/metar
%_bindir/terrasync
%_bindir/yasim
%_man1dir/est-epsilon.1.gz
%_man1dir/fgfs.1.gz
%_man1dir/fgjs.1.gz
%_man1dir/gl-info.1.gz
%_man1dir/js_demo.1.gz
%_man1dir/pstest.1.gz
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
%_menudir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Name: FlightGear
Version: 0.9.10
Release: alt1
Summary: FlightGear - best opensource fly simulation engine
License: GPL
Group: Games/Arcade
Url: http://www.flightgear.org
Source: %name-%version.tar.gz
Source1: fgrun-%fgrun_ver.tar.bz2
Source2: %name.menu
Source3: FlightGear-22x22.xpm
Source4: FlightGear-32x32.xpm
Source5: FlightGear-48x48.xpm
Source6: alt-fgrun-fgfs-location-fix.patch
Source7: fgrun_fltk_mt_not_supported_fix.patch
Packager: Michael Shigorin <mike at altlinux.org>
Requires: fgfs-data
# Automatically added by buildreq on Thu Mar 02 2006
BuildRequires: SimGear-devel esound fontconfig freetype2 gcc-c++ imake libICE-devel
BuildRequires: libSDL-devel libSM-devel libX11-devel libXext-devel libXi-devel libXmu-devel
BuildRequires: libXt-devel libfltk-devel libglut-devel libmesa-devel libopenal-devel libstdc++-devel
BuildRequires: nvidia_glx_common plib-devel xorg-cf-files xorg-x11-proto-devel zlib-devel
%description
FlightGear is a free, open-source, multi-platform, and sophisticated flight
simulator framework for the development and pursuit of interesting
flight simulator ideas.
This package contains main engine
%prep
%setup -q -n %name-%version
%build
%configure --enable-sdl --with-x
#non-parallel build (cause it fails with parallel build)
%make
tar xfj %SOURCE1
pushd fgrun-%fgrun_ver
patch -p1 < %SOURCE6
patch -p1 < %SOURCE7
./autogen.sh
%configure
%make_build
popd
%install
%make DESTDIR=%buildroot install
pushd fgrun-%fgrun_ver
%make DESTDIR=%buildroot install
popd
mkdir -p %buildroot%_menudir
mkdir -p %buildroot%_liconsdir
mkdir -p %buildroot%_miconsdir
mkdir -p %buildroot%_datadir/%name
install -p -m644 %SOURCE2 %buildroot%_menudir/%name
install -p -m644 %SOURCE3 %buildroot%_miconsdir/%name.xpm
install -p -m644 %SOURCE4 %buildroot%_iconsdir/%name.xpm
install -p -m644 %SOURCE5 %buildroot%_liconsdir/%name.xpm
%post
%update_menus
%postun
%clean_menus
%files
%_bindir/est-epsilon
%_bindir/fgfs
%_bindir/fgjs
%_bindir/fgrun
%_bindir/gl-info
%_bindir/js_demo
%_bindir/metar
%_bindir/terrasync
%_bindir/yasim
%_man1dir/est-epsilon.1.gz
%_man1dir/fgfs.1.gz
%_man1dir/fgjs.1.gz
%_man1dir/gl-info.1.gz
%_man1dir/js_demo.1.gz
%_man1dir/pstest.1.gz
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
%_menudir/%name
%changelog
…
Полный changelog можно просмотреть здесь