Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570712
en ru br
Репозитории ALT
S:1.8.5-alt1
5.1: 1.4.2-alt1
4.1: 1.3-alt3
4.0: 1.3-alt3
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libirrlicht

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable static
%define realname irrlicht

Name: libirrlicht
Version: 1.3
Release: alt3

Summary: Fast Open-source 3D engine
License: BSD-style
Group: System/Libraries
Url: http://irrlicht.sourceforge.net/
Packager: Damir Shayhutdinov <damir at altlinux.ru>

Source0: %realname-%version.tar.bz2
Patch0: irrlicht-1.3-alt-autotools.patch
Patch1: irrlicht-1.3-alt-use-system-libs.patch
BuildPreReq: libX11-devel libXxf86vm-devel libGLU-devel libpng-devel gcc-c++ zlib-devel
BuildPreReq: libjpeg-devel pkg-config unzip


%description
The Irrlicht Engine is a cross-platform high performance realtime 3D engine written in C++. It is a powerful high level API for creating complete 3D and 2D applications like games or scientific visualizations. It comes with an excellent documentation and integrates all the state-of-the-art features for visual representation like dynamic shadows, particle systems, character animation, indoor and outdoor technology, and collision detection. All this is accessible through a well designed C++ interface, which is extremely easy to use.


%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Headers for building software that uses %name

%package examples
Summary: Examples for %name
Group: Development/C
Requires: %name = %version-%release

%description examples
Examples that uses %name

%if_enabled static
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static libs for building statically linked software that uses %name
%endif

%prep
%setup -q -n %realname-%version
%patch0 -p2
%patch1 -p1

%build
autoreconf -fisv
%configure %{subst_enable static}
%make_build

%install
%makeinstall

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%doc readme.txt changes.txt

%files devel
%_libdir/*.so
%_includedir/irrlicht
%doc doc/Irrlicht.chm

%files examples
%_bindir/*
%_datadir/irrlicht

%if_enabled static
%files -n lib%name-devel-static
%_libdir/lib%name.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin