2007-01-15 23:37:47 +00:00
|
|
|
#
|
2011-11-24 11:20:53 +00:00
|
|
|
# spec file for package speex
|
2007-01-15 23:37:47 +00:00
|
|
|
#
|
2022-07-12 06:14:11 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-15 23:37:47 +00:00
|
|
|
#
|
2008-08-06 23:35:19 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2021-11-11 12:24:51 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:37:47 +00:00
|
|
|
#
|
|
|
|
|
2008-04-10 13:33:03 +00:00
|
|
|
|
2015-02-28 10:05:47 +00:00
|
|
|
%define libname libspeex1
|
2007-01-15 23:37:47 +00:00
|
|
|
Name: speex
|
2022-07-12 06:14:11 +00:00
|
|
|
Version: 1.2.1
|
2015-02-28 09:45:52 +00:00
|
|
|
Release: 0
|
2010-02-24 01:28:27 +00:00
|
|
|
Summary: An Open Source, Patent Free Speech Codec
|
2013-04-05 14:08:27 +00:00
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: System/Libraries
|
2022-07-12 06:14:11 +00:00
|
|
|
URL: https://www.speex.org/
|
|
|
|
Source0: https://downloads.xiph.org/releases/speex/%{name}-%{version}.tar.gz
|
2015-02-28 09:45:52 +00:00
|
|
|
Source1: baselibs.conf
|
|
|
|
Patch0: speex-no-build-date.patch
|
2022-07-12 06:14:11 +00:00
|
|
|
BuildRequires: pkgconfig
|
2015-02-28 09:45:52 +00:00
|
|
|
BuildRequires: pkgconfig(ogg)
|
|
|
|
BuildRequires: pkgconfig(speexdsp)
|
2007-01-15 23:37:47 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Speex is a patent free audio codec designed especially for voice
|
|
|
|
(unlike Vorbis which targets general audio) signals and providing good
|
|
|
|
narrowband and wideband quality. This project aims to be complementary
|
|
|
|
to the Vorbis codec.
|
|
|
|
|
2015-02-28 10:05:47 +00:00
|
|
|
%package -n %{libname}
|
2010-01-14 07:02:24 +00:00
|
|
|
Summary: An Open Source, Patent Free Speech Codec Library
|
|
|
|
Group: System/Libraries
|
2010-06-25 15:47:07 +00:00
|
|
|
Obsoletes: libspeex < %{version}
|
|
|
|
Provides: libspeex = %{version}
|
2007-04-12 16:19:34 +00:00
|
|
|
|
2015-02-28 10:05:47 +00:00
|
|
|
%description -n %{libname}
|
2010-01-14 07:02:24 +00:00
|
|
|
Speex is a patent free audio codec designed especially for voice
|
|
|
|
(unlike Vorbis which targets general audio) signals and providing good
|
|
|
|
narrowband and wideband quality. This project aims to be complementary
|
|
|
|
to the Vorbis codec.
|
2007-04-12 16:19:34 +00:00
|
|
|
|
2007-01-15 23:37:47 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for SpeeX
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-02-28 10:05:47 +00:00
|
|
|
Requires: %{libname} = %{version}
|
2015-08-22 16:15:44 +00:00
|
|
|
Requires: speexdsp-devel
|
2015-02-28 09:45:52 +00:00
|
|
|
Provides: libspeex-devel = %{version}-%{release}
|
|
|
|
Obsoletes: libspeex-devel < %{version}-%{release}
|
2007-01-15 23:37:47 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the files needed to compile programs that use the
|
|
|
|
SpeeX library.
|
|
|
|
|
|
|
|
%prep
|
2022-07-12 06:14:11 +00:00
|
|
|
%setup -q
|
|
|
|
%patch0
|
2007-01-15 23:37:47 +00:00
|
|
|
|
|
|
|
%build
|
2007-08-15 19:56:51 +00:00
|
|
|
%configure \
|
2015-02-28 09:45:52 +00:00
|
|
|
--enable-binaries \
|
2022-07-12 06:14:11 +00:00
|
|
|
--disable-static
|
2015-02-28 09:45:52 +00:00
|
|
|
|
2022-07-12 06:14:11 +00:00
|
|
|
%make_build
|
2007-01-15 23:37:47 +00:00
|
|
|
|
|
|
|
%install
|
2022-07-12 06:14:11 +00:00
|
|
|
%make_install
|
2007-05-24 22:42:54 +00:00
|
|
|
# remove duped documents
|
2015-02-28 09:45:52 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/speex*
|
2007-05-24 22:42:54 +00:00
|
|
|
# remove unneeded *.la files
|
2015-02-28 09:45:52 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.a
|
2010-01-14 15:17:18 +00:00
|
|
|
|
2015-02-28 10:05:47 +00:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
2007-01-15 23:37:47 +00:00
|
|
|
|
2015-02-28 09:45:52 +00:00
|
|
|
%files
|
2022-07-12 06:14:11 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog NEWS README TODO
|
2010-01-14 15:17:18 +00:00
|
|
|
%{_bindir}/speex*
|
|
|
|
%{_mandir}/man?/*
|
|
|
|
|
2015-02-28 10:05:47 +00:00
|
|
|
%files -n %{libname}
|
2010-01-14 15:17:18 +00:00
|
|
|
%{_libdir}/libspeex.so.*
|
2007-04-12 16:19:34 +00:00
|
|
|
|
2007-01-15 23:37:47 +00:00
|
|
|
%files devel
|
|
|
|
%doc doc/manual.pdf
|
|
|
|
%{_includedir}/*
|
2010-01-14 15:17:18 +00:00
|
|
|
%{_libdir}/lib*.so
|
2007-01-15 23:37:47 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
|
2007-04-12 16:19:34 +00:00
|
|
|
%changelog
|