002ded6a72
- Update to version 1.0.27: * Fix a seek regression in 1.0.26 * Add metadata read/write for CAF and RF64 * FIx PAF endian-ness issue - Update to version 1.0.28 * Fix buffer overruns in FLAC and ID3 handling code (CVE-2017-7585, CVE-2017-7586, bsc#1033054, bsc#1033053) * Reduce default header memory requirements * Fix detection of Large File Support for 32 bit systems. - Obsoleted patch: libsndfile-psf_strlcpy_crlf-fix-CVE-2015-8075.patch - Update to version 1.0.27: * Fix a seek regression in 1.0.26 * Add metadata read/write for CAF and RF64 * FIx PAF endian-ness issue - Update to version 1.0.28 * Fix buffer overruns in FLAC and ID3 handling code (CVE-2017-7585, CVE-2017-7586, bsc#1033054, bsc#1033053) * Reduce default header memory requirements * Fix detection of Large File Support for 32 bit systems. - Obsoleted patch: libsndfile-psf_strlcpy_crlf-fix-CVE-2015-8075.patch OBS-URL: https://build.opensuse.org/request/show/487058 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsndfile?expand=0&rev=56
71 lines
2.1 KiB
RPMSpec
71 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package libsndfile-progs
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: libsndfile-progs
|
|
Version: 1.0.28
|
|
Release: 0
|
|
Summary: Example Programs for libsndfile
|
|
License: LGPL-2.1+
|
|
Group: System/Libraries
|
|
Url: http://www.mega-nerd.com/libsndfile/
|
|
Source0: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz
|
|
Source1: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz.asc
|
|
Source2: libsndfile.keyring
|
|
BuildRequires: alsa-devel
|
|
BuildRequires: flac-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: libvorbis-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: sqlite-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package includes the example programs for libsndfile.
|
|
|
|
%prep
|
|
%setup -q -n libsndfile-%{version}
|
|
|
|
%build
|
|
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
|
|
# autoreconf --force --install
|
|
CFLAGS="%{optflags} %{warn_flags}"
|
|
export CFLAGS
|
|
%configure --disable-silent-rules \
|
|
--disable-static \
|
|
--enable-sqlite \
|
|
--with-pic
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
# remove unnecessary files
|
|
rm -rf %{buildroot}%{_datadir}/doc/libsndfile
|
|
rm -rf %{buildroot}%{_libdir}
|
|
rm -rf %{buildroot}%{_includedir}
|
|
rm -rf %{buildroot}%{_datadir}/doc/libsndfile1-dev
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%{_bindir}/*
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%changelog
|