speexdsp/speexdsp.spec
Martin Pluskal 7c93926fa2 Accepting request 727569 from home:jengelh:branches:multimedia:libs
- Update to release 1.2.0
  * No changelog provided
- Drop speexdsp-fixbuilds-774c87d.patch (merged)

OBS-URL: https://build.opensuse.org/request/show/727569
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/speexdsp?expand=0&rev=15
2019-09-01 08:05:33 +00:00

97 lines
2.9 KiB
RPMSpec

#
# spec file for package speexdsp
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define package_version 1.2.0
%define sover 1
%define libname lib%{name}%{sover}
Name: speexdsp
Version: 1.2.0
Release: 0
Summary: Patent free speech codec
License: BSD-3-Clause
Group: Productivity/Multimedia/Sound/Editors and Convertors
URL: https://www.speex.org/
#Git-Clone: https://github.com/xiph/speexdsp
Source0: https://downloads.xiph.org/releases/speex/%{name}-%{package_version}.tar.gz
Source2: baselibs.conf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(ogg)
Conflicts: speex <= 1.1.999_1.2rc1
%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.
%package -n %{libname}
Summary: Patent-free speech codec
Group: System/Libraries
%description -n %{libname}
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.
%package devel
Summary: Development package for SpeeX
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Conflicts: pkgconfig(speex) <= 1.1.999_1.2rc1
%description devel
This package contains the files needed to compile programs that use the
SpeeX library.
%prep
%autosetup -p1 -n %{name}-%{package_version}
%build
autoreconf -fiv
# Disable NEON since it doesn't check for availability of the NEON
# extension at runtime
%configure \
--disable-static \
--disable-neon
make %{?_smp_mflags} V=1
%install
%make_install
# remove unneeded *.la files
rm -f %{buildroot}/%{_libdir}/*.la
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%{_libdir}/libspeexdsp.so.%{sover}*
%files devel
%dir %{_datadir}/doc/%{name}
%doc %{_datadir}/doc/%{name}/manual.pdf
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%changelog