Successfully built an SDL 2.0 RPM
This commit is contained in:
parent
7f5ba0ca08
commit
96c0686983
1 changed files with 6 additions and 7 deletions
13
SDL2.spec.in
13
SDL2.spec.in
|
@ -9,7 +9,7 @@ Group: System Environment/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
%ifos linux
|
%ifos linux
|
||||||
Provides: libSDL-1.2.so.0
|
Provides: libSDL2-2.0.so.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define __defattr %defattr(-,root,root)
|
%define __defattr %defattr(-,root,root)
|
||||||
|
@ -54,7 +54,6 @@ make install prefix=$RPM_BUILD_ROOT%{prefix} \
|
||||||
includedir=$RPM_BUILD_ROOT%{_includedir} \
|
includedir=$RPM_BUILD_ROOT%{_includedir} \
|
||||||
datadir=$RPM_BUILD_ROOT%{_datadir} \
|
datadir=$RPM_BUILD_ROOT%{_datadir} \
|
||||||
mandir=$RPM_BUILD_ROOT%{_mandir}
|
mandir=$RPM_BUILD_ROOT%{_mandir}
|
||||||
ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0
|
|
||||||
%else
|
%else
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%endif
|
%endif
|
||||||
|
@ -70,18 +69,18 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%files devel
|
%files devel
|
||||||
%{__defattr}
|
%{__defattr}
|
||||||
%doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew
|
%doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew
|
||||||
%doc docs/index.html docs/html
|
|
||||||
%{_bindir}/*-config
|
%{_bindir}/*-config
|
||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
%{_libdir}/lib*.la
|
%{_libdir}/lib*.la
|
||||||
%{_libdir}/lib*.%{__soext}
|
%{_libdir}/lib*.%{__soext}
|
||||||
%dir %{_includedir}/SDL
|
%{_includedir}/*/*.h
|
||||||
%{_includedir}/SDL/*.h
|
%{_libdir}/pkgconfig/*
|
||||||
%{_libdir}/pkgconfig/sdl.pc
|
|
||||||
%{_datadir}/aclocal/*
|
%{_datadir}/aclocal/*
|
||||||
%{_mandir}/man3/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 22 2012 Sam Lantinga <slouken@libsdl.org>
|
||||||
|
- Updated for SDL 2.0
|
||||||
|
|
||||||
* Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
|
* Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
|
||||||
- Removed support for Darwin, due to build problems on ps2linux
|
- Removed support for Darwin, due to build problems on ps2linux
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue