vorbis-tools/vorbis-tools.spec
2019-12-14 21:52:00 +08:00

59 lines
1.6 KiB
RPMSpec

Name: vorbis-tools
Summary: Several Ogg Vorbis Tools
Version: 1.4.0
Release: 30
Epoch: 1
License: GPLv2
URL: http://www.xiph.org/
Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
Patch0: vorbis-tools-1.4.0-bz887540.patch
Patch1: vorbis-tools-1.4.0-man-page.patch
Patch2: vorbis-tools-1.4.0-bz1003607.patch
Patch3: vorbis-tools-1.4.0-bz1116650.patch
Patch4: vorbis-tools-1.4.0-bz1185558.patch
Patch5: vorbis-tools-1.4.0-CVE-2014-9638-CVE-2014-9639.patch
Patch6: vorbis-tools-1.4.0-CVE-2015-6749.patch
BuildRequires: flac-devel gettext gcc libao-devel libcurl-devel libvorbis-devel speex-devel
Obsoletes: vorbis < %{epoch}:%{version}-%{release}
Provides: vorbis = %{epoch}:%{version}-%{release}
%description
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose
compressed audio format for mid to high quality (8kHz-48.0kHz, 16+ bit, polyphonic) audio
and music at fixed and variable bitrates from 16 to 128 kbps/channel. This places Vorbis
in the same competitive class as audio representations such as MPEG-4 (AAC), and similar
to, but higher performance than MPEG-1/2 audio layer 3, MPEG-4 audio (TwinVQ), WMA and PAC.
%package_help
%prep
%autosetup -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security"
%configure
%make_build
%make_build update-gmo -C po
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%{_bindir}/*
%files help
%doc AUTHORS COPYING README
%doc ogg123/ogg123rc-example
%{_mandir}/man1/*
%exclude %{_docdir}/%{name}*
%changelog
* Tue Nov 19 2019 caomeng<caomeng5@huawei.com> - 1:1.4.0-30
- Package init