SHA256
1
0
forked from pool/libXbgi

3 Commits

2 changed files with 5 additions and 14 deletions

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
Tue Jun 24 21:53:45 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Set CFLAGS to -std=gnu11
-------------------------------------------------------------------
Wed Feb 5 13:33:02 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- removed unneeded xorg-x11-proto-devel BuildRequires (bsc#1236804)
-------------------------------------------------------------------
Thu Sep 5 17:01:55 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libXbgi
#
# Copyright (c) 2025 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
@@ -63,6 +63,7 @@ License: MIT
Group: Development/Libraries/C and C++
Requires: %lname = %version
Requires: libX11-devel
Requires: xorg-x11-proto-devel
%description devel
libXbgi is a Borland Graphics Interface (BGI) emulation library for
@@ -79,15 +80,15 @@ in %lname.
%build
autoreconf -fiv
export CFLAGS="%optflags -std=gnu11"
%configure --disable-static
%make_build V=1
make %{?_smp_mflags} V=1
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
%ldconfig_scriptlets -n %lname
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%doc License.txt