Репозиторий Sisyphus
Последнее обновление: 25 августа 2019 | Пакетов: 17347 | Посещений: 14705159
en ru br
Репозитории ALT
S:1.0.17-alt1
5.1: 1.0.10-alt8
4.1: 1.0.10-alt7
4.0: 1.0.10-alt7
3.0: 1.0.10-alt4
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libgsm

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: libgsm
Version: 1.0.17
Release: alt1

Summary: GSM audio encoding/decoding library
License: Free/Copyright Technische Universitaet Berlin
Group: System/Libraries
Url: http://www.quut.com/gsm/
Packager: Denis Smirnov <mithraen at altlinux.ru>

# http://www.quut.com/gsm/gsm-%version.tar.gz

Source: gsm-%version.tar
Patch1: gsm-pld-alt-makefile.patch
Patch2: gsm-rh-warnings.patch

%description
This is a free and public implementation of GSM audio encoding and
decoding. GSM encoding has specific uses in transmission of packetized
audio over the Internet.

%package utils
Summary: Utilities for compress/decompress audio files using GSM format
Group: Sound
Requires: %name = %version-%release

%description utils
This package contains utilities - tost, untoast and tcat (works without
installation libgsm) for compress/decompress files using GSM format.

%package devel
Summary: Header files and development documentation for libgsm
Group: Development/C
Requires: %name = %version-%release

%description devel
Header files and development documentation for libgsm.

%package devel-static
Summary: GSM Audio Encoding/decoding static library
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
GSM Audio Encoding/decoding static library.

%prep
%setup -n gsm-1.0-pl13
sed -i 's/^\(CCFLAGS[[:space:]]*=[[:space:]]*\)-c -O2\(.*\)/\1 $(OPTFLAGS) \2/' Makefile
%patch1 -p1
#patch2 -p1

%build
%make_build SLIB=%_lib OPTFLAGS='%optflags -D_REENTRANT'

%install
mkdir -p %buildroot{%_bindir,%_mandir/man{1,3},%_includedir/gsm,%_libdir}
%makeinstall_std SLIB=%_lib INSTALL_ROOT=%buildroot
ln -s gsm/gsm.h %buildroot%_includedir/

echo .so toast.1 >%buildroot%_man1dir/tcat.1
echo .so toast.1 >%buildroot%_man1dir/untoast.1

%check
LD_LIBRARY_PATH=%buildroot%_libdir make tst addtst SLIB=%_lib

%files
%doc COPYRIGHT ChangeLog MACHINES MANIFEST README
%_libdir/%name.so.*

%files utils
%_bindir/*
%_man1dir/*

%files devel
%_libdir/%name.so
%_includedir/*
%_man3dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin