Browse Source

speexdsp-1.2-0.15.rc3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11540 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
729e5b5565
1 changed files with 40 additions and 1 deletions
  1. 40 1
      s/speexdsp/speexdsp-vl.spec

+ 40 - 1
s/speexdsp/speexdsp-vl.spec

@@ -1,7 +1,9 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
 Name:           speexdsp
 Version:        1.2
 %global rc_ver  rc3
-Release:        0.14.%{rc_ver}%{?dist}
+Release:        0.15.%{rc_ver}%{?dist}
 Summary:        A voice compression format (DSP)
 
 Group:          System Environment/Libraries
@@ -44,6 +46,31 @@ speech. This package contains development files for %{name}
 
 This is the DSP package, see the speex package for the codec part.
 
+%if %{build_compat32}
+%package -n compat32-%{name}
+Summary:	A voice compression format (DSP)
+Group:		System Environment/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description -n compat32-%{name}
+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 -n compat32-%{name}-devel
+Summary: 	Development package for %{name}
+Group: 		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description -n compat32-%{name}-devel
+Speex is a patent-free compression format designed especially for
+speech. This package contains development files for %{name}
+%endif
+
 
 %prep
 %setup -q -n %{name}-%{version}%{rc_ver}
@@ -79,7 +106,19 @@ find %{buildroot} -type f -name "*.la" -delete
 %{_libdir}/pkgconfig/speexdsp.pc
 %{_libdir}/libspeexdsp.so
 
+%if %{build_compat32}
+%files -n compat32-%{name}
+%{_libdir}/libspeexdsp.so.*
+
+%files -n compat32-%{name}-devel
+%{_libdir}/pkgconfig/speexdsp.pc
+%{_libdir}/libspeexdsp.so
+%endif
+
 %changelog
+* Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-0.15.rc3
+- added compat32 packages.
+
 * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-0.14.rc3
 - initial build for Vine Linux.