Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sdl12-compat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
src-rhel
rpms
sdl12-compat
Commits
bd1c6c8d
Commit
bd1c6c8d
authored
2 years ago
by
CentOS Sources
Browse files
Options
Downloads
Patches
Plain Diff
import sdl12-compat-1.2.52-1.el9
parent
a8bd5308
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-1
1 addition, 1 deletion
.gitignore
.sdl12-compat.metadata
+1
-1
1 addition, 1 deletion
.sdl12-compat.metadata
SPECS/sdl12-compat.spec
+15
-15
15 additions, 15 deletions
SPECS/sdl12-compat.spec
with
17 additions
and
17 deletions
.gitignore
+
1
−
1
View file @
bd1c6c8d
SOURCES/sdl12-compat-
4e4527a
.tar.gz
SOURCES/sdl12-compat-
1.2.52
.tar.gz
This diff is collapsed.
Click to expand it.
.sdl12-compat.metadata
+
1
−
1
View file @
bd1c6c8d
1e5f8f43b1ceef2003b83cc63c3b90542c5c880b
SOURCES/sdl12-compat-
4e4527a
.tar.gz
9e90950c7c98c55adef3c75397ffd5bf8bfed6af
SOURCES/sdl12-compat-
1.2.52
.tar.gz
This diff is collapsed.
Click to expand it.
SPECS/sdl12-compat.spec
+
15
−
15
View file @
bd1c6c8d
%global commit 4e4527a123fb99a1677055d89c5fc74323ddc4d8
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20211125
%if 0%{?rhel}
# Features disabled for RHEL
%bcond_with static
...
...
@@ -10,14 +6,14 @@
%endif
Name: sdl12-compat
Version:
0.0.1~git.%{commitdate}.%{shortcommit}
Release:
4
%{?dist}
Version:
1.2.52
Release:
1
%{?dist}
Summary: SDL 1.2 runtime compatibility library using SDL 2.0
# mp3 decoder code is MIT-0/PD
# SDL_opengl.h is zlib and MIT
License: zlib and (Public Domain or MIT-0) and MIT
URL: https://github.com/libsdl-org/sdl12-compat
Source0: %{url}/archive/
%{commit
}/%{name}-%{
shortcommit
}.tar.gz
Source0: %{url}/archive/
release-%{version
}/%{name}-%{
version
}.tar.gz
# Multilib aware-header stub
Source1: SDL_config.h
...
...
@@ -38,10 +34,10 @@ BuildRequires: mesa-libGLU-devel
# This replaces SDL
Obsoletes: SDL < 1.2.15-49
Conflicts: SDL < 1.2.50
Provides: SDL =
1.2.50
Provides: SDL%{?_isa} =
1.2.50
Provides: SDL =
%{version}
Provides: SDL%{?_isa} =
%{version}
# This dlopens SDL2 (?!), so manually depend on it
Requires: SDL2%{?_isa} >= 2.0.1
4
Requires: SDL2%{?_isa} >= 2.0.1
8
%description
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
...
...
@@ -59,8 +55,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
# This replaces SDL-devel
Obsoletes: SDL-devel < 1.2.15-49
Conflicts: SDL-devel < 1.2.50
Provides: SDL-devel =
1.2.50
Provides: SDL-devel%{?_isa} =
1.2.50
Provides: SDL-devel =
%{version}
Provides: SDL-devel%{?_isa} =
%{version}
%if ! %{with static}
# We don't provide the static library, but we want to replace SDL-static anyway
Obsoletes: SDL-static < 1.2.15-49
...
...
@@ -92,8 +88,8 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
# This replaces SDL-static
Obsoletes: SDL-static < 1.2.15-49
Conflicts: SDL-static < 1.2.50
Provides: SDL-static =
1.2.50
Provides: SDL-static%{?_isa} =
1.2.50
Provides: SDL-static =
%{version}
Provides: SDL-static%{?_isa} =
%{version}
%description static
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
...
...
@@ -111,7 +107,7 @@ this layer.
%prep
%autosetup -n %{name}-
%{commit
} -S git_am
%autosetup -n %{name}-
release-%{version
} -S git_am
%build
...
...
@@ -154,6 +150,10 @@ rm -rf %{buildroot}%{_libdir}/*.a
%changelog
* Fri Mar 04 2022 Neal Gompa <ngompa@centosproject.org> - 1.2.52-1
- Rebase to 1.2.52
Resolves: rhbz#2060907
* Sat Dec 11 2021 Neal Gompa <ngompa@centosproject.org> - 0.0.1~git.20211125.4e4527a-4
- Conflict with all old SDL subpackages properly
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment