1617314aaa
- Use the tilde versioning scheme (like the "speex" package). Improve group classification. OBS-URL: https://build.opensuse.org/request/show/291099 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/speexdsp?expand=0&rev=6
93 lines
2.8 KiB
RPMSpec
93 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package speexdsp
|
|
#
|
|
# Copyright (c) 2015 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define package_version 1.2rc3
|
|
%define libname libspeexdsp1
|
|
Name: speexdsp
|
|
Version: 1.2~rc3
|
|
Release: 0
|
|
Summary: An Open Source, Patent Free Speech Codec
|
|
License: BSD-3-Clause
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|
Url: http://www.speex.org/
|
|
Source: http://downloads.xiph.org/releases/speex/%{name}-%{package_version}.tar.gz
|
|
Source2: baselibs.conf
|
|
BuildRequires: pkg-config
|
|
BuildRequires: pkgconfig(ogg)
|
|
Conflicts: speex <= 1.1.999_1.2rc1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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: An Open Source, Patent Free Speech Codec Library
|
|
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: speex-devel <= 1.1.999_1.2rc1
|
|
|
|
%description devel
|
|
This package contains the files needed to compile programs that use the
|
|
SpeeX library.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{package_version}
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
# remove unneeded *.a and *.la files
|
|
rm -f %{buildroot}%{_libdir}/*.a
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
%files -n %{libname}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libspeexdsp.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/doc/%{name}
|
|
%doc %{_datadir}/doc/%{name}/manual.pdf
|
|
%{_includedir}/*
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|