Accepting request 47105 from home:elvigia:branches:multimedia:libs

Copy from home:elvigia:branches:multimedia:libs/speex via accept of submit request 47105 revision 2.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/47105
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/speex?expand=0&rev=11
This commit is contained in:
Cristian Rodríguez 2010-09-04 12:49:12 +00:00 committed by Git OBS Bridge
parent ff65d8d4f3
commit f7bc2772e0
4 changed files with 40 additions and 2 deletions

View File

@ -1,2 +1,3 @@
libspeex1
obsoletes "libspeex-<targettype> <= 1.1.99.91"
libspeexdsp1

26
speex-no-build-date.patch Normal file
View File

@ -0,0 +1,26 @@
Index: src/speexdec.c
===================================================================
--- src/speexdec.c.orig 2008-05-30 09:34:16.000000000 +0200
+++ src/speexdec.c 2010-09-04 01:48:51.580370000 +0200
@@ -292,7 +292,7 @@ void version()
{
const char* speex_version;
speex_lib_ctl(SPEEX_LIB_GET_VERSION_STRING, (void*)&speex_version);
- printf ("speexdec (Speex decoder) version %s (compiled " __DATE__ ")\n", speex_version);
+ printf ("speexdec (Speex decoder) version %s\n", speex_version);
printf ("Copyright (C) 2002-2006 Jean-Marc Valin\n");
}
Index: src/speexenc.c
===================================================================
--- src/speexenc.c.orig 2010-09-04 01:48:13.000000000 +0200
+++ src/speexenc.c 2010-09-04 01:49:30.654133000 +0200
@@ -185,7 +185,7 @@ void version()
{
const char* speex_version;
speex_lib_ctl(SPEEX_LIB_GET_VERSION_STRING, (void*)&speex_version);
- printf ("speexenc (Speex encoder) version %s (compiled " __DATE__ ")\n", speex_version);
+ printf ("speexenc (Speex encoder) version %s\n", speex_version);
printf ("Copyright (C) 2002-2006 Jean-Marc Valin\n");
}

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Sep 3 23:58:01 UTC 2010 - cristian.rodriguez@opensuse.org
- Do not include build date in binaries...
-------------------------------------------------------------------
Fri Jun 25 17:41:30 CEST 2010 - dmueller@suse.de
- obsolete old -XXbit packages
-------------------------------------------------------------------
Thu Jan 14 12:58:49 UTC 2010 - chris@computersalat.de

View File

@ -22,20 +22,20 @@ Name: speex
Summary: An Open Source, Patent Free Speech Codec
%define package_version 1.2rc1
Version: 1.1.999_%{package_version}
Release: 2
Release: 3
License: BSD3c
Group: System/Libraries
Url: http://www.speex.org/
Source: %{name}-%{package_version}.tar.bz2
Source2: baselibs.conf
Patch1: speex-1.0.5-warning-fix.diff
Patch2: speex-no-build-date.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libogg-devel pkgconfig
# bug437293
%ifarch ppc64
Obsoletes: speex-64bit
%endif
#
%description
Speex is a patent free audio codec designed especially for voice
@ -91,6 +91,7 @@ SpeeX library.
%prep
%setup -q -n %{name}-%{package_version}
%patch1
%patch2
%build
%if 0%{?suse_version} >= 1100