Репозитории ALT
S: | 0.4.0-alt1 |
5.1: | 0.3.12-alt1 |
4.1: | 0.3.10-alt1 |
4.0: | 0.3.10-alt1 |
Группа :: Звук
Пакет: twolame
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
#%define doc_dir %_defaultdocdir/%name-%version
Name: twolame
Version: 0.3.12
Release: alt2.1
Summary: TwoLAME, an optimized MPEG Audio Layer 2 encoder
License: LGPL
Group: Sound
Url: http://%name.sourceforge.net/
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source: http://prdownloads.sourceforge.net/twolame/%name-%version.tar.gz
Requires: lib%name = %version-%release
BuildRequires: gcc-c++ libsndfile-devel
%description
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder.
It is based heavily on:
- tooLAME by Michael Cheng
- the ISO dist10 code
- improvement to algorithms as part of the LAME project (lame.sf.net)
- other contributors (see AUTHORS)
TwoLAME should be able to be used as a drop-in replacement for
LAME (a MPEG Layer 3 encoder). The frontend takes very similar
command line options to LAME, and the backend library has a very
similar API to LAME.
%package -n lib%name
Summary: TwoLAME shared library
Group: System/Libraries
%description -n lib%name
This package contains shared library required by %name-based software.
%package -n lib%name-devel
Summary: TwoLAME 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.
%package -n lib%name-devel-static
Summary: TwoLAME 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.
%def_disable static
%prep
%setup -q
%build
%autoreconf
%configure \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR="%buildroot" install
install -pD -m644 AUTHORS README ChangeLog TODO %buildroot%_docdir/%name-%version/
ln -sf /usr/share/license/LGPL-2.1 %buildroot%_docdir/%name-%version/COPYING
%files
%_bindir/%name
%_man1dir/*
%exclude %_docdir/%name-%version/html
%_docdir/%name-%version
%files -n lib%name
%_libdir/lib%name.so.*
%files -n lib%name-devel
%_includedir/%name.h
%_libdir/lib%name.so
%_pkgconfigdir/%name.pc
%_docdir/%name-%version/html
%if_enabled static
%files -n lib%name-devel-static
%_libdir/lib%name.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
Name: twolame
Version: 0.3.12
Release: alt2.1
Summary: TwoLAME, an optimized MPEG Audio Layer 2 encoder
License: LGPL
Group: Sound
Url: http://%name.sourceforge.net/
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source: http://prdownloads.sourceforge.net/twolame/%name-%version.tar.gz
Requires: lib%name = %version-%release
BuildRequires: gcc-c++ libsndfile-devel
%description
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder.
It is based heavily on:
- tooLAME by Michael Cheng
- the ISO dist10 code
- improvement to algorithms as part of the LAME project (lame.sf.net)
- other contributors (see AUTHORS)
TwoLAME should be able to be used as a drop-in replacement for
LAME (a MPEG Layer 3 encoder). The frontend takes very similar
command line options to LAME, and the backend library has a very
similar API to LAME.
%package -n lib%name
Summary: TwoLAME shared library
Group: System/Libraries
%description -n lib%name
This package contains shared library required by %name-based software.
%package -n lib%name-devel
Summary: TwoLAME 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.
%package -n lib%name-devel-static
Summary: TwoLAME 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.
%def_disable static
%prep
%setup -q
%build
%autoreconf
%configure \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR="%buildroot" install
install -pD -m644 AUTHORS README ChangeLog TODO %buildroot%_docdir/%name-%version/
ln -sf /usr/share/license/LGPL-2.1 %buildroot%_docdir/%name-%version/COPYING
%files
%_bindir/%name
%_man1dir/*
%exclude %_docdir/%name-%version/html
%_docdir/%name-%version
%files -n lib%name
%_libdir/lib%name.so.*
%files -n lib%name-devel
%_includedir/%name.h
%_libdir/lib%name.so
%_pkgconfigdir/%name.pc
%_docdir/%name-%version/html
%if_enabled static
%files -n lib%name-devel-static
%_libdir/lib%name.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь