%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} %define liboggver 1.3.2 Summary: The Vorbis General Audio Compression Codec. Summary(ja): Vorbis - 汎用オーディオ圧縮コーデック Name: libvorbis Epoch: 1 Version: 1.3.7 Release: 1%{?_dist_release} Group: system Vendor: Project Vine Distribution: Vine Linux License: BSD URL: https://www.xiph.org/ Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libogg-devel >= %{liboggver} BuildRequires: perl %description Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for audio and music at fixed and variable bitrates from 16 to 128 kbps/channel. The libvorbis package contains runtime libraries for use in programs that support Ogg Voribs. %description -l ja Ogg Vorbis は完全にオープンで、知的財産権による制約、特許やロイヤリティ と関係ない汎用のオーディオ圧縮フォーマットで、チャンネルあたり 16〜128 kbps の固定/可変ビットレートのオーディオや音楽用です。 このパッケージには、Ogg Vorbis をサポートするプログラムで使われるランタ イムライブラリが含まれています。 %package devel Summary: Development files for Vorbis applications. Summary(ja): Vorbis アプリケーションの開発用ファイル Group: programming Requires: %{name} = %{epoch}:%{version}-%{release} Requires: libogg-devel >= %{liboggver} %description devel The libvorbis-devel package contains the header files, static libraries and documentation needed to develop applications with libvorbis. %description -l ja devel このパッケージには、libvorbis を使ったアプリケーションの開発に必要な ヘッダファイル、静的ライブラリ、及びドキュメントが含まれています。 %package devel-docs Summary: Documentation for developing Vorbis applications Group: documentation BuildArch: noarch Requires: %{name}-devel = %{epoch}:%{version}-%{release} %description devel-docs Documentation for developing applications with libvorbis. # compat32 %package -n compat32-%{name} Summary: The Vorbis General Audio Compression Codec. Summary(ja): Vorbis - 汎用オーディオ圧縮コーデック Group: system,legacy %description -n compat32-%{name} Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for audio and music at fixed and variable bitrates from 16 to 128 kbps/channel. The libvorbis package contains runtime libraries for use in programs that support Ogg Voribs. %description -n compat32-%{name} -l ja Ogg Vorbis は完全にオープンで、知的財産権による制約、特許やロイヤリティ と関係ない汎用のオーディオ圧縮フォーマットで、チャンネルあたり 16〜128 kbps の固定/可変ビットレートのオーディオや音楽用です。 このパッケージには、Ogg Vorbis をサポートするプログラムで使われるランタ イムライブラリが含まれています。 %package -n compat32-%{name}-devel Summary: Development files for Vorbis applications. Summary(ja): Vorbis アプリケーションの開発用ファイル Group: programming,legacy Requires: compat32-%{name} = %{epoch}:%{version}-%{release} Requires: compat32-libogg-devel >= %{liboggver} %description -n compat32-%{name}-devel The libvorbis-devel package contains the header files, static libraries and documentation needed to develop applications with libvorbis. %description -n compat32-%{name}-devel -l ja このパッケージには、libvorbis を使ったアプリケーションの開発に必要な ヘッダファイル、静的ライブラリ、及びドキュメントが含まれています。 %debug_package %prep %setup -q sed -i "s/-ffast-math//" configure sed -i "s/-mcpu=750//" configure %build %configure --disable-static make %{?_smp_mflags} %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} make DESTDIR=%{buildroot} docdir=%{_pkgdocdir} install rm -f %{buildroot}%{_libdir}/lib*.la %ifnarch x86_64 rm -rf %{buildroot}%{_pkgdocdir} %endif %check make check %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %ldconfig_scriptlets %ldconfig_scriptlets -n compat32-%{name} %files %defattr(-,root,root) %license COPYING %doc AUTHORS README todo.txt %{_libdir}/*.so.* %files devel %defattr(-,root,root) %doc doc/* %{_includedir}/vorbis %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/vorbis.m4 %ifarch x86_64 %files devel-docs %{_pkgdocdir}/* %exclude %{_pkgdocdir}/doxygen-build.stamp %endif # compat32 %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root) %{_libdir}/*.so.* %files -n compat32-%{name}-devel %defattr(-,root,root) %{_libdir}/*.so %endif %changelog * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO 1.3.7-1 - new upstream release. - dropped Patch0. * Mon Feb 17 2020 Tomohiro "Tomo-p" KATO 1.3.6-1 - new upstream release. - imported Patch0 from rawhide. * Sat May 16 2015 Ryoichi INAGAKI 1.3.5-1 - new upstream release * Sat Jul 05 2014 Yoji TOYODA 1.3.4-1 - new upstream release * Sun Jun 10 2012 Yoji TOYODA 1.3.3-1 - new upstream release * Tue Sep 21 2010 Ryoichi INAGAKI 1.3.1-1 - new upstream release - built with rpm-4.8.1 * Sun Nov 22 2009 Ryoichi INAGAKI 1.2.3-1 - new upstream release - dropped Patch2-7 (merged into upstream) * Wed Aug 12 2009 Satoshi IWAMOTO 1.2.0-9 - add patch7 to fix CVE-2009-2663 (OGG Processing) from fc10 * Sun Jun 28 2009 Satoshi IWAMOTO 1.2.0-8 - fix compat32-devel Require tag (adding epoch) * Sun Jun 28 2009 Satoshi IWAMOTO 1.2.0-7 - rollback to 1.2.0 because of pulseaudio lockup issue - add Epoch 1 - patch2-6 are added again * Wed Jun 24 2009 Satoshi IWAMOTO 1.2.2-1 - new upstream release - drop old patches * Fri Jun 19 2009 Ryoichi INAGAKI 1.2.0-6 - used --disable-static option * Sun May 10 2009 NAKAMURA Kenta 1.2.0-5 - added compat32 package for x86_64 arch support - removed lib*.a from devel package * Wed Oct 15 2008 Shu KONNO 1.2.0-4vl5 - spec in utf-8 * Sun Jun 15 2008 Ryoichi INAGAKI 1.2.0-3vl5 - added Patches for security fix based on VinePlus 1.2.0-3vl4 * Sat Jun 07 2008 Satoshi IWAMOTO 1.2.0-3vl4 - add patch2,6 for additional hardening/sanity checks - add patch3 for CVE-2008-1420 - add patch4 for CVE-2008-1419 - add patch5 for CVE-2008-1423 * Mon May 19 2008 Ryoichi INAGAKI 1.2.0-1 - applied new versioning policy - removed lib*.la from devel package * Fri Aug 17 2007 Ryoichi INAGAKI 1.2.0-0vl4 - fixed include file location * Tue Aug 7 2007 AKIYAMA Kazuhito 1.2.0-0vl3 - rebuild for VineSeed * Tue Aug 7 2007 AKIYAMA Kazuhito 1.2.0-0vl2 - rebuild for Vine Linux 4.1 * Tue Aug 7 2007 AKIYAMA Kazuhito 1.2.0-0vl1 - new upstream release (CVE-2007-3106, CVE-2007-4029) * Mon May 14 2007 AKIYAMA Kazuhito 1.1.2-0vl2 - rebuild with new toolchain * Tue Nov 29 2005 KAZUKI SHIMURA 1.1.2-0vl1 - source upgrade * Fri Jul 01 2005 KAZUKI SHIMURA 1.1.1-0vl1 - source upgrade - add Japanese summary and description * Fri Oct 01 2004 KAZUKI SHIMURA 1.1.0-0vl1 - source upgrade - update source-URL * Fri Mar 26 2004 AKIYAMA Kazuhito 1.0.1-0vl3 - rebuild * Sat Nov 22 2003 AKIYAMA Kazuhito 1.0.1-0vl2 - rebuild for VineSeedPlus * Fri Nov 21 2003 AKIYAMA Kazuhito 1.0.1-0vl1 - source upgrade - build for VinePlus/2.6 - add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package - disable %%configure script * Sat Oct 4 2003 AKIYAMA Kazuhito 1.0-0vl3 - rebuild with new toolchains - use License tag * Sun Dec 15 2002 AKIYAMA Kazuhito 1.0-0vl2 - rebuild with new toolchains * Wed Jul 24 2002 AKIYAMA Kazuhito 1.0-0vl1 - source upgrade - update %description devel - add PreReq: ldconfig - delete Patch * Sat Jan 12 2002 AKIYAMA Kazuhito 0.99.3-1vl1 - build for VineSeed - change version number to 0.99.3 (means 1.0rc3) * Tue Jan 1 2002 Bill Nottingham - update to 1.0rc3 * Thu Aug 16 2001 Bill Nottingham - fix bug in floor backend () * Mon Aug 13 2001 Bill Nottingham - update to 1.0rc2 * Fri Jul 20 2001 Bill Nottingham - split out from the main vorbis package * Tue Jul 10 2001 Bill Nottingham - own %%{_libdir}/ao - I love libtool * Tue Jun 26 2001 Florian La Roche - add links from library major version numbers in rpms * Tue Jun 19 2001 Bill Nottingham - update to rc1 * Fri May 4 2001 Oliver Paukstadt - fixed perl line in spec file to set optims correctly * Tue Mar 20 2001 Bill Nottingham - fix alpha/ia64, again - use optflags, not -O20 -ffast-math (especially on alpha...) * Mon Feb 26 2001 Bill Nottingham - fix license tag * Mon Feb 26 2001 Bill Nottingham - beta4 * Fri Feb 9 2001 Bill Nottingham - fix alpha/ia64 * Thu Feb 8 2001 Bill Nottingham - update CVS in prep for beta4 * Wed Feb 07 2001 Philipp Knirsch - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if none was specified. * Tue Jan 9 2001 Bill Nottingham - update CVS, grab aRts backend for libao * Wed Dec 27 2000 Bill Nottingham - update CVS * Fri Dec 01 2000 Bill Nottingham - rebuild because of broken fileutils * Mon Nov 13 2000 Bill Nottingham - hack up specfile some, merge some packages * Sat Oct 21 2000 Jack Moffitt - initial spec file created