- Do not build against Jack on RHEL
- Fix the Source0: URL - Fix the licence tag
This commit is contained in:
parent
d7ae56de39
commit
e27bd47973
@ -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 <<EOF
|
||||
#endif
|
||||
EOF
|
||||
|
||||
%if 0%{?rhel} != 0
|
||||
rm -f %{buildroot}%{_bindir}/sndfile-jackplay
|
||||
%endif
|
||||
|
||||
|
||||
%clean
|
||||
@ -126,7 +131,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/sndfile-convert
|
||||
%{_bindir}/sndfile-regtest
|
||||
%{_bindir}/sndfile-cmp
|
||||
%if 0%{?rhel} == 0
|
||||
%{_bindir}/sndfile-jackplay
|
||||
%endif
|
||||
%{_bindir}/sndfile-metadata-get
|
||||
%{_bindir}/sndfile-metadata-set
|
||||
%{_mandir}/man1/sndfile-info.1*
|
||||
@ -148,6 +155,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 1 2010 Stepan Kasal <skasal@redhat.com> - 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 <oget[dot]fedora[at]gmail[dot]com> - 1.0.20-4
|
||||
- Split utils into a subpackage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user