SHA256
1
0
forked from pool/sdl12_compat

add conflict markers for SDL

OBS-URL: https://build.opensuse.org/package/show/games/sdl12_compat?expand=0&rev=2
This commit is contained in:
Jan Engelhardt 2022-03-07 11:21:47 +00:00 committed by Git OBS Bridge
parent 542d1a19e4
commit a268438a9a
2 changed files with 14 additions and 4 deletions

View File

@ -6,3 +6,6 @@ addFilter("lto-no-text-in-archive")
# [ 40s] The package misses dependency on a library package that provides the shared # [ 40s] The package misses dependency on a library package that provides the shared
# [ 40s] library. # [ 40s] library.
addFilter("no-library-dependency-for") addFilter("no-library-dependency-for")
# oddly, shlib policy check does not complain despite an (intentional) violation
# of this with %lname

View File

@ -1,5 +1,5 @@
# #
# spec file for package sdl12_comapt # spec file for package sdl12_compat
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
@ -17,7 +17,7 @@
Name: sdl12_compat Name: sdl12_compat
%define lname libSDL-1_2-0 %define lname sdl12_compat-libSDL-1_2-0
%global _lto_cflags %_lto_cflags -ffat-lto-objects %global _lto_cflags %_lto_cflags -ffat-lto-objects
Version: 1.2.52 Version: 1.2.52
Release: 0 Release: 0
@ -32,16 +32,20 @@ BuildRequires: pkg-config
BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sdl2)
%description %description
This is the "Simple DirectMedia Layer" library built from sdl12_comapt. This is the "Simple DirectMedia Layer" library built from sdl12_compat.
it provides a binary and source compatible API for programs written it provides a binary and source compatible API for programs written
against SDL 1.2, but it uses SDL 2.0 behind the scenes. against SDL 1.2, but it uses SDL 2.0 behind the scenes.
(Currently classified as not ready for general use in openSUSE.)
%package -n %lname %package -n %lname
Summary: SDL Graphics Routines for Primitives and Other Support Functions Summary: SDL Graphics Routines for Primitives and Other Support Functions
Group: System/Libraries Group: System/Libraries
Conflicts: libSDL-1_2-0
AutoReqProv: off
%description -n %lname %description -n %lname
This is the "Simple DirectMedia Layer" library built from sdl12_comapt. This is the "Simple DirectMedia Layer" library built from sdl12_compat.
it provides a binary and source compatible API for programs written it provides a binary and source compatible API for programs written
against SDL 1.2, but it uses SDL 2.0 behind the scenes. against SDL 1.2, but it uses SDL 2.0 behind the scenes.
@ -49,6 +53,9 @@ against SDL 1.2, but it uses SDL 2.0 behind the scenes.
Summary: Libraries, includes and more to develop SDL-1.2 applications Summary: Libraries, includes and more to develop SDL-1.2 applications
Group: Development/Libraries/X11 Group: Development/Libraries/X11
Requires: %lname = %version Requires: %lname = %version
Conflicts: SDL-devel
AutoReqProv: off
Provides: pkgconfig(sdl12_compat) = %version-%release
%description devel %description devel
This package contains files needed for development with the SDL This package contains files needed for development with the SDL