packages: OGLFT/OGLFT.spec - include Qt support, remove .la, rel. 2

gotar gotar at pld-linux.org
Wed Feb 23 23:38:44 CET 2011


Author: gotar                        Date: Wed Feb 23 22:38:44 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- include Qt support, remove .la, rel. 2

---- Files affected:
packages/OGLFT:
   OGLFT.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/OGLFT/OGLFT.spec
diff -u packages/OGLFT/OGLFT.spec:1.1 packages/OGLFT/OGLFT.spec:1.2
--- packages/OGLFT/OGLFT.spec:1.1	Mon Aug  2 13:25:39 2010
+++ packages/OGLFT/OGLFT.spec	Wed Feb 23 23:38:38 2011
@@ -2,7 +2,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
@@ -13,6 +13,7 @@
 BuildRequires:	freetype-devel
 BuildRequires:	gle-devel
 BuildRequires:	libtool
+BuildRequires:	qt-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,6 +42,9 @@
 %setup -q -n oglft-%{version}
 
 %build
+QTDIR=/usr
+CPPFLAGS=-I/usr/include/qt
+export QTDIR CPPFLAGS
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -55,6 +59,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libOGLFT.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -69,7 +75,6 @@
 %doc doc/html
 %{_includedir}/oglft
 %attr(755,root,root) %{_libdir}/libOGLFT.so
-%{_libdir}/libOGLFT.la
 
 %files static
 %defattr(644,root,root,755)
@@ -81,5 +86,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/02/23 22:38:38  gotar
+- include Qt support, remove .la, rel. 2
+
 Revision 1.1  2010/08/02 11:25:39  gotar
 - initial PLD release
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/OGLFT/OGLFT.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list