!1 Initial packaging
From: @zhang__3125 Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
98d993df37
82
sofia-sip.spec
Normal file
82
sofia-sip.spec
Normal file
@ -0,0 +1,82 @@
|
||||
Name: sofia-sip
|
||||
Version: 1.13.7
|
||||
Release: 1
|
||||
Summary: Sofia SIP User-Agent library
|
||||
License: LGPLv2+
|
||||
URL: http://sofia-sip.sourceforge.net/
|
||||
Source0: https://github.com/freeswitch/%{name}/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: make autoconf automake gcc-c++
|
||||
BuildRequires: openssl-devel glib2-devel lksctp-tools-devel
|
||||
BuildRequires: libtool >= 1.5.17
|
||||
|
||||
%description
|
||||
Sofia SIP is a RFC-3261-compliant library for SIP user agents and
|
||||
other network elements. The Session Initiation Protocol (SIP) is an
|
||||
application-layer control (signaling) protocol for creating,
|
||||
modifying, and terminating sessions with one or more
|
||||
participants. These sessions include Internet telephone calls,
|
||||
multimedia distribution, and multimedia conferences.
|
||||
|
||||
%package devel
|
||||
Summary: Sofia-SIP Development Package
|
||||
Requires: sofia-sip = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Development package for Sofia SIP UA library.
|
||||
|
||||
%package glib
|
||||
Summary: Glib bindings for Sofia-SIP
|
||||
Requires: sofia-sip = %{version}-%{release}
|
||||
|
||||
%description glib
|
||||
GLib interface to Sofia SIP User Agent library.
|
||||
|
||||
%package glib-devel
|
||||
Summary: Glib bindings for Sofia SIP development files
|
||||
Requires: sofia-sip-glib = %{version}-%{release}
|
||||
Requires: sofia-sip-devel = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description glib-devel
|
||||
Development package for Sofia SIP UA Glib library. This package
|
||||
includes libraries and include files for developing glib programs
|
||||
using Sofia SIP.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
sh autogen.sh
|
||||
%configure --disable-rpath --disable-static --without-doxygen --disable-stun
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -name \*.la -delete
|
||||
find %{buildroot} -name \*.h.in -delete
|
||||
find . -name installdox -delete
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%ldconfig_scriptlets glib
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog ChangeLog.ext-trees COPYING COPYRIGHTS
|
||||
%doc README README.developers RELEASE TODO
|
||||
%{_bindir}/*
|
||||
%{_libdir}/libsofia-sip-ua.so.*
|
||||
%{_libdir}/libsofia-sip-ua-glib.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/sofia-sip-1.13/sofia-sip/*.h
|
||||
%{_includedir}/sofia-sip-1.13/sofia-resolv/*.h
|
||||
%{_libdir}/libsofia-sip-ua.so
|
||||
%{_libdir}/libsofia-sip-ua-glib.so
|
||||
%{_libdir}/pkgconfig/sofia-sip-ua.pc
|
||||
%{_libdir}/pkgconfig/sofia-sip-ua-glib.pc
|
||||
%{_datadir}/sofia-sip
|
||||
|
||||
%changelog
|
||||
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.13.7-1
|
||||
- Initial packaging
|
||||
4
sofia-sip.yaml
Normal file
4
sofia-sip.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: sofia-sip
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
BIN
v1.13.7.tar.gz
Normal file
BIN
v1.13.7.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user