ALT Linux repos
S: | 1.2-alt2 |
D: | 1.2-alt0.2 |
5.0: | 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 |
Group :: Sound
RPM: speex
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: speex
Version: 1.2
Release: alt0.1.beta1
%def_disable static
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.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.
%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.
%prep
%setup -q -n %name-%version
%build
autoreconf -isfv
export CPPFLAGS=-DRELEASE
%configure \
%ifarch pentium4 x86_64
--enable-sse \
%endif
%{subst_enable static}
# Non-parallel build
%make
%install
%makeinstall
install -d -m755 %buildroot%pkgdocdir
install -p -m644 COPYING AUTHORS ChangeLog NEWS README TODO \
%buildroot%pkgdocdir/
install -p -m644 doc/manual.pdf \
%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/lib%name.so
%_libdir/pkgconfig/*
%_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
…
Full changelog you can see here
Version: 1.2
Release: alt0.1.beta1
%def_disable static
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.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.
%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.
%prep
%setup -q -n %name-%version
%build
autoreconf -isfv
export CPPFLAGS=-DRELEASE
%configure \
%ifarch pentium4 x86_64
--enable-sse \
%endif
%{subst_enable static}
# Non-parallel build
%make
%install
%makeinstall
install -d -m755 %buildroot%pkgdocdir
install -p -m644 COPYING AUTHORS ChangeLog NEWS README TODO \
%buildroot%pkgdocdir/
install -p -m644 doc/manual.pdf \
%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/lib%name.so
%_libdir/pkgconfig/*
%_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
…
Full changelog you can see here