|
@@ -1,28 +1,24 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define liboggver 1.3.2
|
|
%define liboggver 1.3.2
|
|
-%define epoch_num 1
|
|
|
|
|
|
|
|
Summary: The Vorbis General Audio Compression Codec.
|
|
Summary: The Vorbis General Audio Compression Codec.
|
|
Summary(ja): Vorbis - 汎用オーディオ圧縮コーデック
|
|
Summary(ja): Vorbis - 汎用オーディオ圧縮コーデック
|
|
Name: libvorbis
|
|
Name: libvorbis
|
|
-Version: 1.3.6
|
|
+Epoch: 1
|
|
|
|
+Version: 1.3.7
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-Epoch: %{epoch_num}
|
|
+Group: system
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
-Group: System Environment/Libraries
|
|
|
|
License: BSD
|
|
License: BSD
|
|
URL: https://www.xiph.org/
|
|
URL: https://www.xiph.org/
|
|
-
|
|
|
|
Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
|
|
Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
|
|
-Patch0: libvorbis-1.3.6-git.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: libogg-devel >= %{liboggver}
|
|
BuildRequires: libogg-devel >= %{liboggver}
|
|
BuildRequires: perl
|
|
BuildRequires: perl
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
|
|
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
|
|
general-purpose compressed audio format for audio and music at fixed
|
|
general-purpose compressed audio format for audio and music at fixed
|
|
@@ -39,11 +35,12 @@ kbps の固定/可変ビットレートのオーディオや音楽用です。
|
|
このパッケージには、Ogg Vorbis をサポートするプログラムで使われるランタ
|
|
このパッケージには、Ogg Vorbis をサポートするプログラムで使われるランタ
|
|
イムライブラリが含まれています。
|
|
イムライブラリが含まれています。
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for Vorbis applications.
|
|
Summary: Development files for Vorbis applications.
|
|
Summary(ja): Vorbis アプリケーションの開発用ファイル
|
|
Summary(ja): Vorbis アプリケーションの開発用ファイル
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
-Requires: %{name} = %{epoch_num}:%{version}-%{release}
|
|
+Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
Requires: libogg-devel >= %{liboggver}
|
|
Requires: libogg-devel >= %{liboggver}
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
@@ -54,11 +51,22 @@ and documentation needed to develop applications with libvorbis.
|
|
このパッケージには、libvorbis を使ったアプリケーションの開発に必要な
|
|
このパッケージには、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
|
|
# compat32
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: The Vorbis General Audio Compression Codec.
|
|
Summary: The Vorbis General Audio Compression Codec.
|
|
Summary(ja): Vorbis - 汎用オーディオ圧縮コーデック
|
|
Summary(ja): Vorbis - 汎用オーディオ圧縮コーデック
|
|
-Group: System Environment/Libraries
|
|
+Group: system,legacy
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
%description -n compat32-%{name}
|
|
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
|
|
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
|
|
@@ -68,6 +76,7 @@ and variable bitrates from 16 to 128 kbps/channel.
|
|
The libvorbis package contains runtime libraries for use in programs
|
|
The libvorbis package contains runtime libraries for use in programs
|
|
that support Ogg Voribs.
|
|
that support Ogg Voribs.
|
|
|
|
|
|
|
|
+
|
|
%description -n compat32-%{name} -l ja
|
|
%description -n compat32-%{name} -l ja
|
|
Ogg Vorbis は完全にオープンで、知的財産権による制約、特許やロイヤリティ
|
|
Ogg Vorbis は完全にオープンで、知的財産権による制約、特許やロイヤリティ
|
|
と関係ない汎用のオーディオ圧縮フォーマットで、チャンネルあたり 16〜128
|
|
と関係ない汎用のオーディオ圧縮フォーマットで、チャンネルあたり 16〜128
|
|
@@ -79,8 +88,8 @@ kbps の固定/可変ビットレートのオーディオや音楽用です。
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Development files for Vorbis applications.
|
|
Summary: Development files for Vorbis applications.
|
|
Summary(ja): Vorbis アプリケーションの開発用ファイル
|
|
Summary(ja): Vorbis アプリケーションの開発用ファイル
|
|
-Group: Development/Libraries
|
|
+Group: programming,legacy
|
|
-Requires: compat32-%{name} = %{epoch_num}:%{version}-%{release}
|
|
+Requires: compat32-%{name} = %{epoch}:%{version}-%{release}
|
|
Requires: compat32-libogg-devel >= %{liboggver}
|
|
Requires: compat32-libogg-devel >= %{liboggver}
|
|
|
|
|
|
%description -n compat32-%{name}-devel
|
|
%description -n compat32-%{name}-devel
|
|
@@ -91,34 +100,42 @@ and documentation needed to develop applications with libvorbis.
|
|
このパッケージには、libvorbis を使ったアプリケーションの開発に必要な
|
|
このパッケージには、libvorbis を使ったアプリケーションの開発に必要な
|
|
ヘッダファイル、静的ライブラリ、及びドキュメントが含まれています。
|
|
ヘッダファイル、静的ライブラリ、及びドキュメントが含まれています。
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1
|
|
+sed -i "s/-ffast-math//" configure
|
|
|
|
+sed -i "s/-mcpu=750//" configure
|
|
|
|
|
|
-perl -p -i -e "s/-O20/%{optflags}/" configure
|
|
|
|
-perl -p -i -e "s/-ffast-math//" configure
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --with-ogg-libraries=%{_libdir} --disable-static
|
|
+%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
-make DESTDIR=%{buildroot} install
|
|
+make DESTDIR=%{buildroot} docdir=%{_pkgdocdir} install
|
|
|
|
+
|
|
|
|
+rm -f %{buildroot}%{_libdir}/lib*.la
|
|
|
|
+
|
|
|
|
+%ifnarch x86_64
|
|
|
|
+rm -rf %{buildroot}%{_pkgdocdir}
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+%check
|
|
|
|
+make check
|
|
|
|
|
|
-#rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
|
|
|
|
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
+%ldconfig_scriptlets
|
|
|
|
+%ldconfig_scriptlets -n compat32-%{name}
|
|
|
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -134,6 +151,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_datadir}/aclocal/vorbis.m4
|
|
%{_datadir}/aclocal/vorbis.m4
|
|
|
|
|
|
|
|
+%ifarch x86_64
|
|
|
|
+%files devel-docs
|
|
|
|
+%{_pkgdocdir}/*
|
|
|
|
+%exclude %{_pkgdocdir}/doxygen-build.stamp
|
|
|
|
+%endif
|
|
|
|
+
|
|
# compat32
|
|
# compat32
|
|
%if %{build_compat32}
|
|
%if %{build_compat32}
|
|
%files -n compat32-%{name}
|
|
%files -n compat32-%{name}
|
|
@@ -145,7 +168,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.so
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.7-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- dropped Patch0.
|
|
|
|
+
|
|
* Mon Feb 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6-1
|
|
* Mon Feb 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- imported Patch0 from rawhide.
|
|
- imported Patch0 from rawhide.
|