2019-09-30 10:38:54 -04:00
|
|
|
Name: flac
|
2024-02-06 20:37:09 +08:00
|
|
|
Version: 1.4.3
|
2024-08-09 16:20:10 +08:00
|
|
|
Release: 2
|
2019-09-30 10:38:54 -04:00
|
|
|
Summary: encoder/decoder which support the Free Lossless Audio Codec
|
2024-08-09 16:20:10 +08:00
|
|
|
License: BSD-3-Clause AND GPL-2.0-or-later AND GFDL-1.1-or-later
|
2019-09-30 10:38:54 -04:00
|
|
|
Source0: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
|
2019-12-25 15:45:40 +08:00
|
|
|
URL: http://www.xiph.org/flac/
|
2019-09-30 10:38:54 -04:00
|
|
|
|
2022-10-19 17:26:48 +08:00
|
|
|
%ifarch sw_64
|
2024-02-06 20:37:09 +08:00
|
|
|
Patch0001: flac-1.4.3-sw.patch
|
2022-10-19 17:26:48 +08:00
|
|
|
%endif
|
2022-03-31 15:18:28 +08:00
|
|
|
|
2019-09-30 10:38:54 -04:00
|
|
|
Provides: %{name}-libs
|
|
|
|
|
Obsoletes: %{name}-libs
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++ libogg-devel gcc automake autoconf libtool gettext-devel doxygen
|
2023-01-30 21:02:02 +08:00
|
|
|
BuildRequires: desktop-file-utils
|
2019-09-30 10:38:54 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3,
|
|
|
|
|
but lossless, meaning that audio is compressed in FLAC without any loss in quality.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: FLAC libraries and header files for development.
|
|
|
|
|
Requires: pkgconfig
|
2020-01-15 01:53:44 +08:00
|
|
|
Requires: flac
|
2019-09-30 10:38:54 -04:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
FLAC libraries and header files for development.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: help package for %{name} with man docs
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
document files for %{name}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
%build
|
|
|
|
|
./autogen.sh -V
|
|
|
|
|
|
|
|
|
|
export CFLAGS="%{optflags} -funroll-loops"
|
2023-01-30 21:02:02 +08:00
|
|
|
%configure --disable-silent-rules --disable-thorough-tests
|
2019-09-30 10:38:54 -04:00
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
mv %{buildroot}%{_docdir}/flac* ./flac-doc
|
|
|
|
|
mkdir -p flac-doc-devel
|
2020-04-24 15:49:26 +08:00
|
|
|
mv flac-doc{/api,-devel}
|
2023-01-30 21:02:02 +08:00
|
|
|
rm flac-doc/FLAC.tag %{buildroot}%{_libdir}/*.la
|
2019-09-30 10:38:54 -04:00
|
|
|
|
|
|
|
|
%check
|
2022-04-27 12:53:21 +00:00
|
|
|
#make -C test check FLAC__TEST_LEVEL=0 &> /dev/null
|
2019-09-30 10:38:54 -04:00
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
%files
|
2023-01-30 21:02:02 +08:00
|
|
|
%doc flac-doc/* AUTHORS COPYING* README.md
|
2019-09-30 10:38:54 -04:00
|
|
|
%{_bindir}/flac
|
|
|
|
|
%{_bindir}/metaflac
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%doc flac-doc-devel/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-08-09 16:20:10 +08:00
|
|
|
* Fri Aug 9 2024 chenhaixiang<chenhaixiang3@huawei.com> - 1.4.3-2
|
|
|
|
|
- fix flac license
|
|
|
|
|
|
2024-02-06 20:37:09 +08:00
|
|
|
* Tue Feb 6 2024 chenhaixiang<chenhaixiang3@huawei.com> - 1.4.3-1
|
|
|
|
|
- update to 1.4.3
|
|
|
|
|
|
2023-01-30 21:02:02 +08:00
|
|
|
* Mon Jan 30 2023 chenhaixiang<chenhaixiang3@huawei.com> - 1.4.2-1
|
|
|
|
|
- update to 1.4.2
|
|
|
|
|
|
2022-11-09 22:16:42 +08:00
|
|
|
* Wed Nov 9 2022 chenhaixiang<chenhaixiang3@huawei.com> - 1.3.4-1
|
|
|
|
|
- update to 1.3.4
|
|
|
|
|
|
2022-10-19 17:26:48 +08:00
|
|
|
* Wed Oct 19 2022 wuzx<wuzx1226@qq.com> - 1.3.3-7
|
|
|
|
|
- add sw64 patch
|
|
|
|
|
|
2022-05-28 11:49:05 +08:00
|
|
|
* Sat May 28 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.3.3-6
|
|
|
|
|
- fix CVE-2020-0499
|
|
|
|
|
|
2022-04-27 08:36:53 +00:00
|
|
|
* Wed Apr 27 2022 volcanodragon <linfeilong@huawei.com> - 1.3.3-5
|
2022-04-27 12:14:39 +00:00
|
|
|
- rebuild package
|
|
|
|
|
|
|
|
|
|
* Wed Apr 27 2022 volcanodragon <linfeilong@huawei.com> - 1.3.3-4
|
2022-04-27 12:53:21 +00:00
|
|
|
- disable check to avoid build error
|
2022-04-27 08:36:53 +00:00
|
|
|
|
2022-04-24 18:09:37 +08:00
|
|
|
* Sun Apr 24 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.3.3-3
|
|
|
|
|
- enable makecheck
|
|
|
|
|
|
2022-03-31 15:18:28 +08:00
|
|
|
* Thu Mar 31 2022 zhouwenpei <zhouwenpei1@huawei.com> - 1.3.3-2
|
|
|
|
|
- fix CVE-2021-0561
|
|
|
|
|
|
2020-04-24 15:49:26 +08:00
|
|
|
* Fri Apr 24 2020 lihongjiang <lihongjiang6@huawei.com> - 1.3.3-1
|
|
|
|
|
- update version to 1.3.3
|
|
|
|
|
|
2020-01-22 16:00:15 +08:00
|
|
|
* Wed Jan 22 2020 lihongjiang <lihongjiang6@huawei.com> - 1.3.2-12
|
|
|
|
|
- ignore make check temporary
|
|
|
|
|
|
2020-01-15 01:53:44 +08:00
|
|
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.2-11
|
|
|
|
|
- Fix build dependence
|
|
|
|
|
|
2019-12-25 15:45:40 +08:00
|
|
|
* Fri Sep 6 2019 lihongjiang <lihongjiang6@huawei.com> - 1.3.2-10
|
|
|
|
|
- Adding url into spec
|
|
|
|
|
|
2019-09-30 10:38:54 -04:00
|
|
|
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.2-9
|
|
|
|
|
- Package init
|