Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

5 changed files with 21 additions and 32 deletions

View File

@ -1,9 +1,3 @@
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_net
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -21,13 +21,14 @@ Name: SDL_net
Version: 1.2.8
Release: 0
Summary: SDL networking library
License: LGPL-2.1-or-later
License: LGPL-2.1+
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)
@ -35,7 +36,7 @@ BuildRequires: pkgconfig(sdl)
This is a small cross-platform networking library for use with SDL.
%package -n %lname
Summary: Networking library for SDL
Summary: Simple DirectMedia Layer  Networking library
Group: System/Libraries
Provides: SDL_net = %version
Obsoletes: SDL_net <= %version
@ -43,14 +44,14 @@ Obsoletes: SDL_net <= %version
%description -n %lname
This is a small cross-platform networking library for use with SDL.
%package devel
%package -n libSDL_net-devel
Summary: Development files for the SDL networking library
Group: Development/Libraries/C and C++
Requires: %lname = %version
Provides: libSDL_net-devel = %version
Obsoletes: libSDL_net-devel <= %version
Provides: SDL_net-devel = %version
Obsoletes: SDL_net-devel <= %version
%description devel
%description -n libSDL_net-devel
This is a small cross-platform networking library for use with SDL.
%prep
@ -58,19 +59,22 @@ This is a small cross-platform networking library for use with SDL.
%build
%configure --disable-static
%make_build
make %{?_smp_mflags}
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
%ldconfig_scriptlets -n %lname
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%doc CHANGES COPYING README
%_libdir/libSDL_net-1*.so.*
%files devel
%files -n libSDL_net-devel
%defattr(-,root,root)
%_includedir/SDL/
%_libdir/libSDL_net.so
%_libdir/pkgconfig/SDL_net.pc

View File

@ -1,4 +0,0 @@
mtime: 1724244887
commit: eccc3f752f2a047116c0ae42e9e19f03009c42b8beb56eafa56c7f47970eb61b
url: https://src.opensuse.org/jengelh/SDL_net
revision: master

View File

@ -1,8 +1,6 @@
libSDL_net-1_2-0
provides "SDL_net-<targettype> = <version>"
obsoletes "SDL_net-<targettype> <= <version>"
SDL_net-devel
provides "libSDL_net-devel-<targettype> = <version>"
obsoletes "libSDL_net-devel-<targettype> <= <version>"
libSDL_net-devel
requires -libSDL_net-<targettype>
requires "libSDL_net-1_2-0-<targettype> = <version>"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c199c19fb82bcec53ae820a489dfcc515f2a514642a1a02775cc4241ea098687
size 256