|
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package libGLC
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2022 SUSE LLC
|
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
@@ -21,7 +21,6 @@ Version: 0.7.2
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Free OpenGL Character Renderer
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
URL: http://quesoglc.sf.net/
|
|
|
|
|
Source: http://sourceforge.net/projects/quesoglc/files/%{version}/quesoglc-%{version}.tar.bz2
|
|
|
|
|
Patch1: quesoglc-typepun.diff
|
|
|
|
|
@@ -43,7 +42,6 @@ platform that supports both FreeType and the OpenGL API.
|
|
|
|
|
|
|
|
|
|
%package -n libGLC0
|
|
|
|
|
Summary: Free OpenGL Character Renderer
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n libGLC0
|
|
|
|
|
QuesoGLC is a free (as in free speech) implementation of the OpenGL
|
|
|
|
|
@@ -53,7 +51,6 @@ platform that supports both FreeType and the OpenGL API.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: QuesoGLC Development Files
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: Mesa-devel
|
|
|
|
|
Requires: libGLC0 = %{version}
|
|
|
|
|
Requires: pkgconfig(expat)
|
|
|
|
|
@@ -69,12 +66,12 @@ to develop applications using QuesoGLC.
|
|
|
|
|
%autosetup -n quesoglc-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-static
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%post -n libGLC0 -p /sbin/ldconfig
|
|
|
|
|
%postun -n libGLC0 -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets -n libGLC0
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|