Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
54c04c1e74 | |||
|
34e885019a |
28
SDL2_gfx-correct-pkgconfig-version.patch
Normal file
28
SDL2_gfx-correct-pkgconfig-version.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From: Atri Bhattacharya <badshah400@gmail.com>
|
||||
Date: 2025-03-28 15:27:00 +0100
|
||||
Subject: Fix version tag in pkgconfig file.
|
||||
|
||||
This patch fixes the project version in the autoconf files and
|
||||
consequently in the installed pkgconfig file.
|
||||
|
||||
---
|
||||
configure.in | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: SDL2_gfx-1.0.4/configure.in
|
||||
===================================================================
|
||||
--- SDL2_gfx-1.0.4.orig/configure.in
|
||||
+++ SDL2_gfx-1.0.4/configure.in
|
||||
@@ -13,9 +13,9 @@ dnl Set various version strings - taken
|
||||
|
||||
MAJOR_VERSION=1
|
||||
MINOR_VERSION=0
|
||||
-MICRO_VERSION=2
|
||||
-INTERFACE_AGE=2
|
||||
-BINARY_AGE=2
|
||||
+MICRO_VERSION=4
|
||||
+INTERFACE_AGE=4
|
||||
+BINARY_AGE=4
|
||||
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
|
||||
|
||||
AC_SUBST(MAJOR_VERSION)
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 28 13:51:54 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Add SDL2_gfx-correct-pkgconfig-version.patch to fix version
|
||||
tag in project autoconf files and consequently in the installed
|
||||
pkgconfig file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 11 11:20:30 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package SDL2_gfx
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -29,7 +29,9 @@ Source2: https://downloads.sf.net/sdl2gfx/%name-%version.tar.gz.asc
|
||||
Source3: baselibs.conf
|
||||
# Key: 231D4B58E1DDB871, http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/#comment-89
|
||||
Source4: %name.keyring
|
||||
Patch0: SDL2_gfx-correct-pkgconfig-version.patch
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
|
||||
@@ -54,9 +56,10 @@ Provides: SDL2_gfx-devel = %version-%release
|
||||
Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure \
|
||||
%ifnarch x86_64
|
||||
--disable-mmx \
|
||||
@@ -70,8 +73,7 @@ chmod 644 COPYING AUTHORS ChangeLog NEWS README
|
||||
%make_install
|
||||
find "%buildroot" -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files -n %lname
|
||||
%license COPYING
|
||||
|
Reference in New Issue
Block a user