make static subpackage
This commit is contained in:
parent
4e59a0e166
commit
fac91fa8fe
20
SDL2.spec
20
SDL2.spec
@ -1,6 +1,6 @@
|
|||||||
Name: SDL2
|
Name: SDL2
|
||||||
Version: 2.0.4
|
Version: 2.0.4
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: A cross-platform multimedia library
|
Summary: A cross-platform multimedia library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.libsdl.org/
|
URL: http://www.libsdl.org/
|
||||||
@ -68,6 +68,12 @@ to provide fast access to the graphics frame buffer and audio device. This
|
|||||||
package provides the libraries, include files, and other resources needed for
|
package provides the libraries, include files, and other resources needed for
|
||||||
developing SDL applications.
|
developing SDL applications.
|
||||||
|
|
||||||
|
%package static
|
||||||
|
Summary: Static libraries for SDL2
|
||||||
|
|
||||||
|
%description static
|
||||||
|
Static libraries for SDL2.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .multilib
|
%patch0 -p1 -b .multilib
|
||||||
@ -99,14 +105,15 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/SDL2/SDL_config.h
|
|||||||
# remove libtool .la file
|
# remove libtool .la file
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
# remove static .a file
|
# remove static .a file
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
# rm -f %{buildroot}%{_libdir}/*.a
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc BUGS.txt CREDITS.txt COPYING.txt README-SDL.txt
|
%license COPYING.txt
|
||||||
|
%doc BUGS.txt CREDITS.txt README-SDL.txt
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -118,7 +125,14 @@ rm -f %{buildroot}%{_libdir}/*.a
|
|||||||
%{_includedir}/SDL2
|
%{_includedir}/SDL2
|
||||||
%{_datadir}/aclocal/*
|
%{_datadir}/aclocal/*
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%license COPYING.txt
|
||||||
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 25 2016 Tom Callaway <spot@fedoraproject.org> - 2.0.4-4
|
||||||
|
- enable static subpackage (bz1253930)
|
||||||
|
|
||||||
* Fri Feb 5 2016 Tom Callaway <spot@fedoraproject.org> - 2.0.4-3
|
* Fri Feb 5 2016 Tom Callaway <spot@fedoraproject.org> - 2.0.4-3
|
||||||
- fix compile against latest wayland
|
- fix compile against latest wayland
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user