From 9726b188d4adf1db43106620b82a5eb2cb450cef Mon Sep 17 00:00:00 2001 From: David King Date: Fri, 12 Dec 2014 14:24:37 +0000 Subject: [PATCH] New package, split from speex (#1172829) --- .gitignore | 1 + sources | 1 + speexdsp.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 speexdsp.spec diff --git a/.gitignore b/.gitignore index e69de29..40e8fb8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/speexdsp-1.2rc2.tar.gz diff --git a/sources b/sources index e69de29..290ccbf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3bb48eb1c0fe641d59f39b9f616f3031 speexdsp-1.2rc2.tar.gz diff --git a/speexdsp.spec b/speexdsp.spec new file mode 100644 index 0000000..1ed89c3 --- /dev/null +++ b/speexdsp.spec @@ -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 - 1.2-0.1.rc2 +- New package, split from speex (#1172829)