Summary: OpenGL frontend to freetype2
Summary(pl.UTF-8): Nakładka OpenGL na freetype2 - łatwy dostęp do fontów z poziomu OpenGL
Name: ftgl
-Version: 2.1.2
-Release: 3
+Version: 2.1.3
+Release: 0.rc5.1
Epoch: 0
License: LGPL
Group: X11/Libraries
# original URL (dead ATM): http://opengl.geek.nz/ftgl/%{name}-%{version}.tar.gz
-Source0: ftp://ftp.pl.debian.org/pub/debian/pool/main/f/ftgl/%{name}_%{version}.orig.tar.gz
-# Source0-md5: 3eabec9ad37371c4d139408c7ffd2429
-Patch0: %{name}-Makefiles.patch
-Patch1: %{name}-gcc4.patch
+Source0: http://dl.sourceforge.net/ftgl/%{name}-%{version}-rc5.tar.gz
+# Source0-md5: fcf4d0567b7de9875d4e99a9f7423633
URL: http://homepages.paradise.net.nz/henryj/code/#FTGL
BuildRequires: OpenGL-GLU-devel
+BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: freetype-devel >= 2.0.9
BuildRequires: libstdc++-devel
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
FTGL is a free, open source library to enable developers to use
arbitrary fonts in their OpenGL (http://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
-(http://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.
+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 (http://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.
%description -l pl.UTF-8
FTPGL to wolnodostępna biblioteka z otwartymi źródłami umożliwiająca
Statyczna biblioteka FTGL.
%prep
-%setup -q -n FTGL
-%patch0 -p1
-%patch1 -p1
+%setup -q -n %{name}-%{version}~rc5
%build
-cd unix
-install /usr/share/automake/config.* .
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--enable-shared
-%{__make}
+%{__make} \
+ ECHO=/bin/echo
%install
rm -rf $RPM_BUILD_ROOT
-
-%{makeinstall} -C unix
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ ECHO=/bin/echo
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
%files
%defattr(644,root,root,755)
-%doc HISTORY.txt README.txt license.txt
+%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO
%attr(755,root,root) %{_libdir}/libftgl.so.*.*.*
%files devel
%defattr(644,root,root,755)
-%doc unix/docs/html
+%doc docs/html docs/latex/ftgl.pdf
%attr(755,root,root) %{_libdir}/libftgl.so
%{_libdir}/libftgl.la
%{_includedir}/FTGL