diff --git a/SDL_bgi-2.5.0.tar.gz b/SDL_bgi-2.5.0.tar.gz deleted file mode 100644 index d1e721a..0000000 --- a/SDL_bgi-2.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c936461a52b18db8300489f1ab4c6ac5f06e190f6c30d82f7df111a28efde84 -size 1841140 diff --git a/SDL_bgi-2.6.0.tar.gz b/SDL_bgi-2.6.0.tar.gz new file mode 100644 index 0000000..09fe912 --- /dev/null +++ b/SDL_bgi-2.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a54e67713c2fae0463f63119d9554dc38e5cc10eb3a830b1232ff614f9bcbce8 +size 2904011 diff --git a/SDL_bgi.changes b/SDL_bgi.changes index 6c28a72..a089235 100644 --- a/SDL_bgi.changes +++ b/SDL_bgi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 1 10:32:40 UTC 2022 - Jan Engelhardt + +- Update to release 2.6.0 + * added getclick(), doubleclick(), extended mouseclick() + ------------------------------------------------------------------- Wed May 4 08:41:32 UTC 2022 - Marcus Meissner diff --git a/SDL_bgi.spec b/SDL_bgi.spec index 80de90d..b6557ce 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -17,17 +17,17 @@ Name: SDL_bgi -%define sover 7 +%define sover 8 %define lname libSDL_bgi-suse%sover -Version: 2.5.0 +Version: 2.6.0 Release: 0 Summary: BGI-compatible 2D graphics C library with SDL backend License: GPL-2.0-or-later AND Zlib Group: Development/Libraries/X11 -URL: http://libXbgi.sf.net/ +URL: https://sdl-bgi.sourceforge.io/ -#Git-Web: https://github.com/genpfault/sdl-bgi -Source: https://downloads.sf.net/libxbgi/%name-%version.tar.gz +#Freshcode: http://freshcode.club/projects/sdl_bgi +Source: https://downloads.sf.net/sdl-bgi/%name-%version.tar.gz Source9: %name-rpmlintrc Patch1: sdlbgi-cmake.diff BuildRequires: cmake @@ -50,7 +50,7 @@ SDL. It provides extensions for RGB colors and mouse support. %package -n libSDL_bgi-devel Summary: Libraries, includes and more to develop SDL_bgi applications Group: Development/Libraries/X11 -Requires: %lname = %version +Requires: %lname = %version-%release Provides: SDL_bgi-devel = %version-%release %description -n libSDL_bgi-devel diff --git a/sdlbgi-cmake.diff b/sdlbgi-cmake.diff index 8276305..c42f1aa 100644 --- a/sdlbgi-cmake.diff +++ b/sdlbgi-cmake.diff @@ -2,28 +2,18 @@ Add some library versioning. --- - CMakeLists.txt | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) + CMakeLists.txt | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) -Index: SDL_bgi-2.4.1/CMakeLists.txt +Index: SDL_bgi-2.6.0/CMakeLists.txt =================================================================== ---- SDL_bgi-2.4.1.orig/CMakeLists.txt -+++ SDL_bgi-2.4.1/CMakeLists.txt -@@ -21,9 +21,6 @@ include_directories (SDL_bgi ${SDL2_INCL - # Default install directory variables - include (GNUInstallDirs) - --# fix stupid bug on Linux --string (STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES) -- - # Find source files - file (GLOB SOURCES src/*.c) - -@@ -32,8 +29,9 @@ include_directories (src) +--- SDL_bgi-2.6.0.orig/CMakeLists.txt ++++ SDL_bgi-2.6.0/CMakeLists.txt +@@ -32,8 +32,9 @@ include_directories (src) # Create shared library add_library (${PROJECT_NAME} SHARED ${SOURCES}) -+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse7) ++set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse8) # fix provided by Austin Hurst -target_link_libraries (SDL_bgi ${SDL2_LIBRARIES}) +target_link_libraries (SDL_bgi -lm ${SDL2_LIBRARIES})