[packages/OGLFT] - pl, completed dependencies, use rpmcppflags

qboosh qboosh at pld-linux.org
Sat Dec 7 16:00:11 CET 2013


commit 0c91027c0a121dab0d8dbe48dd9c6b5323859574
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Dec 7 16:01:34 2013 +0100

    - pl, completed dependencies, use rpmcppflags

 OGLFT.spec | 43 ++++++++++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 11 deletions(-)
---
diff --git a/OGLFT.spec b/OGLFT.spec
index af9bae3..5019374 100644
--- a/OGLFT.spec
+++ b/OGLFT.spec
@@ -1,19 +1,22 @@
 Summary:	OpenGL-FreeType Library
+Summary(pl.UTF-8):	Biblioteka OpenGL-FreeType
 Name:		OGLFT
 Version:	0.9
 Release:	4
-License:	LGPL
+License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/oglft/oglft-%{version}.tar.gz
 # Source0-md5:	c3a8e0993f98edb7611c20f46631d2a6
 Patch0:		link.patch
 URL:		http://oglft.sourceforge.net/
-BuildRequires:	autoconf
+BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
-BuildRequires:	freetype-devel
+BuildRequires:	freetype-devel >= 2
 BuildRequires:	gle-devel
+BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
-BuildRequires:	qt-devel
+BuildRequires:	qt-devel >= 3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,36 +25,54 @@ and an OpenGL or Mesa application. It uses the excellent FreeType
 library to read font faces from their files and renders text strings
 as OpenGL primitives. 
 
+%description -l pl.UTF-8
+Bibllioteka C++ zapewniająca interfejs pomiędzy fontami w systemie
+oraz aplikacjami OpenGL/Mesy. Wykorzystuje świetną bibliotekę FreeType
+do odczytu wyglądu fontów z plików, natomiast łańcuchy tekstu rysuje
+jako figury OpenGL.
+
 %package devel
 Summary:	Header files for OGLFT
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki OGLFT
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	OpenGL-GLU-devel
+Requires:	freetype-devel >= 2
+Requires:	gle-devel
+Requires:	libstdc++-devel
+Requires:	qt-devel >= 3
 
 %description devel
 Header files for OGLFT.
 
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki OGLFT.
+
 %package static
-Summary:	Static version of OGLFT
+Summary:	Static version of OGLFT library
+Summary(pl.UTF-8):	Statyczna wersja biblioteki OGLFT
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-Static version of OGLFT.
+Static version of OGLFT library.
+
+%description static -l pl.UTF-8
+Statyczna wersja biblioteki OGLFT.
 
 %prep
 %setup -q -n oglft-%{version}
 %patch0 -p1
 
 %build
-QTDIR=/usr
-CPPFLAGS=-I/usr/include/qt
-export QTDIR CPPFLAGS
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	CPPFLAGS="%{rpmcppflags} -I/usr/include/qt" \
+	QTDIR=/usr
 %{__make}
 
 %install
@@ -74,8 +95,8 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %doc doc/html
-%{_includedir}/oglft
 %attr(755,root,root) %{_libdir}/libOGLFT.so
+%{_includedir}/oglft
 
 %files static
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/OGLFT.git/commitdiff/0c91027c0a121dab0d8dbe48dd9c6b5323859574



More information about the pld-cvs-commit mailing list