|
@@ -1,29 +1,17 @@
|
|
|
-# set 1 if you want to build input plugin for xmms
|
|
|
-%define build_xmms_plugin 0
|
|
|
-
|
|
|
-%define xmmsinputdir %{_libdir}/xmms/Input
|
|
|
-
|
|
|
-#%%define extraver beta
|
|
|
-
|
|
|
Name: flac
|
|
|
Summary: FLAC - Free Lossless Audio Codec
|
|
|
Summary(ja): FLAC - フリーの可逆音声圧縮コーデック
|
|
|
-Version: 1.2.1
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 1.3.0
|
|
|
+Release: 1%{?_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.gz
|
|
|
-Patch1: flac-1.2.1-asm.patch
|
|
|
-Patch2: flac-1.2.1-gcc43.patch
|
|
|
-Patch3: flac-1.2.1-hidesyms.patch
|
|
|
-Patch4: flac-1.2.1-tests.patch
|
|
|
-Patch5: flac-1.2.1-cflags.patch
|
|
|
-Patch6: flac-1.2.1-bitreader.patch
|
|
|
+Source: http://prdownloads.sourceforge.net/flac/%{name}-%{version}%{?extraver:-%extraver}.tar.xz
|
|
|
|
|
|
-Patch10: flac-xmms-euc-jp-ms.patch
|
|
|
+Patch1: flac-metaflac_strcat.patch
|
|
|
+Patch2: flac-no_rice_asm.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: libogg-devel
|
|
@@ -46,8 +34,6 @@ The FLAC project consists of:
|
|
|
* 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
|
|
|
-# * input plugins for various music players (the xmms plugin is in a xmms-
|
|
|
-# flac package)
|
|
|
|
|
|
%description -l ja
|
|
|
FLAC (Free Lossless Audio Codec) はフリーの可逆音声圧縮コーデックです。
|
|
@@ -60,8 +46,6 @@ FLAC プロジェクトは以下により構成されています。
|
|
|
* flac - FLAC ファイルのエンコード/デコードに使用するコマンドライン版
|
|
|
プログラム。
|
|
|
* metaflac - FLAC ファイルのコマンドライン版メタデータエディタ
|
|
|
-# * 各種音楽再生プログラム用入力プラグイン (XMMS プラグインは xmms-flac パッ
|
|
|
-# ケージに含まれます)
|
|
|
|
|
|
%package devel
|
|
|
Summary: Development libraries and header files from FLAC
|
|
@@ -78,59 +62,30 @@ will use the Free Lossless Audio Codec (FLAC).
|
|
|
このパッケージには FLAC (Free Lossless Audio Codec) を扱うアプリケーションを
|
|
|
開発するために必要なライブラリ及びヘッダファイルが含まれています。
|
|
|
|
|
|
-%if %{build_xmms_plugin}
|
|
|
-%package -n xmms-flac
|
|
|
-Summary: X MultiMedia System plugin to play FLAC files
|
|
|
-Summary(ja): FLAC ファイルを再生するための XMMS プラグイン
|
|
|
-Group: Applications/Multimedia
|
|
|
-Requires: xmms, %{name} = %{version}
|
|
|
-BuildRequires: xmms-devel >= 0.9.5.1, gtk+-devel
|
|
|
-
|
|
|
-%description -n xmms-flac
|
|
|
-An input plugin that enables playback of FLAC files in xmms.
|
|
|
-
|
|
|
-%description -l ja -n xmms-flac
|
|
|
-XMMS で FLAC ファイル (*.flac) を再生するための入力プラグインです。
|
|
|
-%endif
|
|
|
-
|
|
|
|
|
|
%prep
|
|
|
%define srcver %{version}%{?extraver:-%extraver}
|
|
|
|
|
|
%setup -q -n %{name}-%{srcver}
|
|
|
-%patch1 -p1 -b .asm
|
|
|
-%patch2 -p1 -b .gcc43
|
|
|
-%patch3 -p1 -b .hidesyms
|
|
|
-# reduce number of tests
|
|
|
-%patch4 -p1 -b .tests
|
|
|
-%patch5 -p1 -b .cflags
|
|
|
-%patch6 -p0 -b .bitreader
|
|
|
-
|
|
|
-%if %{build_xmms_plugin}
|
|
|
-%patch10 -p1 -b .euc-jp-ms
|
|
|
-%endif
|
|
|
+%patch1 -p1 -b .metaflac-strcat
|
|
|
+%patch2 -p1 -b .no_rice_asm
|
|
|
|
|
|
%build
|
|
|
./autogen.sh -V
|
|
|
|
|
|
%configure \
|
|
|
--disable-static \
|
|
|
-%if !%{build_xmms_plugin}
|
|
|
--disable-xmms-plugin \
|
|
|
-%endif
|
|
|
%ifarch ppc
|
|
|
--disable-asm-optimizations \
|
|
|
%endif
|
|
|
--disable-thorough-tests
|
|
|
|
|
|
-%__make %{?_smp_mflags}
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
%__rm -rf %{buildroot}
|
|
|
-%makeinstall \
|
|
|
-%if %{build_xmms_plugin}
|
|
|
- xmmsinputplugindir=%{buildroot}%{xmmsinputdir}
|
|
|
-%endif
|
|
|
+make install DESTDIR=%{buildroot}
|
|
|
|
|
|
# remove unneeded files
|
|
|
%{_bindir}/find %{buildroot} -name "*.la" -exec %__rm -f "{}" \;
|
|
@@ -161,19 +116,18 @@ make -C test check &> /dev/null
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
|
|
-%if %{build_xmms_plugin}
|
|
|
-%files -n xmms-flac
|
|
|
-%defattr(-,root,root)
|
|
|
-%{xmmsinputdir}/*.so
|
|
|
-%endif
|
|
|
-
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
|
|
|
+- new upstream release
|
|
|
+- remove Patch1-6
|
|
|
+- add Patch1,2 from Fedora
|
|
|
+
|
|
|
* Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-2
|
|
|
- rebuilt with rpm-4.8.1 for pkg-config
|
|
|
- added Patch1-6 from Fedora
|
|
|
|
|
|
-* Sun Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1
|
|
|
+* Mon Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1
|
|
|
- applied new versioning policy
|
|
|
- spec in UTF-8
|
|
|
|
|
@@ -268,7 +222,7 @@ make -C test check &> /dev/null
|
|
|
* Sat Sep 28 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
|
|
|
- Rebuilt for Red Hat Linux 8.0.
|
|
|
|
|
|
-* Thu Sep 25 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
|
|
|
+* Wed Sep 25 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
|
|
|
- Update to 1.0.4.
|
|
|
- Removed obsolete build patch, the xmms plugin builds cleanly at last!
|
|
|
|