Summary: OpenGL-FreeType Library
Name: OGLFT
Version: 0.9
-Release: 1
+Release: 2
License: LGPL
Group: Libraries
Source0: http://downloads.sourceforge.net/oglft/oglft-%{version}.tar.gz
BuildRequires: freetype-devel
BuildRequires: gle-devel
BuildRequires: libtool
+BuildRequires: qt-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%setup -q -n oglft-%{version}
%build
+QTDIR=/usr
+CPPFLAGS=-I/usr/include/qt
+export QTDIR CPPFLAGS
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libOGLFT.la
+
%clean
rm -rf $RPM_BUILD_ROOT
%doc doc/html
%{_includedir}/oglft
%attr(755,root,root) %{_libdir}/libOGLFT.so
-%{_libdir}/libOGLFT.la
%files static
%defattr(644,root,root,755)