forked from pool/SDL_net
Accepting request 83186 from games
- Remove redundant tags/sections from specfile - Update baselibs.conf to also ship libSDL_net-devel-32bit - Use %_smp_mflags for parallel building - Strip %clean section (not needed on BS) OBS-URL: https://build.opensuse.org/request/show/83186 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_net?expand=0&rev=15
This commit is contained in:
commit
ddd302902b
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 17 10:23:20 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections from specfile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 1 09:38:04 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Update baselibs.conf to also ship libSDL_net-devel-32bit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 2 14:53:38 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Use %_smp_mflags for parallel building
|
||||||
|
- Strip %clean section (not needed on BS)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 19 19:13:31 CET 2009 - jengelh@medozas.de
|
Sat Dec 19 19:13:31 CET 2009 - jengelh@medozas.de
|
||||||
|
|
||||||
|
34
SDL_net.spec
34
SDL_net.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_net (Version 1.2.7)
|
# spec file for package SDL_net
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: SDL_net
|
Name: SDL_net
|
||||||
@ -33,14 +32,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%description
|
%description
|
||||||
This is a small cross-platform networking library for use with SDL.
|
This is a small cross-platform networking library for use with SDL.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Sam Lantinga <slouken@devolution.com>
|
|
||||||
Roy Wood <roy@centricsystems.ca>
|
|
||||||
Masahiro Minami <elsur@aaa.letter.co.jp>
|
|
||||||
|
|
||||||
%package -n libSDL_net-1_2-0
|
%package -n libSDL_net-1_2-0
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Simple DirectMedia Layer - Networking Library
|
Summary: Simple DirectMedia Layer - Networking Library
|
||||||
@ -51,14 +42,6 @@ Obsoletes: SDL_net <= %{version}
|
|||||||
%description -n libSDL_net-1_2-0
|
%description -n libSDL_net-1_2-0
|
||||||
This is a small cross-platform networking library for use with SDL.
|
This is a small cross-platform networking library for use with SDL.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Sam Lantinga <slouken@devolution.com>
|
|
||||||
Roy Wood <roy@centricsystems.ca>
|
|
||||||
Masahiro Minami <elsur@aaa.letter.co.jp>
|
|
||||||
|
|
||||||
%package -n libSDL_net-devel
|
%package -n libSDL_net-devel
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: Simple DirectMedia Layer - Networking Library
|
Summary: Simple DirectMedia Layer - Networking Library
|
||||||
@ -70,28 +53,17 @@ Obsoletes: SDL_net-devel <= %{version}
|
|||||||
%description -n libSDL_net-devel
|
%description -n libSDL_net-devel
|
||||||
This is a small cross-platform networking library for use with SDL.
|
This is a small cross-platform networking library for use with SDL.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Sam Lantinga <slouken@devolution.com>
|
|
||||||
Roy Wood <roy@centricsystems.ca>
|
|
||||||
Masahiro Minami <elsur@aaa.letter.co.jp>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-pic
|
%configure --disable-static --with-pic
|
||||||
make %{?jobs:-j %jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -n libSDL_net-1_2-0 -p /sbin/ldconfig
|
%post -n libSDL_net-1_2-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libSDL_net-1_2-0 -p /sbin/ldconfig
|
%postun -n libSDL_net-1_2-0 -p /sbin/ldconfig
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
libSDL_net-1_2-0
|
libSDL_net-1_2-0
|
||||||
provides "SDL_net-<targettype> = <version>"
|
provides "SDL_net-<targettype> = <version>"
|
||||||
obsoletes "SDL_net-<targettype> <= <version>"
|
obsoletes "SDL_net-<targettype> <= <version>"
|
||||||
|
libSDL_net-devel
|
||||||
|
requires -libSDL_net-<targettype>
|
||||||
|
requires "libSDL_net-1_2-0-<targettype> = <version>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user