2 Commits

Author SHA256 Message Date
fa0657b1cf Accepting request 1229819 from games
- Fix building on Tumbleweed
- Minor spec file modernisation

OBS-URL: https://build.opensuse.org/request/show/1229819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libGLC?expand=0&rev=4
2024-12-10 22:49:35 +00:00
7b1477ea80 - Fix building on Tumbleweed
- Minor spec file modernisation

OBS-URL: https://build.opensuse.org/package/show/games/libGLC?expand=0&rev=27
2024-12-10 13:50:15 +00:00
2 changed files with 9 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 10 13:48:15 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Fix building on Tumbleweed
- Minor spec file modernisation
-------------------------------------------------------------------
Wed Apr 6 13:11:14 UTC 2022 - Martin Pluskal <mpluskal@suse.com>

View File

@@ -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