Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37770357
en ru br
ALT Linux repos
S:1.8.5-alt1
5.0: 1.4.2-alt1
4.1: 1.3-alt3
4.0: 1.3-alt3

Group :: System/Libraries
RPM: libirrlicht

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static
%define realname irrlicht

Name: libirrlicht
Version: 1.4.2
Release: alt1

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-%version-alt-autotools.patch
Patch1: irrlicht-%version-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
rm -rf source/Irrlicht/libpng*

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

%install
%makeinstall

%files
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_includedir/irrlicht
%doc doc/irrlicht.chm
%doc doc/upgrade-guide.txt
%doc readme.txt changes.txt

%files examples
%_bindir/*
%_datadir/irrlicht

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

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin