Hello community, here is the log from the commit of package libtheora checked in at Sun Aug 12 11:43:46 CEST 2007. -------- --- libtheora/libtheora.changes 2007-03-28 18:41:50.000000000 +0200 +++ /mounts/work_src_done/STABLE/libtheora/libtheora.changes 2007-08-12 00:07:47.000000000 +0200 @@ -1,0 +2,8 @@ +Sun Aug 12 00:06:27 CEST 2007 - crrodriguez@suse.de + +- fix build in x86_64 +- use library packaging policy +- run make check in the check section +- add missing call to ldconfig + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libtheora.spec ++++++ --- /var/tmp/diff_new_pack.T28273/_old 2007-08-12 11:42:45.000000000 +0200 +++ /var/tmp/diff_new_pack.T28273/_new 2007-08-12 11:42:45.000000000 +0200 @@ -12,15 +12,12 @@ Name: libtheora BuildRequires: SDL-devel doxygen gcc-c++ libogg-devel libvorbis-devel pkg-config python -%ifarch %ix86 ppc x86_64 -BuildRequires: valgrind -%endif URL: http://www.xiph.org/ -License: BSD License and BSD-like +License: BSD 3-Clause, The software is free and claimed patent free. Group: Productivity/Multimedia/Other Summary: Free Video Codec Version: 0.99.0.7 -Release: 1 +Release: 42 %define _version 1.0alpha7 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{_version}.tar.bz2 @@ -36,10 +33,27 @@ -------- the Xiph.Org Foundation http://www.xiph.org/ +%package -n libtheora0 +Group: Productivity/Multimedia/Other +Summary: Free Video Codec +Provides: %{name} = %{version} +Obsoletes: %{name} <= %{version} + +%description -n libtheora0 +Theora is a free video codec based on VP3. The package contains the +library that can decode and encode Theora streams. Theora is also able +to playback VP3 streams. + + + +Authors: +-------- + the Xiph.Org Foundation http://www.xiph.org/ + %package devel Group: Productivity/Multimedia/Other Summary: Free Video Codec -Requires: %{name} = %{version} libogg-devel +Requires: libtheora0 = %{version} libogg-devel %description devel Theora is a free video codec based on VP3. The package contains the @@ -54,61 +68,68 @@ %prep %setup -q -n %{name}-%{_version} -#rm -rf `find . -name .svn` -#libtoolize --force -#aclocal -I m4/ -#autoconf -#automake -a %build # FIXME: # toplevel.c:183: warning: dereferencing type-punned pointer will break strict-aliasing rules # x86_64/fdct_mmx.c:295: warning: dereferencing type-punned pointer will break strict-aliasing rules -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ACLOCAL="aclocal -I m4" autoreconf -f -i -%configure\ - --enable-valgrind-testing -make %{?jobs:-j%jobs} docdir=%{_docdir}/%{name} -make check +%configure \ + --disable-static \ + --with-pic +%{__make} %{?jobs:-j%jobs} docdir=%{_docdir}/%{name} %install %makeinstall docdir=%{_docdir}/%{name} -install -d $RPM_BUILD_ROOT%{_bindir} +%{__install} -d $RPM_BUILD_ROOT%{_bindir} # Use non-generic name here to prevent vague meaning: -install examples/.libs/dump_video $RPM_BUILD_ROOT%{_bindir}/dump_video_theora -install examples/.libs/encoder_example $RPM_BUILD_ROOT%{_bindir}/encoder_example_theora -install examples/.libs/player_example $RPM_BUILD_ROOT%{_bindir}/player_example_theora +%{__install} examples/.libs/dump_video $RPM_BUILD_ROOT%{_bindir}/dump_video_theora +%{__install} examples/.libs/encoder_example $RPM_BUILD_ROOT%{_bindir}/encoder_example_theora +%{__install} examples/.libs/player_example $RPM_BUILD_ROOT%{_bindir}/player_example_theora # And provide symlinks to old names (<= openSUSE 10.2): -ln -s dump_video_theora $RPM_BUILD_ROOT%{_bindir}/dump_video -ln -s encoder_example_theora $RPM_BUILD_ROOT%{_bindir}/encoder_example -ln -s player_example_theora $RPM_BUILD_ROOT%{_bindir}/player_example +%{__ln_s} dump_video_theora $RPM_BUILD_ROOT%{_bindir}/dump_video +%{__ln_s} encoder_example_theora $RPM_BUILD_ROOT%{_bindir}/encoder_example +%{__ln_s} player_example_theora $RPM_BUILD_ROOT%{_bindir}/player_example # Install remaining parts of documentation. -cp -a AUTHORS CHANGES COPYING LICENSE README $RPM_BUILD_ROOT%{_docdir}/%{name} +%{__cp} -a AUTHORS CHANGES COPYING LICENSE README $RPM_BUILD_ROOT%{_docdir}/%{name} cd examples -make clean -cp -a . $RPM_BUILD_ROOT%{_docdir}/%{name}/examples +%{__make} clean +%{__cp} -a . $RPM_BUILD_ROOT%{_docdir}/%{name}/examples cd $RPM_BUILD_ROOT%{_docdir}/%{name}/examples -rm -rf .deps Makefile* +%{__rm} -rf .deps Makefile* + +%check +%{__make} check %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT -%files +%post -n libtheora0 -p /sbin/ldconfig + +%postun -n libtheora0 -p /sbin/ldconfig + +%files -n libtheora0 %defattr(-,root,root) -%doc %dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/[ACLR]* -%{_libdir}/libtheora.so.* +%{_libdir}/libtheora.so.0* %files devel %defattr(-,root,root) -%doc %{_docdir}/%{name}/[cdehlv]* +%doc %dir %{_docdir}/%{name} +%doc %{_docdir}/%{name}/* %{_bindir}/* %{_includedir}/theora %{_libdir}/*.so -%{_libdir}/*.*a %{_libdir}/pkgconfig/theora.pc +%exclude %{_libdir}/*.la %changelog +* Sun Aug 12 2007 - crrodriguez@suse.de +- fix build in x86_64 +- use library packaging policy +- run make check in the check section +- add missing call to ldconfig * Wed Mar 28 2007 - sbrabec@suse.cz - Updated to version 1.0alpha7: * Enable mmx assembly by default ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org