Sisyphus repository
Last update: 25 august 2019 | SRPMs: 17347 | Visits: 14704238
en ru br
ALT Linux repos
S:1.0.28-alt2
5.0: 1.0.17-alt5
4.1: 1.0.17-alt3
4.0: 1.0.17-alt3
3.0: 1.0.11-alt1

Group :: System/Libraries
RPM: libsndfile

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static

Name: libsndfile
Version: 1.0.11
Release: alt1

Summary: A library to handle various audio file formats
License: LGPL
Group: System/Libraries
Url: http://www.mega-nerd.com/%name/

Source: %url/%name-%version.tar.gz

# Automatically added by buildreq on Tue Nov 16 2004

BuildRequires: gcc-c++ gcc-g77 libalsa-devel libstdc++-devel

%package devel
Summary: Development environment for %name
Group: Development/C
Requires: %name = %version-%release

%package devel-static
Summary: Static %name library
Group: Development/C
Requires: %name-devel = %version-%release

%package utils
Summary: Utilities for %name
Group: Sound
Requires: %name = %version-%release

%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.

%description devel
%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 development files required
in development of the %name-based applications.

%description devel-static
%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 static library required for development statically
linked %name-based applications.

%description utils
%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 utilities for %name.

%prep
%setup -q

%build
%configure \
   %{subst_enable static}

# SMP-incompatible build

%make

%install
%make DESTDIR=%buildroot \
     htmldir=%_docdir/%name-devel-%version/html install

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%doc AUTHORS README TODO NEWS ChangeLog

%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/sndfile.pc
%doc %_docdir/%name-devel-%version

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%files utils
%_bindir/*
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin