126 lines
4.3 KiB
RPMSpec
126 lines
4.3 KiB
RPMSpec
Name: libspeex
|
|
Epoch: 1
|
|
Version: 1.2.0
|
|
Release: 3mamba
|
|
Summary: Open Source/Free Software patent-free audio compression format designed for speech
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://speex.org/
|
|
Source: http://downloads.us.xiph.org/releases/speex/speex-%{version}.tar.gz
|
|
Patch1: speex-1.1.6-fix-pkgconfig-path.patch
|
|
Patch2: speex-1.2-CVE-2008-1686.diff
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libogg-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Speex is an Open Source/Free Software patent-free audio compression format designed for speech.
|
|
The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs.
|
|
Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs.
|
|
Finally, Speex is part of the GNU Project and is available under the Xiph.org variant of the BSD license.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
Speex is an Open Source/Free Software patent-free audio compression format designed for speech.
|
|
The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs.
|
|
Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%package tools
|
|
Group: Applications/Multimedia
|
|
Summary: Tools provided with %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
Speex is an Open Source/Free Software patent-free audio compression format designed for speech.
|
|
The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs.
|
|
Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs.
|
|
This package contains the tools provided with %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n speex-%{version}
|
|
%define _default_patch_fuzz 2
|
|
%patch1 -p1 -b .pkgconfig
|
|
%patch2 -p1 -b .CVE-2008-1686
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
# remove uppackaged files
|
|
rm -f %{buildroot}%{_datadir}/doc/speex/manual.pdf
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libspeex.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_datadir}/aclocal/speex.m4
|
|
%{_includedir}/speex/*.h
|
|
%{_libdir}/libspeex.a
|
|
%{_libdir}/libspeex.la
|
|
%{_libdir}/libspeex.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%doc doc/manual.pdf
|
|
%doc ChangeLog NEWS README TODO
|
|
|
|
#%files tools
|
|
#%defattr(-,root,root)
|
|
#%{_bindir}/speexdec
|
|
#%{_bindir}/speexenc
|
|
#%{_mandir}/man1/speexdec.*
|
|
#%{_mandir}/man1/speexenc.*
|
|
|
|
%changelog
|
|
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
|
|
- remove obsoletes for libspeexdsp-devel
|
|
|
|
* Mon Dec 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
|
- don't provide/obsolete libspeexdsp
|
|
|
|
* Fri Dec 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
- update to 1.2.0
|
|
- added debug package and -tools subpackage
|
|
|
|
* Sat Dec 08 2012 Automatic Build System <autodist@mambasoft.it> 1.2rc1-1mamba
|
|
- update to 1.2rc1
|
|
|
|
* Mon Aug 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-3mamba
|
|
- rebuilt to add pkgconfig provides
|
|
|
|
* Fri Jul 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-2mamba
|
|
- updated to 1.2rc1
|
|
- obsolete libspeexdsp
|
|
|
|
* Wed Aug 01 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
|
|
- update to 1.2 (beta2)
|
|
|
|
* Fri Jan 19 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.5-2qilnx
|
|
- fixed speex.m4 (underquoted definition of XIPH_PATH_SPEEX)
|
|
|
|
* Thu Jun 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.5-1qilnx
|
|
- package created by autospec
|