Репозиторий Sisyphus
Последнее обновление: 19 июля 2019 | Пакетов: 17691 | Посещений: 14352495
en ru br
Репозитории ALT
S:1.2-alt1
D:1.2-alt0.2
5.1: 1.2-alt0.3.beta3.2
4.1: 1.2-alt0.1.beta1
4.0: 1.2-alt0.1.beta1
3.0: 1.1.8-alt1
www.altlinux.org/Changes

Группа :: Звук
Пакет: speex

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable static

Name: speex
Version: 1.2
%define prerel rc2
Release: alt0.6.rc2
Summary: An open-source, patent-free speech codec
License: BSD-style
Group: Sound
Url: http://www.speex.org
%define pkgdocdir %_docdir/%name-%version
Packager: Denis Smirnov <mithraen at altlinux.ru>

# %url/download/%name-%version%prerel.tar.bz2

Source: %name-%version.tar
Requires: lib%name = %version-%release

BuildRequires: pkgconfig(fftw3f)
#BuildRequires: pkgconfig(ogg)
BuildRequires: libogg-devel >= 1.1
#BuildRequires: pkgconfig(speexdsp)
BuildRequires: libspeexdsp-devel


%description
Speex is a patent-free audio codec designed especially for voice
(unlike Vorbis which targets general audio) signals and providing good
narrowband and wideband quality. This project aims to be complementary
to the Vorbis codec.

%package -n lib%name
Summary: Speex shared library
Group: System/Libraries

%description -n lib%name
This package contains shared library required by Speex-based software.

%package -n lib%name-devel
Summary: Speex development file
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package contains heade files required to develop
Speex-based softwae.

%package -n lib%name-devel-doc
Summary: Speex development documentation
Group: Development/C
Conflicts: %name < %version
BuildArch: noarch

%description -n lib%name-devel-doc
The Speex programming manual in PDF format.

%if_enabled static
%package -n lib%name-devel-static
Summary: Speex static libraries
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
This package contains static library required to develop
Speex-based software.
%endif

%prep
%setup

%build
%add_optflags -DRELEASE
%autoreconf -fisv
%configure \
%ifarch pentium4 x86_64 athlon_xp k8 nocona
   --enable-sse \
   --enable-binaries \
%endif
%{subst_enable static}
%make_build

%install
%make_install DESTDIR=%buildroot docdir=%pkgdocdir install
install -m 0644 COPYING AUTHORS NEWS README %buildroot%pkgdocdir/

%files
%_bindir/*
%_man1dir/*
%dir %pkgdocdir
%pkgdocdir/COPYING
%pkgdocdir/AUTHORS
%pkgdocdir/NEWS
%pkgdocdir/README

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_pkgconfigdir/*
%_datadir/aclocal/*
%_includedir/*

%files -n lib%name-devel-doc
%dir %pkgdocdir
%pkgdocdir/manual.pdf

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

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin