Sisyphus repository
Last update: 24 june 2019 | SRPMs: 17678 | Visits: 14172404
en ru br
ALT Linux repos

Group :: Development/C++
RPM: cegui0.7

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/dot /usr/bin/doxygen gcc-c++
# END SourceDeps(oneline)
# see
%define _localstatedir %{_var}
# %%version is ahead of its definition. Predefining for rpm 4.0 compatibility.
%define version 0.7.9
%define uname cegui
%define libname lib%{uname}%{version}
%define develname lib%{uname}-devel

Summary: A free library providing windowing and widgets for graphics APIs / engines
Name: cegui0.7
Version: 0.7.9
Release: alt1_14
License: MIT
Group: Development/C++
Patch1: cegui-0.7.9-gcc7.patch
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(libpcre)
BuildRequires: libfreeimage-devel
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(xerces-c)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: libdevil-devel
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(tinyxml)
BuildRequires: pkgconfig(fribidi)
BuildRequires: libirrlicht-devel

Crazy Eddie's GUI System is a free library providing windowing and widgets for
graphics APIs / engines where such functionality is not natively available,
or severely lacking. The library is object orientated, written in C++,
and targeted at games developers who should be spending their time creating
great games, not building GUI sub-systems!

%package -n %{libname}
Summary: CEGUI library
Group: Games/Other

%description -n %{libname}
This is a library used by CEGUI.

%package -n %{develname}
Summary: Development files for CEGUI
Group: Development/C++
Requires: %{libname} = %{version}-%{release}
Provides: lib%{uname}-devel = %{version}-%{release}
Provides: %{uname}-devel = %{version}-%{release}
Conflicts: libCEUI0.6-devel

%description -n  %{develname}
Development file for CEGUI.

%setup -q -n CEGUI-%{version}
%patch1 -p1

%configure \
--with-gtk2 \
--disable-static --disable-corona --disable-samples \
--enable-freeimage \
--disable-directfb-renderer --disable-irrlicht-renderer \
--enable-bidirectional-text \
--with-default-xml-parser=ExpatParser \

# Don't use rpath!

sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool



find %{buildroot} -name '*.la' -delete

%files -n %{libname}

%files -n %{develname}
%exclude %{_libdir}/libCEGUI*-%{version}.so


Full changelog you can see here

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