From be704ce9b41bd259b0fe084cab6f2b30bc43290ab4654bcf83463f1a031c60de Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 29 Jul 2011 07:14:19 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/libtheora revision 23.0 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libtheora?expand=0&rev=15eb0322d3926babbf19c063b664af39 --- libtheora.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtheora.spec b/libtheora.spec index 1effb70..dee384c 100644 --- a/libtheora.spec +++ b/libtheora.spec @@ -25,7 +25,7 @@ License: BSD3c(or similar) Group: Productivity/Multimedia/Other Summary: Free Video Codec Version: 1.1.1 -Release: 10 +Release: 12 %define pkg_version %version # bug437293 %ifarch ppc64 From 1f6549350455cdff80fdd3cb21ad1d096538dfab0b4d2e069cf5235db7819803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 29 Aug 2011 19:17:23 +0000 Subject: [PATCH 2/2] Accepting request 80116 from home:elvigia:branches:multimedia:libs - remove examples that fail to build, also SDL and png are only needed for those, so remove from buildrequires. OBS-URL: https://build.opensuse.org/request/show/80116 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libtheora?expand=0&rev=18 --- libtheora.changes | 6 ++++++ libtheora.spec | 18 ++---------------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/libtheora.changes b/libtheora.changes index 4d08d43..61a5b1b 100644 --- a/libtheora.changes +++ b/libtheora.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 29 19:11:23 UTC 2011 - crrodriguez@opensuse.org + +- remove examples that fail to build, also SDL and png + are only needed for those, so remove from buildrequires. + ------------------------------------------------------------------- Wed Jul 27 23:53:06 UTC 2011 - crrodriguez@opensuse.org diff --git a/libtheora.spec b/libtheora.spec index dee384c..e28f315 100644 --- a/libtheora.spec +++ b/libtheora.spec @@ -19,7 +19,7 @@ Name: libtheora -BuildRequires: SDL-devel gcc-c++ libogg-devel libpng-devel libvorbis-devel pkg-config python +BuildRequires: gcc-c++ libogg-devel libvorbis-devel pkg-config python Url: http://www.theora.org/ License: BSD3c(or similar) Group: Productivity/Multimedia/Other @@ -97,7 +97,7 @@ Authors: %build ACLOCAL="aclocal -I m4" autoreconf -f -i -%configure \ +%configure --disable-examples \ --disable-static \ --with-pic %{__make} %{?jobs:-j%jobs} docdir=%{_docdir}/%{name} @@ -105,21 +105,8 @@ ACLOCAL="aclocal -I m4" autoreconf -f -i %install %makeinstall docdir=%{_docdir}/%{name} %{__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 -# 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 # Install remaining parts of documentation. %{__cp} -a AUTHORS CHANGES COPYING LICENSE README $RPM_BUILD_ROOT%{_docdir}/%{name} -cd examples -%{__make} clean -%{__cp} -a . $RPM_BUILD_ROOT%{_docdir}/%{name}/examples -cd $RPM_BUILD_ROOT%{_docdir}/%{name}/examples -%{__rm} -rf .deps Makefile* %check %{__make} check @@ -141,7 +128,6 @@ cd $RPM_BUILD_ROOT%{_docdir}/%{name}/examples %defattr(-,root,root) %doc %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/* -%{_bindir}/* %{_includedir}/theora %{_libdir}/*.so %{_libdir}/pkgconfig/theoradec.pc