Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c51f9a3cf | ||
|
|
dc7a619c7f | ||
|
|
871c73689a | ||
|
|
c0eab54b5e | ||
|
|
58f4bc1afd | ||
|
|
2e2024d59f | ||
|
|
9eba610e7b |
1 changed files with 57 additions and 34 deletions
|
|
@ -1,15 +1,15 @@
|
|||
%global betaver beta3
|
||||
%global tclver 0.2
|
||||
%global mainver 2.1
|
||||
%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh)}
|
||||
%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh8.6)}
|
||||
%{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
|
||||
%global tkphonearch %{_arch}
|
||||
|
||||
Name: iaxclient
|
||||
Version: %{mainver}
|
||||
Release: 0.48.%{betaver}%{?dist}
|
||||
Release: 0.53.%{betaver}%{?dist}
|
||||
Summary: Library for creating telephony solutions that interoperate with Asterisk
|
||||
License: LGPLv2+
|
||||
License: LGPL-2.0-or-later
|
||||
URL: http://iaxclient.wiki.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/iaxclient/%{name}-%{version}%{betaver}.tar.gz
|
||||
Source1: tkiaxphone.desktop
|
||||
|
|
@ -43,12 +43,24 @@ Patch21: iax-0.2.3_format-security.patch
|
|||
Patch22: iax-0.2.3_socket.patch
|
||||
Patch23: iaxclient-c99.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gsm-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: ilbc-devel
|
||||
BuildRequires: libogg-devel
|
||||
BuildRequires: liboggz-devel
|
||||
BuildRequires: libtheora-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libvidcap-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: speex-devel, libtheora-devel, gsm-devel, portaudio-devel
|
||||
BuildRequires: tk-devel, gtk3-devel, SDL-devel, libogg-devel, liboggz-devel
|
||||
BuildRequires: wxGTK-devel, libvidcap-devel, desktop-file-utils, libtool
|
||||
BuildRequires: spandsp-devel, ilbc-devel, speexdsp-devel
|
||||
BuildRequires: portaudio-devel
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: spandsp-devel
|
||||
BuildRequires: speex-devel
|
||||
BuildRequires: speexdsp-devel
|
||||
BuildRequires: tk-devel < 1:9
|
||||
BuildRequires: wxGTK-devel
|
||||
|
||||
%description
|
||||
Iaxclient is an open source, multiplatform library for creating telephony
|
||||
|
|
@ -91,7 +103,7 @@ developing applications that use %{name}.
|
|||
%package -n tcl-iaxclient
|
||||
Summary: Tcl interface to iax2 client lib
|
||||
Version: %{tclver}
|
||||
License: BSD
|
||||
License: BSD-3-Clause-No-Nuclear-License
|
||||
Requires: tcl(abi) = 8.6
|
||||
Requires: %{name} = %{mainver}-%{release}
|
||||
|
||||
|
|
@ -101,7 +113,7 @@ Tcl extensions to iaxclient libraries.
|
|||
%package -n tkiaxphone
|
||||
Summary: Tk IAX Phone Client
|
||||
Version: %{mainver}
|
||||
License: LGPLv2+
|
||||
License: LGPL-2.0-or-later
|
||||
Requires: tcl(abi) = 8.6
|
||||
Requires: %{name} = %{mainver}-%{release}
|
||||
|
||||
|
|
@ -111,7 +123,7 @@ Tk IAX Phone Client.
|
|||
%package -n wxiax
|
||||
Summary: wx IAX Phone Client
|
||||
Version: %{mainver}
|
||||
License: LGPLv2+
|
||||
License: LGPL-2.0-or-later
|
||||
Requires: %{name} = %{mainver}-%{release}
|
||||
|
||||
%description -n wxiax
|
||||
|
|
@ -119,21 +131,21 @@ wx IAX Phone Client.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{mainver}%{betaver}
|
||||
%patch0 -p1 -b .wxGTK28
|
||||
%patch1 -p1 -b .tkphone
|
||||
%patch2 -p1 -b .includedir
|
||||
%patch3 -p1 -b .libdir
|
||||
%patch4 -p1 -b .nodoc
|
||||
%patch5 -p1 -b .theoradetect
|
||||
%patch6 -p1 -b .DSO
|
||||
%patch7 -p1 -b .arm
|
||||
%patch8 -p1 -b .portable
|
||||
%patch9 -p1 -b .linkiax
|
||||
%patch10 -p1 -b .ilbc
|
||||
%patch11 -p1 -b .fpic
|
||||
%patch12 -p1 -b .wx3
|
||||
%patch13 -p1 -b .gtk3
|
||||
%patch14 -p1 -b .gcc14
|
||||
%patch -P0 -p1 -b .wxGTK28
|
||||
%patch -P1 -p1 -b .tkphone
|
||||
%patch -P2 -p1 -b .includedir
|
||||
%patch -P3 -p1 -b .libdir
|
||||
%patch -P4 -p1 -b .nodoc
|
||||
%patch -P5 -p1 -b .theoradetect
|
||||
%patch -P6 -p1 -b .DSO
|
||||
%patch -P7 -p1 -b .arm
|
||||
%patch -P8 -p1 -b .portable
|
||||
%patch -P9 -p1 -b .linkiax
|
||||
%patch -P10 -p1 -b .ilbc
|
||||
%patch -P11 -p1 -b .fpic
|
||||
%patch -P12 -p1 -b .wx3
|
||||
%patch -P13 -p1 -b .gtk3
|
||||
%patch -P14 -p1 -b .gcc14
|
||||
|
||||
# Delete bundled libraries (except libiax2) just to be sure
|
||||
rm -rf lib/{gsm, portmixer, sox, spandsp}
|
||||
|
|
@ -144,9 +156,9 @@ chmod -x contrib/tcl/README.txt
|
|||
|
||||
(
|
||||
cd lib/libiax2
|
||||
%patch20 -p1 -b .iaxmakefile
|
||||
%patch21 -p1 -b .iaxfmtsecurity
|
||||
%patch22 -p1 -b .iaxsocket
|
||||
%patch -P20 -p1 -b .iaxmakefile
|
||||
%patch -P21 -p1 -b .iaxfmtsecurity
|
||||
%patch -P22 -p1 -b .iaxsocket
|
||||
|
||||
sed -i 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|g' iax-config.in
|
||||
sed -i 's|/usr/lib|%{_libdir}|g' iax-config.in
|
||||
|
|
@ -154,7 +166,7 @@ sed -i 's|/usr/lib|%{_libdir}|g' iax-config.in
|
|||
autoreconf -vif
|
||||
)
|
||||
|
||||
%patch23 -p1 -b .c99
|
||||
%patch -P23 -p1 -b .c99
|
||||
|
||||
%build
|
||||
(
|
||||
|
|
@ -163,7 +175,7 @@ cd lib/libiax2
|
|||
make %{?_smp_mflags} UCFLAGS="%{optflags}"
|
||||
)
|
||||
|
||||
%configure --disable-static
|
||||
%configure --disable-static --with-wish=%{_bindir}/wish8.6
|
||||
# sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
# sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
make %{?_smp_mflags} LIBTOOL="%{_bindir}/libtool"
|
||||
|
|
@ -209,10 +221,6 @@ cd %{buildroot}%{tcl_sitearch}/iaxclient/tkphone/
|
|||
ln -s iaxcli iaxcli-Linux-%{tkphonearch}
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%ldconfig_scriptlets libiax
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog README
|
||||
%license COPYING.LIB
|
||||
|
|
@ -255,6 +263,21 @@ ln -s iaxcli iaxcli-Linux-%{tkphonearch}
|
|||
%{_datadir}/pixmaps/wxiax.png
|
||||
|
||||
%changelog
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-0.53.beta3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Sandro Mani <manisandro@gmail.com> - 2.1-0.52.beta3
|
||||
- BR: tk-devel < 1:9
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-0.51.beta3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 2.1-0.50.beta3
|
||||
- convert license to SPDX
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-0.49.beta3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-0.48.beta3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue