Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37478826
en ru br
Репозитории ALT
S:5.3.1-alt1_1
5.1: 3.1.0-alt1
4.1: 3.1.0-alt1
4.0: 2.2.2-alt1
3.0: 2.0.8-alt1
www.altlinux.org/Changes

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

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

# BEGIN SourceDeps(oneline):
BuildRequires: libdict-devel
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define major 15
%define libname libosip2_%{major}
%define libname_devel libosip2-devel

Summary: Implementation of SIP - rfc3261
Name: libosip2
Version: 5.3.1
Release: alt1_1
License: LGPLv2+
Group: System/Libraries
URL: https://savannah.gnu.org/projects/osip/
Source0: https://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz
Source44: import.info

%description
This is the oSIP library. It has been designed to provide the
Internet Community a simple way to support the Session Initiation
Protocol. SIP is described in the RFC3261 which is available at
https://www.ietf.org/rfc/rfc3261.txt

%package -n %{libname}
Summary: Implementation of SIP - rfc2543
Group: System/Libraries
Obsoletes: libosip2 < %version
Obsoletes: %{_lib}osip2_4 < %version
Conflicts: libosip2_7 < %version

%description -n %{libname}
This is the oSIP library. It has been designed to provide the
Internet Community a simple way to support the Session Initiation
Protocol. SIP is described in the RFC3261 which is available at
https://www.ietf.org/rfc/rfc3261.txt

%package -n %{libname_devel}
Summary: Header file required to build programs using liboSIP
Group: Development/C
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}

%description -n %{libname_devel}
Developments files for %{libname} (oSIP Library). Needed to build
apps such as linphone and siproxd.

%prep
%setup -q


%build
autoreconf -fi -Iscripts
%configure --disable-static
%make_build

%install
%makeinstall_std

mv %{buildroot}%{_mandir}/man1/osip.1 %{buildroot}%{_mandir}/man1/osip2.1

# don't ship .a, .la

rm -f %{buildroot}%{_libdir}/*.la

%files -n %{libname}
%doc AUTHORS BUGS ChangeLog NEWS README TODO
%{_libdir}/*.so.%{major}
%{_libdir}/*.so.%{major}.*
%{_mandir}/man1/*

%files -n %{libname_devel}
%{_libdir}/*.so
%{_includedir}/osip2
%{_includedir}/osipparser2
%{_libdir}/pkgconfig/*.pc


%changelog

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

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