update to 1.4.0

This commit is contained in:
Miroslav Lichvar 2022-09-12 11:50:31 +02:00
parent f52ee85c16
commit 9ebb088de1
3 changed files with 9 additions and 16 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/flac-1.3.4.tar.xz /flac-1.4.0.tar.xz

View File

@ -1,6 +1,6 @@
Summary: An encoder/decoder for the Free Lossless Audio Codec Summary: An encoder/decoder for the Free Lossless Audio Codec
Name: flac Name: flac
Version: 1.3.4 Version: 1.4.0
Release: 2%{?dist} Release: 2%{?dist}
License: BSD and GPLv2+ and GFDL License: BSD and GPLv2+ and GFDL
Source0: https://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz Source0: https://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
@ -55,8 +55,6 @@ will use the Free Lossless Audio Codec.
# use our libtool to avoid problems with RPATH # use our libtool to avoid problems with RPATH
./autogen.sh -V ./autogen.sh -V
# -funroll-loops makes encoding about 10% faster
export CFLAGS="%{optflags} -funroll-loops"
%configure \ %configure \
--htmldir=%{_docdir}/flac/html \ --htmldir=%{_docdir}/flac/html \
--disable-xmms-plugin \ --disable-xmms-plugin \
@ -68,12 +66,7 @@ export CFLAGS="%{optflags} -funroll-loops"
%install %install
%make_install %make_install
# split documentation rm -r %{buildroot}%{_docdir}/flac
mv %{buildroot}%{_docdir}/flac* ./flac-doc
mkdir -p flac-doc-devel
mv flac-doc{/html/api,-devel}
rm flac-doc/FLAC.tag
rm %{buildroot}%{_libdir}/*.la rm %{buildroot}%{_libdir}/*.la
%check %check
@ -82,18 +75,18 @@ make check
%ldconfig_scriptlets libs %ldconfig_scriptlets libs
%files %files
%doc flac-doc/*
%{_bindir}/flac %{_bindir}/flac
%{_bindir}/metaflac %{_bindir}/metaflac
%{_mandir}/man1/* %{_mandir}/man1/*
%files libs %files libs
%doc AUTHORS COPYING* README %doc AUTHORS README.md CHANGELOG.md
%{_libdir}/libFLAC.so.8* %license COPYING.*
%{_libdir}/libFLAC++.so.6* %{_libdir}/libFLAC.so.12*
%{_libdir}/libFLAC++.so.10*
%files devel %files devel
%doc flac-doc-devel/* %doc doc/api
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*

View File

@ -1 +1 @@
SHA512 (flac-1.3.4.tar.xz) = 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9 SHA512 (flac-1.4.0.tar.xz) = b7310de7bcf49584c0a1fdc6d5ee7216a8ab3e2b1af85366fa0905752da13e1cbb9638e0d92f3b756568a69848abf4d5c2fe0d21a86c6fdb4840f2678daf0f8d