speexdsp/speexdsp.spec

79 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:17:25 -04:00
%define ver rc3
Name: speexdsp
Summary: An open-source, patent-free speech codec
Version: 1.2
2019-12-13 16:09:42 +08:00
Release: 3.%{ver}
2019-09-30 11:17:25 -04:00
License: BSD
Source0: http://www.speex.org/download/%{name}-%{version}%{ver}.tar.gz
URL: http://www.speex.org/
Patch0: speexdsp-fixbuilds-774c87d.patch
Buildrequires: autoconf automake libtool gdb
%description
Speex 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 Vorbis
codec.
%package devel
Summary: Speex development files
Requires: %{name} = %{version}-%{release}
%description devel
Speex development files.
%package_help
%prep
%autosetup -n %{name}-%{version}%{ver} -p1
%build
autoreconf -fiv
%configure --enable-shared \
%ifarch aarch64
--disable-neon
%endif
2019-12-13 16:09:42 +08:00
2019-09-30 11:17:25 -04:00
%make_build
%install
%make_install
%delete_la_and_a
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc ChangeLog
%license COPYING AUTHORS
%{_libdir}/lib%{name}.so.*
%files devel
%defattr(644,root,root,755)
%{_includedir}/speex/speex*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/lib%{name}.so
%files help
%defattr(644,root,root,755)
%doc NEWS README
%{_docdir}/%{name}/*.pdf
%changelog
2019-12-13 16:09:42 +08:00
* Thu Nov 21 2019 fangyufa<fangyufa1@huawei.com> - 1.2-3.rc3
- fix build problem for x86_64 platform
2019-09-30 11:17:25 -04:00
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1.2-2.rc3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move the license
* Tue Aug 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2-1.rc3
- Package init