speex.spec

来自「mediastreamer2是开源的网络传输媒体流的库」· SPEC 代码 · 共 72 行

SPEC
72
字号
%define name     speex%define ver      1.2rc1%define rel      1Summary: An open-source, patent-free speech codecName: %nameVersion: %verRelease: %relLicense: BSDGroup: Application/DevelSource: http://www.speex.org/download/%{name}-%{ver}.tar.gzURL: http://www.speex.org/Vendor: SpeexPackager: Jean-Marc Valin (jean-marc.valin@usherbrooke.ca)BuildRoot: /var/tmp/%{name}-build-rootDocdir: /usr/share/doc%descriptionSpeex 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 Vorbiscodec.%package develSummary:	Speex development filesGroup:		Development/LibrariesRequires:	%{name} = %{version}%description develSpeex development files.%changelog* Thu Oct 03 2002 Jean-Marc Valin - Added devel package inspired from PLD spec file* Tue Jul 30 2002 Fredrik Rambris <boost@users.sourceforge.net> 0.5.2- Added buildroot and docdir and ldconfig. Makes it builadble by non-roots  and also doesn't write to actual library paths when building.%prep%setup%buildexport CFLAGS='-O3'./configure --prefix=/usr --enable-shared --enable-staticmake%installrm -rf $RPM_BUILD_ROOTmake DESTDIR=$RPM_BUILD_ROOT install%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%files%defattr(644,root,root,755)%doc COPYING AUTHORS ChangeLog NEWS README%doc doc/manual.pdf/usr/share/man/man1/speexenc.1*/usr/share/man/man1/speexdec.1*%attr(755,root,root) %{_bindir}/speex*%attr(755,root,root) %{_libdir}/libspeex*.so*%files devel%defattr(644,root,root,755)%attr(755,root,root) %{_libdir}/libspeex*.la%{_includedir}/speex/speex*.h/usr/share/aclocal/speex.m4%{_libdir}/pkgconfig/speex.pc%{_libdir}/pkgconfig/speexdsp.pc%{_libdir}/libspeex*.a

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?