forked from jengelh/SDL2
- Drop libSDL2main.a from libSDL-2_0-devel. It is only used during build.
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=87
This commit is contained in:
parent
a10583e885
commit
17367f413a
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 11 04:29:55 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Drop libSDL2main.a from libSDL-2_0-devel. It is only used
|
||||||
|
during build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 31 08:47:44 UTC 2019 - Martin Liška <mliska@suse.cz>
|
Wed Jul 31 08:47:44 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
14
SDL2.spec
14
SDL2.spec
@ -108,8 +108,7 @@ This package contains files needed for development with the SDL2
|
|||||||
library.
|
library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -P 1 -P 2 -p1
|
|
||||||
dos2unix WhatsNew.txt
|
dos2unix WhatsNew.txt
|
||||||
dos2unix TODO.txt
|
dos2unix TODO.txt
|
||||||
dos2unix BUGS.txt
|
dos2unix BUGS.txt
|
||||||
@ -129,17 +128,15 @@ dos2unix COPYING.txt
|
|||||||
%ifarch ix86
|
%ifarch ix86
|
||||||
--enable-sse2=no \
|
--enable-sse2=no \
|
||||||
%endif
|
%endif
|
||||||
--enable-sse3=no \
|
--enable-sse3=no --disable-rpath --disable-3dnow
|
||||||
--disable-rpath \
|
|
||||||
--disable-3dnow
|
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot"
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
# We do not want static libs, but using --disable-static leads to make aborting
|
# We do not want static libs, but using --disable-static leads to make aborting
|
||||||
# halfway through. SDL2main.a we need to keep(?) for the stub symbol.
|
# halfway through %%build. Now it can be removed though.
|
||||||
find "%buildroot/%_libdir" -type f -name "*.a" ! -name "libSDL2main.a" -delete
|
rm -f "%buildroot/%_libdir/"*.a
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
@ -153,7 +150,6 @@ find "%buildroot/%_libdir" -type f -name "*.a" ! -name "libSDL2main.a" -delete
|
|||||||
%doc TODO.txt WhatsNew.txt
|
%doc TODO.txt WhatsNew.txt
|
||||||
%_bindir/sdl2-config
|
%_bindir/sdl2-config
|
||||||
%_libdir/libSDL2.so
|
%_libdir/libSDL2.so
|
||||||
%_libdir/libSDL2main.a
|
|
||||||
%_includedir/SDL2/
|
%_includedir/SDL2/
|
||||||
%_datadir/aclocal/sdl2.m4
|
%_datadir/aclocal/sdl2.m4
|
||||||
%_libdir/pkgconfig/sdl2.pc
|
%_libdir/pkgconfig/sdl2.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user