!40 Update to flac-1.4.2
From: @chenhaixaing Reviewed-by: @liqingqing_1229 Signed-off-by: @liqingqing_1229
This commit is contained in:
commit
9ea388a14a
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
diff -Nuar flac-1.3.4.org/m4/endian.m4 flac-1.3.4.sw/m4/endian.m4
|
||||
--- flac-1.3.4.org/m4/endian.m4 2022-03-03 02:53:08.140000000 +0000
|
||||
+++ flac-1.3.4.sw/m4/endian.m4 2022-03-03 02:54:44.740000000 +0000
|
||||
diff -Nuar flac-1.4.2.org/m4/endian.m4 flac-1.4.2.sw/m4/endian.m4
|
||||
--- flac-1.4.2.org/m4/endian.m4 2022-03-03 02:53:08.140000000 +0000
|
||||
+++ flac-1.4.2.sw/m4/endian.m4 2022-03-03 02:54:44.740000000 +0000
|
||||
@@ -115,7 +115,7 @@
|
||||
# by looking at the target CPU type.
|
||||
[
|
||||
BIN
flac-1.4.2.tar.xz
Normal file
BIN
flac-1.4.2.tar.xz
Normal file
Binary file not shown.
43
flac.spec
43
flac.spec
@ -1,7 +1,5 @@
|
||||
%define xmms_inputdir %(xmms-config --input-plugin-dir 2>/dev/null || echo %{_libdir}/xmms/General)
|
||||
|
||||
Name: flac
|
||||
Version: 1.3.4
|
||||
Version: 1.4.2
|
||||
Release: 1
|
||||
Summary: encoder/decoder which support the Free Lossless Audio Codec
|
||||
License: BSD and GPLv2+ and GFDL
|
||||
@ -9,15 +7,14 @@ Source0: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
|
||||
URL: http://www.xiph.org/flac/
|
||||
|
||||
%ifarch sw_64
|
||||
Patch0000: flac-1.3.4-sw.patch
|
||||
Patch0001: flac-1.4.2-sw.patch
|
||||
%endif
|
||||
|
||||
Provides: %{name}-libs
|
||||
Obsoletes: %{name}-libs
|
||||
|
||||
BuildRequires: gcc-c++ libogg-devel gcc automake autoconf libtool gettext-devel doxygen
|
||||
BuildRequires: xmms-devel desktop-file-utils
|
||||
Source1: xmms-flac.desktop
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3,
|
||||
@ -31,17 +28,6 @@ Requires: flac
|
||||
%description devel
|
||||
FLAC libraries and header files for development.
|
||||
|
||||
%package -n xmms-flac
|
||||
Summary: XMMS plugin needed to play FLAC files
|
||||
License: GPLv2+
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
|
||||
%description -n xmms-flac
|
||||
This package contains an XMMS input plugin to play FLAC audio streams. It also
|
||||
provides symlinks for it to work with Beep Media Player, since plugins between
|
||||
the two players are interchangeable.
|
||||
|
||||
%package help
|
||||
Summary: help package for %{name} with man docs
|
||||
|
||||
@ -54,34 +40,25 @@ document files for %{name}
|
||||
./autogen.sh -V
|
||||
|
||||
export CFLAGS="%{optflags} -funroll-loops"
|
||||
%configure --enable-xmms-plugin --disable-silent-rules --disable-thorough-tests
|
||||
%configure --disable-silent-rules --disable-thorough-tests
|
||||
|
||||
make
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
||||
|
||||
mv %{buildroot}%{_docdir}/flac* ./flac-doc
|
||||
mkdir -p flac-doc-devel
|
||||
mv flac-doc{/api,-devel}
|
||||
rm flac-doc/FLAC.tag %{buildroot}%{_libdir}/*.la \
|
||||
%{buildroot}%{xmms_inputdir}/*.la
|
||||
rm flac-doc/FLAC.tag %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%check
|
||||
#make -C test check FLAC__TEST_LEVEL=0 &> /dev/null
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%post -n xmms-flac
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
%postun -n xmms-flac
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
%files
|
||||
%doc flac-doc/* AUTHORS COPYING* README
|
||||
%doc flac-doc/* AUTHORS COPYING* README.md
|
||||
%{_bindir}/flac
|
||||
%{_bindir}/metaflac
|
||||
%{_libdir}/*.so.*
|
||||
@ -92,16 +69,14 @@ update-desktop-database &> /dev/null || :
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_datadir}/aclocal/*.m4
|
||||
|
||||
%files -n xmms-flac
|
||||
%license COPYING.GPL
|
||||
%{_datadir}/applications/xmms-flac.desktop
|
||||
%{xmms_inputdir}/libxmms-flac.so
|
||||
|
||||
%files help
|
||||
%{_mandir}/man1/*
|
||||
%doc flac-doc-devel/*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 30 2023 chenhaixiang<chenhaixiang3@huawei.com> - 1.4.2-1
|
||||
- update to 1.4.2
|
||||
|
||||
* Wed Nov 9 2022 chenhaixiang<chenhaixiang3@huawei.com> - 1.3.4-1
|
||||
- update to 1.3.4
|
||||
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=XMMS
|
||||
Exec=xmms -p -e %F
|
||||
Icon=xmms
|
||||
MimeType=audio/x-flac;audio/flac;
|
||||
Categories=AudioVideo;Player;
|
||||
Terminal=false
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
Loading…
x
Reference in New Issue
Block a user