New package, split from speex (#1172829)

This commit is contained in:
David King 2014-12-12 14:24:37 +00:00
parent 6e48548e73
commit 9726b188d4
3 changed files with 73 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/speexdsp-1.2rc2.tar.gz

View File

@ -0,0 +1 @@
3bb48eb1c0fe641d59f39b9f616f3031 speexdsp-1.2rc2.tar.gz

71
speexdsp.spec Normal file
View File

@ -0,0 +1,71 @@
Name: speexdsp
Version: 1.2
%global rc_ver rc2
Release: 0.1.%{rc_ver}%{?dist}
Summary: A voice compression format (DSP)
Group: System Environment/Libraries
License: BSD
URL: http://www.speex.org/
Source0: http://downloads.xiph.org/releases/speex/%{name}-%{version}%{rc_ver}.tar.gz
BuildRequires: speex-devel
# speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on
# speex, a versioned conflict is required.
Conflicts: speex <= 1.2-0.21.rc1
%description
Speex is a patent-free compression format designed especially for
speech. It is specialized for voice communications at low bit-rates in
the 2-45 kbps range. Possible applications include Voice over IP
(VoIP), Internet audio streaming, audio books, and archiving of speech
data (e.g. voice mail).
This is the DSP package, see the speex package for the codec part.
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
# speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on
# speex, a versioned conflict is required.
Conflicts: speex-devel <= 1.2-0.21.rc1
%description devel
Speex is a patent-free compression format designed especially for
speech. This package contains development files for %{name}
This is the DSP package, see the speex package for the codec part.
%prep
%setup -q -n %{name}-%{version}%{rc_ver}
%build
%configure --disable-static
make %{?_smp_mflags} V=1
%install
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc AUTHORS COPYING TODO ChangeLog README NEWS
%{_libdir}/libspeexdsp.so.*
%files devel
%{_includedir}/speex
%{_libdir}/pkgconfig/speexdsp.pc
%{_libdir}/libspeexdsp.so
%exclude %{_libdir}/libspeexdsp.la
%changelog
* Fri Dec 12 2014 David King <amigadave@amigadave.com> - 1.2-0.1.rc2
- New package, split from speex (#1172829)