Hello community, here is the log from the commit of package SDL for openSUSE:Factory checked in at Thu May 28 23:00:44 CEST 2009. -------- --- SDL/SDL.changes 2009-02-20 02:48:38.000000000 +0100 +++ SDL/SDL.changes 2009-05-20 15:41:15.000000000 +0200 @@ -1,0 +2,5 @@ +Wed May 20 15:33:30 CEST 2009 - prusnak@suse.cz + +- follow Shared Library Policy + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ SDL.spec ++++++ --- /var/tmp/diff_new_pack.Cj6168/_old 2009-05-28 22:57:30.000000000 +0200 +++ /var/tmp/diff_new_pack.Cj6168/_new 2009-05-28 22:57:30.000000000 +0200 @@ -19,20 +19,17 @@ %define aalib 0 Name: SDL -BuildRequires: arts-devel esound-devel libpulse-devel nasm +BuildRequires: arts-devel esound-devel nasm +%if 0%{?suse_version} > 1100 +BuildRequires: libpulse-devel +%endif %if 0%{?aalib} == 1 BuildRequires: aalib-devel %endif License: LGPL v2.1 or later Group: System/Libraries -# bug437293 -%ifarch ppc64 -Obsoletes: SDL-64bit -%endif -# -AutoReqProv: on Version: 1.2.13 -Release: 105 +Release: 106 Summary: Simple DirectMedia Layer Library Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-rpath.patch @@ -56,24 +53,45 @@ -------- Sam Lantinga <slouken@libsdl.org> -%package devel +%package -n libSDL-1_2-0 +Summary: Simple DirectMedia Layer Library +Group: System/Libraries +License: LGPL v2.1 or later +Obsoletes: SDL < %{version} +Provides: SDL = %{version} +# bnc437293 +%ifarch ppc64 +Obsoletes: SDL-64bit +%endif + +%description -n libSDL-1_2-0 +This is the "Simple DirectMedia Layer" library. It provides a generic +API for access to audio, keyboard, mouse, and display framebuffer +across multiple platforms. + + + +Authors: +-------- + Sam Lantinga <slouken@libsdl.org> + +%package -n libSDL-devel License: LGPL v2.1 or later Summary: SDL Library Developer Files Group: Development/Libraries/X11 -# bug437293 +Provides: SDL-devel = %{version} +Obsoletes: SDL-devel < %{version} +# bnc437293 %ifarch ppc64 Obsoletes: SDL-devel-64bit %endif -# -Provides: sdl-devel -Obsoletes: sdl-devel -Requires: SDL = %{version} -Requires: gcc libstdc++-devel alsa-devel xorg-x11-devel Mesa-devel +Requires: libSDL-1_2-0 = %{version} +Requires: gcc libstdc++-devel alsa-devel xorg-x11-devel Mesa-devel pkgconfig %if 0%{?aalib} == 1 Requires: aalib-devel %endif -%description devel +%description -n libSDL-devel This package contains files needed for development with the SDL library. @@ -94,59 +112,49 @@ %patch6 %build -# Check for which CPU requirement we opimize and -# set _target_cpu to the CPU requirement or if no CPU -# requirement opimizations, just the architecture: -%define _target_cpu %(OPT_ARCH=`echo "%optflags"|sed -n "s/.*-march=\\([^[:space:]]*\\).*/\\1/p"`; echo ${OPT_ARCH:-%{_arch}}) -export CFLAGS="$RPM_OPT_FLAGS" -# -fomit-frame-pointer breaks the MMX YV12 conversion on gcc 2.95.2, -# so only add -fomit-frame-pointer if we are not in i386: -%ifnarch %ix86 - export CFLAGS="$CFLAGS -fomit-frame-pointer" -%endif +export CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer" export CXXFLAGS="$CFLAGS" ./autogen.sh -%configure --disable-static --with-pic \ - --build=%{_target_platform} \ - --disable-video-svga \ - --disable-video-ggi \ +%configure \ + --disable-static \ + --with-pic \ %if 0%{?aalib} --enable-video-aalib \ %endif - --disable-debug \ - --enable-xfree86-glidehack \ - --enable-dlopen + --disable-video-svga make %{?jobs:-j %jobs} %install make install DESTDIR=$RPM_BUILD_ROOT -%{__rm} -f %{buildroot}%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf "$RPM_BUILD_ROOT" -%post -p /sbin/ldconfig +%post -n libSDL-1_2-0 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libSDL-1_2-0 -p /sbin/ldconfig -%files +%files -n libSDL-1_2-0 %defattr(-,root,root) %doc BUGS COPYING CREDITS README README-SDL.txt -%{_libdir}/libSDL-1.2.so.0* +%{_libdir}/*.so.* -%files devel +%files -n libSDL-devel %defattr(-,root,root) %doc docs.html README.SVN TODO WhatsNew %doc docs/index.html docs/html docs/images -%{_libdir}/libSDL.so -%{_libdir}/libSDLmain.a %{_bindir}/* +%{_libdir}/*.so +%{_libdir}/libSDLmain.a %{_includedir}/SDL %{_datadir}/aclocal/* %{_mandir}/*/* %{_libdir}/pkgconfig/sdl.pc %changelog +* Wed May 20 2009 prusnak@suse.cz +- follow Shared Library Policy * Fri Feb 20 2009 crrodriguez@suse.de - disable all static libraries except loner libSDLmain.a which is now built --with-pic @@ -290,7 +298,7 @@ - work around problem with latest automake * Tue Nov 12 2002 nadvornik@suse.cz updated to 1.2.5: bugfix release -* Sun Nov 10 2002 ro@suse.de +* Mon Nov 11 2002 ro@suse.de - fix deprecated multiline string literal for gcc-3.3 * Tue Sep 24 2002 froh@suse.de - %%-ifarch'ed Requires: alsa-devel for all but s390 and s390x (#18647) ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.Cj6168/_old 2009-05-28 22:57:30.000000000 +0200 +++ /var/tmp/diff_new_pack.Cj6168/_new 2009-05-28 22:57:30.000000000 +0200 @@ -1,2 +1,2 @@ -SDL -SDL-devel +libSDL-1_2-0 +libSDL-devel ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de