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

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

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

Name: libftgl
Version: 2.1.2
Release: alt1

License: LGPL/BSD-like
Group: System/Libraries
Url: http://homepages.paradise.net.nz/henryj/code/#FTGL

Summary: OpenGL frontend to Freetype 2

Packager: Vitaly Lipatov <lav at altlinux.ru>

# http://www.rpmfind.net//linux/RPM/fedora/updates/7/SRPMS/ftgl-2.1.2-5.fc7.src.html

Source: http://opengl.geek.nz/ftgl/ftgl-%version.tar.bz2
Patch0: ftgl-2.1.2-destdir.patch
Patch1: ftgl-2.1.2-Glyph-g++_41.patch
Patch2: ftgl-2.1.2-pc_req.patch
Patch3: ftgl-2.1.2-ttf_font.patch
Patch4: ftgl-2.1.2-rpath_FTGLDemo.patch

# manually removed: nvidia_glx_100.14.11

# Automatically added by buildreq on Sun Oct 28 2007
BuildRequires: doxygen freeglut-devel gcc-c++ imake libfreetype-devel libmesa-devel xorg-cf-files

%description
FTGL is a free open source library to enable developers to use arbitrary
fonts in their OpenGL (www.opengl.org)  applications.
Unlike other OpenGL font libraries FTGL uses standard font file formats
so doesn't need a preprocessing step to convert the high quality font data
into a lesser quality, proprietary format.
FTGL uses the Freetype (www.freetype.org) font library to open and 'decode'
the fonts. It then takes that output and stores it in a format most efficient
for OpenGL rendering.

%package devel
Summary: Development files for FTGL
Group: Development/C
Requires: %name = %version

%description devel
Header files for FTGL library.

%prep
%setup -q -n FTGL
%patch0 -p1 -b .destdir
%patch1 -p1 -b .Glyph
%patch2 -p1 -b .req
%patch3 -p1 -b .ttf_font
%patch4 -p1 -b .rpath

chmod 0644 README.txt
chmod 0644 include/*
chmod 0644 src/*

#install -pm 0644 demo/README.txt README-demo.txt


# Fix version of the package

sed -i.fixed_version -e 's|2.0.5|%{version}|g' unix/configure.ac unix/configure

%build
pushd unix
%configure --disable-freetypetest --enable-shared --disable-static
%make_build
popd

%install
pushd unix
%make_install install DESTDIR=%buildroot
popd

# use Google search

rm -rf %buildroot%_docdir/ftgl


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

%files
%exclude %_bindir
%doc COPYING.txt HISTORY.txt license.txt README.txt demo
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_pkgconfigdir/*
%_includedir/FTGL/
#%doc %_docdir/ftgl

#%files demo

#%doc README-demo.txt
#%_bindir/FTGLDemo


%changelog

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

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