Репозитории 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 1.0.0
Name: FlightGear
Version: 1.0.0
Release: alt1.1
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: alt-fgrun-expat-link-fix.patch
Patch1: FlightGear-1.0.0-alt-expat-fix.patch
Packager: Albert R. Valiev <darkstar at altlinux.ru>
Requires: fgfs-data
# Automatically added by buildreq on Tue Jan 08 2008
BuildRequires: esound fontconfig gcc-c++ imake libexpat-devel libfltk-devel libglut-devel libmesa-devel libopenal-devel
BuildRequires: libSDL-devel libXft-devel plib-devel SimGear-devel >= 1.0.0-alt1 xorg-cf-files automake autoconf
%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
%patch1 -p1
%build
%configure --enable-sdl --with-x
%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/al-info
%_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: 1.0.0
Release: alt1.1
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: alt-fgrun-expat-link-fix.patch
Patch1: FlightGear-1.0.0-alt-expat-fix.patch
Packager: Albert R. Valiev <darkstar at altlinux.ru>
Requires: fgfs-data
# Automatically added by buildreq on Tue Jan 08 2008
BuildRequires: esound fontconfig gcc-c++ imake libexpat-devel libfltk-devel libglut-devel libmesa-devel libopenal-devel
BuildRequires: libSDL-devel libXft-devel plib-devel SimGear-devel >= 1.0.0-alt1 xorg-cf-files automake autoconf
%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
%patch1 -p1
%build
%configure --enable-sdl --with-x
%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/al-info
%_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 можно просмотреть здесь