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
Name: flac
Version: 1.3.4
Version: 1.4.0
Release: 2%{?dist}
License: BSD and GPLv2+ and GFDL
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
./autogen.sh -V
# -funroll-loops makes encoding about 10% faster
export CFLAGS="%{optflags} -funroll-loops"
%configure \
--htmldir=%{_docdir}/flac/html \
--disable-xmms-plugin \
@ -68,12 +66,7 @@ export CFLAGS="%{optflags} -funroll-loops"
%install
%make_install
# split documentation
mv %{buildroot}%{_docdir}/flac* ./flac-doc
mkdir -p flac-doc-devel
mv flac-doc{/html/api,-devel}
rm flac-doc/FLAC.tag
rm -r %{buildroot}%{_docdir}/flac
rm %{buildroot}%{_libdir}/*.la
%check
@ -82,18 +75,18 @@ make check
%ldconfig_scriptlets libs
%files
%doc flac-doc/*
%{_bindir}/flac
%{_bindir}/metaflac
%{_mandir}/man1/*
%files libs
%doc AUTHORS COPYING* README
%{_libdir}/libFLAC.so.8*
%{_libdir}/libFLAC++.so.6*
%doc AUTHORS README.md CHANGELOG.md
%license COPYING.*
%{_libdir}/libFLAC.so.12*
%{_libdir}/libFLAC++.so.10*
%files devel
%doc flac-doc-devel/*
%doc doc/api
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*

View File

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