Group :: System/Libraries
RPM: libsndfile
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable static
Name: libsndfile
Version: 1.0.17
Release: alt3
Summary: A library to handle various audio file formats
License: LGPL
Group: System/Libraries
Url: http://www.mega-nerd.com/%name/
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Source: %url/%name-%version.tar.gz
Patch0: libsndfile-1.0.17+flac-1.1.3.patch.gz
Patch1: libsndfile-1.0.17-flac-buffer-overflow.patch
# Automatically added by buildreq on Sat Dec 09 2006
BuildRequires: gcc-c++ libalsa-devel libflac-devel libogg-devel libsqlite3-devel pkg-config
%description
%name is a C library for reading and writing sound files such as
AIFF, AU and WAV files through one standard interface. It can currently
read/write 8, 16, 24 and 32-bit PCM files as well as 32-bit floating
point WAV files and a number of compressed formats.
This package contains shared library required for %name-based applications.
%package devel
Summary: Development environment for %name
Group: Development/C
Requires: %name = %version-%release libalsa-devel libflac-devel libogg-devel
%description devel
This package contains development files required
in development of the %name-based applications.
%package devel-static
Summary: Static %name library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains static library required for development statically
linked %name-based applications.
%package utils
Summary: Utilities for %name
Group: Sound
Requires: %name = %version-%release
%description utils
This package contains utilities for %name.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%__autoreconf
%configure \
%{subst_enable static}
%make_build
%install
%make DESTDIR=%buildroot \
htmldir=%_docdir/%name-devel-%version/html install
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS README TODO NEWS ChangeLog
%_libdir/*.so.*
%files devel
%doc %_docdir/%name-devel-%version
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%files utils
%_bindir/*
%_datadir/octave
%_man1dir/*
%changelog
…
Full changelog you can see here
Name: libsndfile
Version: 1.0.17
Release: alt3
Summary: A library to handle various audio file formats
License: LGPL
Group: System/Libraries
Url: http://www.mega-nerd.com/%name/
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Source: %url/%name-%version.tar.gz
Patch0: libsndfile-1.0.17+flac-1.1.3.patch.gz
Patch1: libsndfile-1.0.17-flac-buffer-overflow.patch
# Automatically added by buildreq on Sat Dec 09 2006
BuildRequires: gcc-c++ libalsa-devel libflac-devel libogg-devel libsqlite3-devel pkg-config
%description
%name is a C library for reading and writing sound files such as
AIFF, AU and WAV files through one standard interface. It can currently
read/write 8, 16, 24 and 32-bit PCM files as well as 32-bit floating
point WAV files and a number of compressed formats.
This package contains shared library required for %name-based applications.
%package devel
Summary: Development environment for %name
Group: Development/C
Requires: %name = %version-%release libalsa-devel libflac-devel libogg-devel
%description devel
This package contains development files required
in development of the %name-based applications.
%package devel-static
Summary: Static %name library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains static library required for development statically
linked %name-based applications.
%package utils
Summary: Utilities for %name
Group: Sound
Requires: %name = %version-%release
%description utils
This package contains utilities for %name.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%__autoreconf
%configure \
%{subst_enable static}
%make_build
%install
%make DESTDIR=%buildroot \
htmldir=%_docdir/%name-devel-%version/html install
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS README TODO NEWS ChangeLog
%_libdir/*.so.*
%files devel
%doc %_docdir/%name-devel-%version
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%files utils
%_bindir/*
%_datadir/octave
%_man1dir/*
%changelog
…
Full changelog you can see here