-Summary: openGL font library
-Summary(pl): latwy dostep do fontow z poziomu openGL
+Summary: OpenGL font library
+Summary(pl): £atwy dostep do fontow z poziomu OpenGL
Name: ftgl
Version: 2.1.2
Release: 1
URL: http://homepages.paradise.net.nz/henryj/code/#FTGL
BuildRequires: doxygen
BuildRequires: OpenGL-devel
-BuildRequires: freetype-devel
-Requires: OpenGL
-Requires: freetype
-Provides: libftgl
+BuildRequires: glut-devel
+BuildRequires: freetype-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define no_install_post_strip 1
+
%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.
-
+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.
+
%description -l pl
%package devel
Summary: FTGL, developers resource
Group: X11/Libraries
+Requires: freetype-devel
+Requires: OpenGL-devel
+Requires: glut-devel
%description devel
-FTGL, developers resource
+FTGL, developers resource.
%prep
%setup -q -n FTGL
%build
cd unix
-./configure \
- --with-pic \
- --prefix=%{_prefix} \
- --bindir=%{_bindir} \
- --libdir=%{_libdir} \
- --libexecdir=%{_libdir}
+%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
cd unix
-%{__make} install install_prefix=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT/usr/share/doc/ftgl $RPM_BUILD_ROOT/usr/share/doc/%{name}-devel-%{version}
+%{makeinstall}
+
+mv $RPM_BUILD_ROOT%{_datadir}/doc/ftgl $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
-%pre
-
-%post
-
-%preun
-
-%postun
-
%files devel
%defattr(644,root,root,755)
-
-#!FIXME
-#%doc COPYING.txt HISTORY.txt README.txt license.txt
-
-%attr(644,root,root) %{_includedir}/*
-%attr(755,root,root) %{_libdir}/*
-%attr(644,root,root) %{_datadir}/*
-
-%changelog
+%doc COPYING.txt HISTORY.txt README.txt
+%{_includedir}/FTGL
+%{_libdir}/*.*
+%{_pkgconfigdir}/*.pc