Sisyphus repositório
Última atualização: 11 dezembro 2019 | SRPMs: 17498 | Visitas: 16060488
en ru br
ALT Linux repositórios
S:0.8.1-alt1

Group :: Sistema/Bibliotecas
RPM: libcodec2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Summary: libcodec2 is a library for the codec2 low bit rate speech codec
Name: libcodec2
Version: 0.8.1
Release: alt1
License: LGPL2.1
Group: System/Libraries
Url: http://rowetel.com/codec2.html
Source: %name-%version.tar
Source1: %name.watch
BuildRequires: cmake

%description
libcodec2 is a library for the codec2 low bit rate speech codec.

%package devel
Summary: codec2 development files
Group: Development/C
Requires: libcodec2 = %version-%release

%description devel
codec2 development files.

%prep
%setup

%build
%cmake
%make -C BUILD

%install
make -C BUILD install DESTDIR=%buildroot

# Create and install pkgconfig file

mkdir -p %buildroot%_libdir/pkgconfig
cat > %buildroot%_libdir/pkgconfig/codec2.pc << EOF
prefix=%prefix
exec_prefix=\${prefix}
includedir=\${prefix}/include/codec2
libdir=\${exec_prefix}/%_lib
Name: codec2
Description: Next-Generation Digital Voice for Two-Way Radio
Version: %version
Cflags: -I\${includedir}
Libs: -L\${libdir} -lcodec2
EOF


%files
%_libdir/libcodec2.so.*

%files devel
%_includedir/codec2
%_libdir/libcodec2.so
%_libdir/pkgconfig/codec2.pc

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009