Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37490900
en ru br
ALT Linux repos
S:1.3.7-alt1
5.0: 1.2.0-alt3
4.1: 1.2.0-alt3.M41.1
4.0: 1.2.0-alt3
+updates:1.1.2-alt3
3.0: 1.1.1-alt2

Group :: System/Libraries
RPM: libvorbis

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libvorbis
Version: 1.1.1
Release: alt2

Summary: The Vorbis General Audio Compression Codec
Summary(ru_RU.CP1251): Аудиокодек Vorbis
License: BSD-like
Group: System/Libraries
Url: http://www.vorbis.com/
Packager: Andrey Astafiev <andrei at altlinux.ru>

Source: http://downloads.xiph.org/releases/vorbis/%name-%version.tar.bz2

%def_disable static
%{?_enable_static:BuildPreReq: glibc-devel-static}

# Automatically added by buildreq on Thu Jul 07 2005

BuildRequires: gcc-c++ libogg-devel libstdc++-devel pkgconfig

%description
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
general-purpose compressed audio format for audio and music at fixed
and variable bitrates from 16 to 128 kbps/channel.

%description -l ru_RU.CP1251
Ogg Vorbis - это полностью открытый и свободный формат для сжатия звука.

%package devel
Summary: Development files for libvorbis
Group: Development/C
PreReq: %name = %version-%release
Requires: libogg-devel >= %version

%description devel
The libvorbis-devel package contains the header files and documentation
needed to develop applications with libvorbis.

%description devel -l ru_RU.CP1251
В этом пакете находятся файлы, необходимые для использования libvorbis
в разработке приложений.

%package devel-static
Summary: Static libraries for libvorbis
Group: Development/C
PreReq: %name-devel = %version-%release
Requires: libogg-devel-static >= %version

%description devel-static
This package contains development libraries required for packaging
statically linked libvorbis-based software.

%description devel-static -l ru_RU.CP1251
В этом пакете находятся статические библиотеки, необходимые
для использования libvorbis в разработке статических приложений.

%prep
%setup -q

%build
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%__subst -p 's/-O20 //g' configure*
%configure %{subst_enable static} includedir=%_includedir/vorbis
%make_build

%install
%makeinstall includedir=%buildroot%_includedir/vorbis
%__ln_s vorbis/codec.h %buildroot%_includedir/codec.h
%__ln_s vorbis/vorbisenc.h %buildroot%_includedir/vorbisenc.h
%__ln_s vorbis/vorbisfile.h %buildroot%_includedir/vorbisfile.h

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

%files
%doc AUTHORS COPYING README
%_libdir/*.so.*

%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*.pc
%_datadir/aclocal/*

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

%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