|
@@ -1,14 +1,16 @@
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
+
|
|
|
Name: flac
|
|
|
Summary: FLAC - Free Lossless Audio Codec
|
|
|
Summary(ja): FLAC - フリーの可逆音声圧縮コーデック
|
|
|
Version: 1.3.1
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
License: BSD and GPLv2+
|
|
|
URL: http://flac.sourceforge.net/
|
|
|
|
|
|
-Source: http://prdownloads.sourceforge.net/flac/%{name}-%{version}%{?extraver:-%extraver}.tar.xz
|
|
|
+Source: http://prdownloads.sourceforge.net/flac/%{name}-%{version}%{?extraver:-%extraver}.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: libogg-devel
|
|
@@ -59,6 +61,50 @@ will use the Free Lossless Audio Codec (FLAC).
|
|
|
このパッケージには FLAC (Free Lossless Audio Codec) を扱うアプリケーションを
|
|
|
開発するために必要なライブラリ及びヘッダファイルが含まれています。
|
|
|
|
|
|
+# compat32
|
|
|
+%package -n compat32-%{name}
|
|
|
+Summary: FLAC - Free Lossless Audio Codec
|
|
|
+Summary(ja): FLAC - フリーの可逆音声圧縮コーデック
|
|
|
+Group: System Environment/Libraries
|
|
|
+
|
|
|
+%description -n compat32-%{name}
|
|
|
+FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is
|
|
|
+similar to MP3, but lossless.
|
|
|
+
|
|
|
+The FLAC project consists of:
|
|
|
+
|
|
|
+ * the stream format
|
|
|
+ * libFLAC - reference encoders and decoders in library form
|
|
|
+ * flac - a command-line program to encode and decode FLAC files
|
|
|
+ * metaflac - a command-line metadata editor for FLAC files
|
|
|
+
|
|
|
+%description -n compat32-%{name} -l ja
|
|
|
+FLAC (Free Lossless Audio Codec) はフリーの可逆音声圧縮コーデックです。
|
|
|
+MP3 に似ていますが、音質が劣化しません。
|
|
|
+
|
|
|
+FLAC プロジェクトは以下により構成されています。
|
|
|
+
|
|
|
+ * ストリーム形式
|
|
|
+ * libFLAC - リファレンスエンコーダ/デコーダを実装するライブラリ
|
|
|
+ * flac - FLAC ファイルのエンコード/デコードに使用するコマンドライン版
|
|
|
+ プログラム。
|
|
|
+ * metaflac - FLAC ファイルのコマンドライン版メタデータエディタ
|
|
|
+
|
|
|
+%package -n compat32-%{name}-devel
|
|
|
+Summary: Development libraries and header files from FLAC
|
|
|
+Summary(ja): FLAC アプリケーション開発用ライブラリ及びヘッダファイル
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name}-devel = %{version}-%{release}
|
|
|
+Requires: compat32-%{name} = %{version}-%{release}
|
|
|
+Requires: compat32-pkgconfig
|
|
|
+
|
|
|
+%description -n compat32-%{name}-devel
|
|
|
+This package contains all the files needed to develop applications that
|
|
|
+will use the Free Lossless Audio Codec (FLAC).
|
|
|
+
|
|
|
+%description -n compat32-%{name}-devel -l ja
|
|
|
+このパッケージには FLAC (Free Lossless Audio Codec) を扱うアプリケーションを
|
|
|
+開発するために必要なライブラリ及びヘッダファイルが含まれています。
|
|
|
|
|
|
%prep
|
|
|
%define srcver %{version}%{?extraver:-%extraver}
|
|
@@ -93,9 +139,12 @@ make -C test check &> /dev/null
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
|
|
%post -p %{_syssbindir}/ldconfig
|
|
|
-
|
|
|
%postun -p %{_syssbindir}/ldconfig
|
|
|
|
|
|
+%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
+%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
+
|
|
|
+
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
%doc AUTHORS COPYING.* README
|
|
@@ -111,8 +160,24 @@ make -C test check &> /dev/null
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
|
|
+# compat32
|
|
|
+%if %{build_compat32}
|
|
|
+%files -n compat32-%{name}
|
|
|
+%defattr(-,root,root)
|
|
|
+%doc AUTHORS COPYING.* README
|
|
|
+%{_libdir}/*.so.*
|
|
|
+
|
|
|
+%files -n compat32-%{name}-devel
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%{_libdir}/*.so
|
|
|
+%{_libdir}/pkgconfig/*.pc
|
|
|
+%endif
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
|
+* Sat May 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.1-2
|
|
|
+- added compat32 subpackages
|
|
|
+
|
|
|
* Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
|
|
|
- new upstream release
|
|
|
- remove old patches
|