Merge pull request #6 from sergey-safarov/specUP4

[Build-System] Relocate modules deps in freeswitch.spec
This commit is contained in:
Andrey Volk 2020-08-18 19:43:50 +04:00 committed by GitHub
commit aa07d53622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 29 deletions

View File

@ -158,13 +158,8 @@ BuildRequires: pcre-devel
BuildRequires: speex-devel BuildRequires: speex-devel
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: ldns-devel
BuildRequires: libedit-devel BuildRequires: libedit-devel
BuildRequires: perl
BuildRequires: yasm BuildRequires: yasm
%if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
BuildRequires: perl-ExtUtils-Embed
%endif
BuildRequires: pkgconfig BuildRequires: pkgconfig
%if 0%{?rhel} < 6 && 0%{?fedora} <= 6 %if 0%{?rhel} < 6 && 0%{?fedora} <= 6
BuildRequires: termcap BuildRequires: termcap
@ -176,38 +171,17 @@ BuildRequires: db-devel
%else %else
BuildRequires: db4-devel BuildRequires: db4-devel
%endif %endif
BuildRequires: python-devel
BuildRequires: libogg-devel BuildRequires: libogg-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
#BuildRequires: mono-devel #BuildRequires: mono-devel
BuildRequires: alsa-lib-devel
BuildRequires: which BuildRequires: which
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: e2fsprogs-devel BuildRequires: e2fsprogs-devel
BuildRequires: libtheora-devel BuildRequires: libtheora-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: bison
BuildRequires: net-snmp-devel
BuildRequires: libmemcached-devel
BuildRequires: portaudio-devel
BuildRequires: libsndfile-devel BuildRequires: libsndfile-devel
BuildRequires: broadvoice-devel
BuildRequires: flite-devel
BuildRequires: ilbc2-devel
BuildRequires: g722_1-devel
BuildRequires: codec2-devel
BuildRequires: libsilk-devel
BuildRequires: libyuv-devel >= 0.0.1280 BuildRequires: libyuv-devel >= 0.0.1280
BuildRequires: lua-devel
BuildRequires: mongo-c-driver-devel
BuildRequires: opus-devel
BuildRequires: soundtouch-devel >= 1.7.1
%if %{build_py26_esl}
BuildRequires: python26-devel
Requires: python26
%endif
Requires: alsa-lib
Requires: libogg Requires: libogg
Requires: libvorbis Requires: libvorbis
Requires: curl Requires: curl
@ -225,7 +199,6 @@ Requires: db4
Requires: gdbm Requires: gdbm
Requires: zlib Requires: zlib
Requires: libtiff Requires: libtiff
Requires: python
Requires: libtheora Requires: libtheora
Requires: libxml2 Requires: libxml2
Requires: libsndfile Requires: libsndfile
@ -385,6 +358,7 @@ Engine. Uses ODBC to connect to the DB of your choice.
Summary: FreeSWITCH mod_enum Summary: FreeSWITCH mod_enum
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: ldns-devel
%description application-enum %description application-enum
Provides FreeSWITCH mod_enum, a ENUM dialplan, with API and Dialplan extensions Provides FreeSWITCH mod_enum, a ENUM dialplan, with API and Dialplan extensions
@ -492,6 +466,7 @@ Provides FreeSWITCH mod_limit, provide application to limit both concurrent and
Summary: FreeSWITCH mod_memcache Summary: FreeSWITCH mod_memcache
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: libmemcached-devel
%description application-memcache %description application-memcache
Provides FreeSWITCH mod_memcache, implements an API interface to memcached which Provides FreeSWITCH mod_memcache, implements an API interface to memcached which
@ -503,6 +478,7 @@ alleviating database load."
Summary: FreeSWITCH mod_mongo Summary: FreeSWITCH mod_mongo
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: mongo-c-driver-devel
%description application-mongo %description application-mongo
Provides FreeSWITCH mod_mongo, which implements an API interface to mongodb. Provides FreeSWITCH mod_mongo, which implements an API interface to mongodb.
@ -584,6 +560,7 @@ and appearance of the programmable softkeys on Snom phones
Summary: FreeSWITCH mod_soundtouch Summary: FreeSWITCH mod_soundtouch
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: soundtouch-devel >= 1.7.1
%description application-soundtouch %description application-soundtouch
Provides FreeSWITCH mod_soundtouch, uses the soundtouch library, which can do Provides FreeSWITCH mod_soundtouch, uses the soundtouch library, which can do
@ -660,6 +637,8 @@ system for backend voicemail systems
Summary: FreeSWITCH mod_flite Summary: FreeSWITCH mod_flite
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: flite >= 2.0.0
BuildRequires: flite-devel >= 2.0.0
%description asrtts-flite %description asrtts-flite
Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine
@ -668,6 +647,7 @@ Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine
Summary: FreeSWITCH mod_pocketsphinx Summary: FreeSWITCH mod_pocketsphinx
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: bison
%description asrtts-pocketsphinx %description asrtts-pocketsphinx
Provides FreeSWITCH mod_pocketsphinx, a interface to the OpenSource Provides FreeSWITCH mod_pocketsphinx, a interface to the OpenSource
@ -717,6 +697,7 @@ Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony pla
Summary: BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform Summary: BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: broadvoice-devel
%description codec-bv %description codec-bv
BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
@ -725,6 +706,7 @@ BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source
Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: codec2-devel
%description codec-codec2 %description codec-codec2
CODEC2 narrow band codec support for FreeSWITCH open source telephony platform. CODEC2 narrow band codec support for FreeSWITCH open source telephony platform.
@ -761,6 +743,7 @@ Summary: iLCB Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: ilbc2 Requires: ilbc2
BuildRequires: ilbc2-devel
%description codec-ilbc %description codec-ilbc
@ -794,6 +777,8 @@ MP4V Video Codec support for FreeSWITCH open source telephony platform
Summary: Opus Codec support for FreeSWITCH open source telephony platform Summary: Opus Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: opus >= 1.1
BuildRequires: opus-devel >= 1.1
%description codec-opus %description codec-opus
OPUS Codec support for FreeSWITCH open source telephony platform OPUS Codec support for FreeSWITCH open source telephony platform
@ -815,6 +800,7 @@ Sangoma D100 and D500 Codec Card Support
Summary: Silk Codec support for FreeSWITCH open source telephony platform Summary: Silk Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: libsilk-devel
%description codec-silk %description codec-silk
Silk Codec (from Skype) support for FreeSWITCH open source telephony platform Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
@ -823,6 +809,7 @@ Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
Summary: Siren Codec support for FreeSWITCH open source telephony platform Summary: Siren Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: g722_1-devel
%description codec-siren %description codec-siren
Siren Codec support for FreeSWITCH open source telephony platform. Using Siren Codec support for FreeSWITCH open source telephony platform. Using
@ -921,6 +908,7 @@ Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: alsa-lib Requires: alsa-lib
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: portaudio-devel
%description endpoint-portaudio %description endpoint-portaudio
PortAudio endpoint support for FreeSWITCH open source telephony platform. PortAudio endpoint support for FreeSWITCH open source telephony platform.
@ -966,7 +954,8 @@ Verto protocol support for FreeSWITCH open source telephony platform.
%package event-cdr-mongodb %package event-cdr-mongodb
Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: mongo-c-driver-devel
%description event-cdr-mongodb %description event-cdr-mongodb
MongoDB CDR Logger for FreeSWITCH MongoDB CDR Logger for FreeSWITCH
@ -1112,6 +1101,7 @@ a native format sound file is available then FreeSWITCH can use it.
Summary: PortAudio Media Steam support for the FreeSWITCH open source telephony platform Summary: PortAudio Media Steam support for the FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: portaudio-devel
%description format-portaudio-stream %description format-portaudio-stream
Portaudio Streaming interface Audio for FreeSWITCH Portaudio Streaming interface Audio for FreeSWITCH
@ -1181,6 +1171,7 @@ Implements TGML Tone Generation for the FreeSWITCH open source telephony platfor
Summary: Lua support for the FreeSWITCH open source telephony platform Summary: Lua support for the FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: lua-devel
%description lua %description lua
@ -1189,6 +1180,8 @@ Summary: Perl support for the FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: perl Requires: perl
BuildRequires: perl-devel
BuildRequires: perl-ExtUtils-Embed
%description perl %description perl
@ -1196,7 +1189,8 @@ Requires: perl
Summary: Python support for the FreeSWITCH open source telephony platform Summary: Python support for the FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: python Requires: python
BuildRequires: python-devel
%description python %description python
@ -1343,6 +1337,8 @@ The Perl ESL module allows for native interaction with FreeSWITCH over the event
%package -n python-ESL %package -n python-ESL
Summary: The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface. Summary: The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: python
BuildRequires: python-devel
%description -n python-ESL %description -n python-ESL
The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface. The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.