[info=68e725e2edca281ede58f937d4266a11815f9c64fe14dceb34fdd9ed7cb36e38]
OBS-URL: https://build.opensuse.org/package/show/games/SDL_net?expand=0&rev=22
This commit is contained in:
parent
c7f7eeb789
commit
1d2dbcc9fe
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 21 12:50:20 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Rename devel package to just %name-devel, which is what most
|
||||
openSUSE's packages do.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 8 09:32:15 UTC 2015 - jengelh@inai.de
|
||||
|
||||
|
28
SDL_net.spec
28
SDL_net.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package SDL_net
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -21,14 +21,13 @@ Name: SDL_net
|
||||
Version: 1.2.8
|
||||
Release: 0
|
||||
Summary: SDL networking library
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://libsdl.org/projects/SDL_net/release-1.2.html
|
||||
URL: http://libsdl.org/projects/SDL_net/release-1.2.html
|
||||
|
||||
# removed VisualC, Xcode, Xcode-iOS and Watcom-OS2.zip from the upstream tarball [bnc#508084]
|
||||
Source: %name-%version-repack.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(sdl)
|
||||
|
||||
@ -36,7 +35,7 @@ BuildRequires: pkgconfig(sdl)
|
||||
This is a small cross-platform networking library for use with SDL.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Simple DirectMedia Layer – Networking library
|
||||
Summary: Networking library for SDL
|
||||
Group: System/Libraries
|
||||
Provides: SDL_net = %version
|
||||
Obsoletes: SDL_net <= %version
|
||||
@ -44,14 +43,14 @@ Obsoletes: SDL_net <= %version
|
||||
%description -n %lname
|
||||
This is a small cross-platform networking library for use with SDL.
|
||||
|
||||
%package -n libSDL_net-devel
|
||||
%package devel
|
||||
Summary: Development files for the SDL networking library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Provides: SDL_net-devel = %version
|
||||
Obsoletes: SDL_net-devel <= %version
|
||||
Provides: libSDL_net-devel = %version
|
||||
Obsoletes: libSDL_net-devel <= %version
|
||||
|
||||
%description -n libSDL_net-devel
|
||||
%description devel
|
||||
This is a small cross-platform networking library for use with SDL.
|
||||
|
||||
%prep
|
||||
@ -59,22 +58,19 @@ This is a small cross-platform networking library for use with SDL.
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES COPYING README
|
||||
%_libdir/libSDL_net-1*.so.*
|
||||
|
||||
%files -n libSDL_net-devel
|
||||
%defattr(-,root,root)
|
||||
%files devel
|
||||
%_includedir/SDL/
|
||||
%_libdir/libSDL_net.so
|
||||
%_libdir/pkgconfig/SDL_net.pc
|
||||
|
@ -1,4 +1,4 @@
|
||||
mtime: 1420754598
|
||||
commit: 63c59fd4192e87e7d0050b33ea363eb52a310efe67eed8f6fa5718217deb0b28
|
||||
mtime: 1724244842
|
||||
commit: 68e725e2edca281ede58f937d4266a11815f9c64fe14dceb34fdd9ed7cb36e38
|
||||
url: https://src.opensuse.org/jengelh/SDL_net
|
||||
revision: master
|
||||
|
@ -1,6 +1,6 @@
|
||||
libSDL_net-1_2-0
|
||||
provides "SDL_net-<targettype> = <version>"
|
||||
obsoletes "SDL_net-<targettype> <= <version>"
|
||||
libSDL_net-devel
|
||||
requires -libSDL_net-<targettype>
|
||||
requires "libSDL_net-1_2-0-<targettype> = <version>"
|
||||
provides "SDL_net-<targettype> = <version>"
|
||||
obsoletes "SDL_net-<targettype> <= <version>"
|
||||
SDL_net-devel
|
||||
requires -libSDL_net-<targettype>
|
||||
requires "libSDL_net-1_2-0-<targettype> = <version>"
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4bad818603510994b5cbb159db87bd431167ac730c549d87d524d5553181b886
|
||||
oid sha256:73cd344238edfd947f182689c0483dee481ee0d708b447d2c9c53bd344ab27af
|
||||
size 256
|
||||
|
Loading…
Reference in New Issue
Block a user