Репозиторий Sisyphus
Последнее обновление: 18 августа 2017 | Пакетов: 17976 | Посещений: 9837718
en ru br
Репозитории ALT
S:3.99.5-alt3
5.1: 3.98.2-alt2
4.1: 3.97-alt1.0
4.0: 3.97-alt1.0
3.0: 3.96.1-alt1.1
www.altlinux.org/Changes

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

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

Name: lame
Version: 3.99.5
Release: alt3
Summary: LAME Ain't an Mp3 Encoder
License: LGPL
Group: Sound
URL: http://%name.sourceforge.net/
Packager: Valery Inozemtsev <shrek at altlinux.ru>

Requires: lib%name = %version-%release
Conflicts: %name-hydrogen

Source: http://prdownloads.sourceforge.net/lame/%name-%version.tar.gz
Patch: lame-3.99.5-mcst-e2k.patch

BuildRequires: libsndfile-devel libtinfo-devel
%ifarch %ix86 x86_64
BuildRequires: nasm
%endif

%description
Lame is a program which can be used to create compressed audio files.
These audio files can be played back by popular mp3 players such as mpg123.

%package -n lib%name
Summary: LAME shared library
Group: System/Libraries
Conflicts: lib%name-hydrogen

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

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

%description -n lib%name-devel
This package contains header files required to develop
%name-based software

%prep
%setup
%patch -p1

%ifarch %ix86
# http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html
sed -i -e '/xmmintrin\.h/d' configure
%endif

%build
%configure \
--disable-static \
%ifarch %ix86 x86_64
--enable-nasm
%endif

sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build

%install
%makeinstall_std

%files
%doc LICENSE USAGE doc/html/*.html
%_bindir/*
%_man1dir/*

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

%files -n lib%name-devel
%doc API HACKING STYLEGUIDE TODO
%_includedir/*
%_libdir/*.so

%changelog

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

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