|
@@ -1,10 +1,11 @@
|
|
|
%define name faac
|
|
|
%define version 1.28
|
|
|
-%define release 8%{?_dist_release}
|
|
|
+%define release 9%{?_dist_release}
|
|
|
|
|
|
%define enable_libmp4v2_external 1
|
|
|
|
|
|
Summary: Reference encoder and encoding library for MPEG2/4 AAC
|
|
|
+Summary(ja): MPEG2/4 AAC 用のリファレンスエンコーダ及びエンコードライブラリ
|
|
|
Name: %{name}
|
|
|
Version: %{version}
|
|
|
Release: %{release}
|
|
@@ -12,6 +13,9 @@ Source: http://prdownloads.sourceforge.net/faac/faac-%{version}.tar.bz2
|
|
|
Patch0: http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-libs/faac/files/faac-1.28-external-libmp4v2.patch
|
|
|
## this patch is based on http://launchpadlibrarian.net/33120980/mp4v2-strcasestr.diff
|
|
|
Patch1: mp4v2-strcasestr-vine.diff
|
|
|
+## this patch is based on http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=64908ea587e0ad04fb69e452446f6e13d2c664f3
|
|
|
+Patch2: mp4v2-2.0.0.patch
|
|
|
+
|
|
|
License: LGPLv2+
|
|
|
Group: Applications/Multimedia
|
|
|
URL: http://www.audiocoding.com/
|
|
@@ -28,8 +32,12 @@ FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW
|
|
|
COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports
|
|
|
multichannel and gapless encoding.
|
|
|
|
|
|
+%description -l ja
|
|
|
+FAAC は AAC オーディオエンコーダーです.現在 MPEG-4 LTP, Main/Low Complexity object types, Main/LOW MPEG-2 object types をサポートしています.またマルチチャンネルやギャップレスエンコーディングもサポートしています.
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Development libraries of the FAAC AAC encoder
|
|
|
+Summary(ja): FAAC AAC エンコーダの開発用ライブラリ
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
@@ -74,7 +82,8 @@ This package is built with libmp4v2 internal from %{name}-%{version}-%{release}.
|
|
|
#find . -type f -print|xargs nkf --unix --overwrite
|
|
|
%if %{enable_libmp4v2_external}
|
|
|
%patch0 -p1 -b .mp4v2
|
|
|
-%patch1 -p1 -b .mp4v2
|
|
|
+%patch1 -p1 -b .strcasestr
|
|
|
+%patch2 -p0 -b .mp4v2-2.0.0
|
|
|
#touch -r configure.in.mp4v2 configure.in
|
|
|
%endif
|
|
|
|
|
@@ -139,6 +148,9 @@ sh bootstrap
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Mar 18 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.28-9
|
|
|
+- added Patch2 for building with libmp4v2 2.0.0
|
|
|
+
|
|
|
* Wed Nov 2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-8
|
|
|
- s/self-build-libmp4v2/libmp4v2/
|
|
|
|