Репозитории ALT
S: | 1.2-alt2 |
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 |
Группа :: Звук
Пакет: speex
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_enable static
Name: speex
Version: 1.2
%define prerel beta3.2
Release: alt0.2
Summary: An open-source, patent-free speech codec
License: BSD-style
Group: Sound
Url: http://www.speex.org
%define pkgdocdir %_docdir/%name-%version
Source: %url/download/%name-%version%prerel.tar.bz2
Requires: lib%name = %version-%release
BuildRequires: libogg-devel >= 1.1
%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 < 1.1.11.1-alt1
%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 -n %name-%version%prerel
%build
%add_optflags -DRELEASE
%configure \
%ifarch pentium4 x86_64 athlon_xp k8 nocona
--enable-sse \
%endif
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot docdir=%pkgdocdir install
install -m 0644 COPYING AUTHORS ChangeLog NEWS README TODO %buildroot%pkgdocdir/
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_bindir/*
%_man1dir/*
%dir %pkgdocdir
%pkgdocdir/COPYING
%pkgdocdir/AUTHORS
%pkgdocdir/ChangeLog
%pkgdocdir/NEWS
%pkgdocdir/README
%pkgdocdir/TODO
%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 можно просмотреть здесь
Name: speex
Version: 1.2
%define prerel beta3.2
Release: alt0.2
Summary: An open-source, patent-free speech codec
License: BSD-style
Group: Sound
Url: http://www.speex.org
%define pkgdocdir %_docdir/%name-%version
Source: %url/download/%name-%version%prerel.tar.bz2
Requires: lib%name = %version-%release
BuildRequires: libogg-devel >= 1.1
%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 < 1.1.11.1-alt1
%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 -n %name-%version%prerel
%build
%add_optflags -DRELEASE
%configure \
%ifarch pentium4 x86_64 athlon_xp k8 nocona
--enable-sse \
%endif
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot docdir=%pkgdocdir install
install -m 0644 COPYING AUTHORS ChangeLog NEWS README TODO %buildroot%pkgdocdir/
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_bindir/*
%_man1dir/*
%dir %pkgdocdir
%pkgdocdir/COPYING
%pkgdocdir/AUTHORS
%pkgdocdir/ChangeLog
%pkgdocdir/NEWS
%pkgdocdir/README
%pkgdocdir/TODO
%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 можно просмотреть здесь