]> git.pld-linux.org Git - packages/OGLFT.git/commitdiff
- include Qt support, remove .la, rel. 2 auto/th/OGLFT-0_9-2
authorTomasz Pala <gotar@pld-linux.org>
Wed, 23 Feb 2011 22:38:38 +0000 (22:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    OGLFT.spec -> 1.2

OGLFT.spec

index 7dc5de675eb4de0735c7cbef4821ba35ed4d3cb6..75e7726047531f23a08c10081a992329a6d0494b 100644 (file)
@@ -1,7 +1,7 @@
 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
@@ -12,6 +12,7 @@ BuildRequires:        automake
 BuildRequires: freetype-devel
 BuildRequires: gle-devel
 BuildRequires: libtool
+BuildRequires: qt-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,6 +41,9 @@ Static version of OGLFT.
 %setup -q -n oglft-%{version}
 
 %build
+QTDIR=/usr
+CPPFLAGS=-I/usr/include/qt
+export QTDIR CPPFLAGS
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -54,6 +58,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libOGLFT.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -68,7 +74,6 @@ 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)
This page took 0.089399 seconds and 4 git commands to generate.