From e27bd47973d8742598fd9301ae2fce6dabeea779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Kasal?= Date: Mon, 1 Feb 2010 15:14:16 +0000 Subject: [PATCH] - Do not build against Jack on RHEL - Fix the Source0: URL - Fix the licence tag --- libsndfile.spec | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/libsndfile.spec b/libsndfile.spec index 40f19b0..7d3e9c6 100644 --- a/libsndfile.spec +++ b/libsndfile.spec @@ -1,16 +1,18 @@ Summary: Library for reading and writing sound files Name: libsndfile Version: 1.0.20 -Release: 4%{?dist} -License: LGPLv2+ +Release: 5%{?dist} +License: LGPLv2+ and GPLv2+ and BSD Group: System Environment/Libraries URL: http://www.mega-nerd.com/libsndfile/ -Source0: http://www.mega-nerd.com/libsndfile/libsndfile-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) +Source0: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: alsa-lib-devel BuildRequires: flac-devel +%if 0%{?rhel} != 0 BuildRequires: jack-audio-connection-kit-devel +%endif BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: pkgconfig @@ -103,6 +105,9 @@ cat > %{buildroot}%{_includedir}/sndfile.h < - 1.0.20-5 +- Do not build against Jack on RHEL +- Fix the Source0: URL +- Fix the licence tag + * Sat Nov 14 2009 Orcan Ogetbil - 1.0.20-4 - Split utils into a subpackage