Группа :: Звук
Пакет: lame
Главная Изменения Спек Патчи Загрузить Bugs and FR
%define doc_dir %_defaultdocdir/%name-%version
Name: lame
Version: 3.97
Release: alt0.M24
Summary: LAME Ain't an Mp3 Encoder
License: LGPL
Group: Sound
URL: http://%name.sourceforge.net/
Packager: Andrey Astafiev <andrei at altlinux.ru>
Source: http://prdownloads.sourceforge.net/lame/%name-%{version}b.tar.bz2
Patch1: %name-3.94b-alt-global_flags.patch
Patch2: %name-3.92-alt-terminfo.patch
Patch3: %name-3.93-alt-ltconfig.patch
Conflicts: %name-hydrogen
# Automatically added by buildreq on Mon Oct 31 2005
BuildRequires: gcc-c++ libncurses-devel libsndfile-devel libstdc++-devel libtinfo-devel time
%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.
%description -l ru_RU.CP1251
LAME - ОПНЦПЮЛЛЮ ДКЪ ЯНГДЮМХЪ mp3-ТЮИКНБ. дКЪ ХУ БНЯОПНХГБЕДЕМХЪ ЛНФМН
БНЯОНКЭГНБЮРЭЯЪ РЮЙХЛХ ОКЕИЕПЮЛХ ЙЮЙ xmms, mpg123, madplay.
%package -n lib%name
Summary: LAME shared library
Group: System/Libraries
%description -n lib%name
This package contains shared library required by %name-based software.
%description -n lib%name -l ru_RU.CP1251
б ЩРНЛ ОЮЙЕРЕ МЮУНДХРЯЪ ДХМЮЛХВЕЯЙЮЪ АХАКХНРЕЙЮ LAME.
%package -n lib%name-devel
Summary: LAME development file
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains header files required to develop
%name-based software.
%description -n lib%name-devel -l ru_RU.CP1251
б ЩРНЛ ОЮЙЕРЕ МЮУНДЪРЯЪ ТЮИКШ, МЕНАУНДХЛШЕ ДКЪ ПЮГПЮАНРЙХ ОПХКНФЕМХИ,
ХЯОНКЭГСЧЫХУ LAME.
%package -n lib%name-devel-static
Summary: LAME 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
%name-based software.
%description -n lib%name-devel-static -l ru_RU.CP1251
б ЩРНЛ ОЮЙЕРЕ МЮУНДЪРЯЪ ЯРЮРХВЕЯЙХЕ АХАКХНРЕЙХ, МЕНАУНДХЛШЕ ДКЪ ПЮГПЮАНРЙХ
ЯРЮРХВЕЯЙХУ ОПХКНФЕМХИ, ХЯОНКЭГСЧЫХУ LAME.
%prep
%setup -q
#%patch1 -p1
%patch2 -p1
#%patch3 -p1
%build
export LDFLAGS="$LDFLAGS -lm"
%configure --without-nasm --disable-gtktest --enable-brhist
%make_build
LD_LIBRARY_PATH=. \
%make test
%install
%makeinstall
%__mkdir_p %buildroot%_docdir/%name-%version/{html,devel}
%__install -pD -m644 API HACKING STYLEGUIDE TODO %buildroot%_docdir/%name-%version/devel
%__install -pD -m644 doc/html/*.{html,css} %buildroot%_docdir/%name-%version/html
%__install -pD -m644 LICENSE USAGE %buildroot%_docdir/%name-%version
%__install -p -m644 libmp3lame/lame_global_flags.h %buildroot%_includedir/%name
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%_bindir/*
%_mandir/man?/*
%exclude %_docdir/%name
%doc %doc_dir/USAGE
%dir %doc_dir/html
%doc %doc_dir/html/*
%files -n lib%name
%_libdir/*.so.*
%dir %doc_dir
%doc %doc_dir/LICENSE
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%dir %doc_dir/devel
%doc %doc_dir/devel/*
%files -n lib%name-devel-static
%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь
Name: lame
Version: 3.97
Release: alt0.M24
Summary: LAME Ain't an Mp3 Encoder
License: LGPL
Group: Sound
URL: http://%name.sourceforge.net/
Packager: Andrey Astafiev <andrei at altlinux.ru>
Source: http://prdownloads.sourceforge.net/lame/%name-%{version}b.tar.bz2
Patch1: %name-3.94b-alt-global_flags.patch
Patch2: %name-3.92-alt-terminfo.patch
Patch3: %name-3.93-alt-ltconfig.patch
Conflicts: %name-hydrogen
# Automatically added by buildreq on Mon Oct 31 2005
BuildRequires: gcc-c++ libncurses-devel libsndfile-devel libstdc++-devel libtinfo-devel time
%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.
%description -l ru_RU.CP1251
LAME - ОПНЦПЮЛЛЮ ДКЪ ЯНГДЮМХЪ mp3-ТЮИКНБ. дКЪ ХУ БНЯОПНХГБЕДЕМХЪ ЛНФМН
БНЯОНКЭГНБЮРЭЯЪ РЮЙХЛХ ОКЕИЕПЮЛХ ЙЮЙ xmms, mpg123, madplay.
%package -n lib%name
Summary: LAME shared library
Group: System/Libraries
%description -n lib%name
This package contains shared library required by %name-based software.
%description -n lib%name -l ru_RU.CP1251
б ЩРНЛ ОЮЙЕРЕ МЮУНДХРЯЪ ДХМЮЛХВЕЯЙЮЪ АХАКХНРЕЙЮ LAME.
%package -n lib%name-devel
Summary: LAME development file
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains header files required to develop
%name-based software.
%description -n lib%name-devel -l ru_RU.CP1251
б ЩРНЛ ОЮЙЕРЕ МЮУНДЪРЯЪ ТЮИКШ, МЕНАУНДХЛШЕ ДКЪ ПЮГПЮАНРЙХ ОПХКНФЕМХИ,
ХЯОНКЭГСЧЫХУ LAME.
%package -n lib%name-devel-static
Summary: LAME 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
%name-based software.
%description -n lib%name-devel-static -l ru_RU.CP1251
б ЩРНЛ ОЮЙЕРЕ МЮУНДЪРЯЪ ЯРЮРХВЕЯЙХЕ АХАКХНРЕЙХ, МЕНАУНДХЛШЕ ДКЪ ПЮГПЮАНРЙХ
ЯРЮРХВЕЯЙХУ ОПХКНФЕМХИ, ХЯОНКЭГСЧЫХУ LAME.
%prep
%setup -q
#%patch1 -p1
%patch2 -p1
#%patch3 -p1
%build
export LDFLAGS="$LDFLAGS -lm"
%configure --without-nasm --disable-gtktest --enable-brhist
%make_build
LD_LIBRARY_PATH=. \
%make test
%install
%makeinstall
%__mkdir_p %buildroot%_docdir/%name-%version/{html,devel}
%__install -pD -m644 API HACKING STYLEGUIDE TODO %buildroot%_docdir/%name-%version/devel
%__install -pD -m644 doc/html/*.{html,css} %buildroot%_docdir/%name-%version/html
%__install -pD -m644 LICENSE USAGE %buildroot%_docdir/%name-%version
%__install -p -m644 libmp3lame/lame_global_flags.h %buildroot%_includedir/%name
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%_bindir/*
%_mandir/man?/*
%exclude %_docdir/%name
%doc %doc_dir/USAGE
%dir %doc_dir/html
%doc %doc_dir/html/*
%files -n lib%name
%_libdir/*.so.*
%dir %doc_dir
%doc %doc_dir/LICENSE
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%dir %doc_dir/devel
%doc %doc_dir/devel/*
%files -n lib%name-devel-static
%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь