From 2535692fb7f5fb99ad99197592d149c18539555479fd61839c48bfe0d1d2f60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 18 Sep 2012 13:34:02 +0000 Subject: [PATCH 1/2] - Add explicit glu dependency OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ftgl?expand=0&rev=10 --- ftgl.changes | 5 +++++ ftgl.spec | 30 ++++++++++++++++-------------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/ftgl.changes b/ftgl.changes index a08723a..3a294bc 100644 --- a/ftgl.changes +++ b/ftgl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 18 13:32:21 UTC 2012 - idonmez@suse.com + +- Add explicit glu dependency + ------------------------------------------------------------------- Sat Oct 1 05:39:08 UTC 2011 - coolo@suse.com diff --git a/ftgl.spec b/ftgl.spec index f40c1be..dc96d66 100644 --- a/ftgl.spec +++ b/ftgl.spec @@ -1,7 +1,7 @@ # # spec file for package ftgl # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,20 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: ftgl -BuildRequires: doxygen freeglut-devel freetype2-devel gcc-c++ libdrm-devel +BuildRequires: doxygen +BuildRequires: freeglut-devel +BuildRequires: freetype2-devel +BuildRequires: gcc-c++ +BuildRequires: libdrm-devel BuildRequires: libtool +BuildRequires: pkgconfig(glu) Version: 2.1.2.99.5 -Release: 19 +Release: 0 %define _version 2.1.3-rc5 %define __version 2.1.3~rc5 Url: http://ftgl.wiki.sourceforge.net/ -Group: System/Libraries -License: LGPLv2.1+ Summary: Library for Using Arbitrary Fonts in OpenGL Applications +License: LGPL-2.1+ +Group: System/Libraries Source: %{name}-%{_version}.tar.bz2 Patch: %{name}-autoreconf.patch Patch1: ftgl-pkgconfig.patch @@ -84,9 +87,8 @@ Authors: Daniel Remenak %package -n libftgl2 -License: LGPLv2.1+ -Group: System/Libraries Summary: Library for Using Arbitrary Fonts in OpenGL Applications +Group: System/Libraries Provides: ftgl:/usr/%_lib/libftgl.so.0 %description -n libftgl2 @@ -137,10 +139,11 @@ Authors: Daniel Remenak %package devel -License: LGPLv2.1+ -Group: Development/Libraries/C and C++ Summary: Library for Using Arbitrary Fonts in OpenGL Applications -Requires: libftgl2 = %{version} Mesa-devel freetype2-devel +Group: Development/Libraries/C and C++ +Requires: Mesa-devel +Requires: freetype2-devel +Requires: libftgl2 = %{version} %description devel FTGL is a free open source library that enables developers to use @@ -185,9 +188,8 @@ Authors: Daniel Remenak %package demo -License: LGPLv2.1+ -Group: System/Libraries Summary: Library for Using Arbitrary Fonts in OpenGL Applications +Group: System/Libraries # Up to openSUSE 11.0 and SLED 10, %%{_bindir}/FTGLDemo was part of ftgl-devel: Conflicts: %{name}-devel <= 2.1.2 From 7f4fd19527247206ee85bafec9d4ad7f5347eaba7697d33fdefdbc8148bb6ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 21 Sep 2012 12:01:52 +0000 Subject: [PATCH 2/2] Add dependency to the devel package too OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ftgl?expand=0&rev=11 --- ftgl.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ftgl.spec b/ftgl.spec index dc96d66..8f8c420 100644 --- a/ftgl.spec +++ b/ftgl.spec @@ -144,6 +144,7 @@ Group: Development/Libraries/C and C++ Requires: Mesa-devel Requires: freetype2-devel Requires: libftgl2 = %{version} +Requires: pkgconfig(glu) %description devel FTGL is a free open source library that enables developers to use