Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build-System] Relocate modules deps in freeswitch.spec #6

Merged
merged 1 commit into from
Aug 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
54 changes: 25 additions & 29 deletions freeswitch.spec
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,8 @@ BuildRequires: pcre-devel
BuildRequires: speex-devel
BuildRequires: sqlite-devel
BuildRequires: libtiff-devel
BuildRequires: ldns-devel
BuildRequires: libedit-devel
BuildRequires: perl
BuildRequires: yasm
%if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
BuildRequires: perl-ExtUtils-Embed
%endif
BuildRequires: pkgconfig
%if 0%{?rhel} < 6 && 0%{?fedora} <= 6
BuildRequires: termcap
Expand All @@ -174,38 +169,17 @@ BuildRequires: db-devel
%else
BuildRequires: db4-devel
%endif
BuildRequires: python-devel
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
BuildRequires: libjpeg-devel
#BuildRequires: mono-devel
BuildRequires: alsa-lib-devel
BuildRequires: which
BuildRequires: zlib-devel
BuildRequires: e2fsprogs-devel
BuildRequires: libtheora-devel
BuildRequires: libxml2-devel
BuildRequires: bison
BuildRequires: net-snmp-devel
BuildRequires: libmemcached-devel
BuildRequires: portaudio-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: 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: libvorbis
Requires: curl
Expand All @@ -223,7 +197,6 @@ Requires: db4
Requires: gdbm
Requires: zlib
Requires: libtiff
Requires: python
Requires: libtheora
Requires: libxml2
Requires: libsndfile
Expand Down Expand Up @@ -383,6 +356,7 @@ Engine. Uses ODBC to connect to the DB of your choice.
Summary: FreeSWITCH mod_enum
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: ldns-devel

%description application-enum
Provides FreeSWITCH mod_enum, a ENUM dialplan, with API and Dialplan extensions
Expand Down Expand Up @@ -490,6 +464,7 @@ Provides FreeSWITCH mod_limit, provide application to limit both concurrent and
Summary: FreeSWITCH mod_memcache
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: libmemcached-devel

%description application-memcache
Provides FreeSWITCH mod_memcache, implements an API interface to memcached which
Expand All @@ -501,6 +476,7 @@ alleviating database load."
Summary: FreeSWITCH mod_mongo
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: mongo-c-driver-devel

%description application-mongo
Provides FreeSWITCH mod_mongo, which implements an API interface to mongodb.
Expand Down Expand Up @@ -582,6 +558,7 @@ and appearance of the programmable softkeys on Snom phones
Summary: FreeSWITCH mod_soundtouch
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: soundtouch-devel >= 1.7.1

%description application-soundtouch
Provides FreeSWITCH mod_soundtouch, uses the soundtouch library, which can do
Expand Down Expand Up @@ -658,6 +635,8 @@ system for backend voicemail systems
Summary: FreeSWITCH mod_flite
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: flite >= 2.0.0
BuildRequires: flite-devel >= 2.0.0

%description asrtts-flite
Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine
Expand All @@ -666,6 +645,7 @@ Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine
Summary: FreeSWITCH mod_pocketsphinx
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: bison

%description asrtts-pocketsphinx
Provides FreeSWITCH mod_pocketsphinx, a interface to the OpenSource
Expand Down Expand Up @@ -715,6 +695,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
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: broadvoice-devel

%description codec-bv
BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
Expand All @@ -723,6 +704,7 @@ BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source
Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: codec2-devel

%description codec-codec2
CODEC2 narrow band codec support for FreeSWITCH open source telephony platform.
Expand Down Expand Up @@ -759,6 +741,7 @@ Summary: iLCB Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: ilbc2
BuildRequires: ilbc2-devel


%description codec-ilbc
Expand Down Expand Up @@ -792,6 +775,8 @@ MP4V Video Codec support for FreeSWITCH open source telephony platform
Summary: Opus Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: opus >= 1.1
BuildRequires: opus-devel >= 1.1

%description codec-opus
OPUS Codec support for FreeSWITCH open source telephony platform
Expand All @@ -813,6 +798,7 @@ Sangoma D100 and D500 Codec Card Support
Summary: Silk Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: libsilk-devel

%description codec-silk
Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
Expand All @@ -821,6 +807,7 @@ Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
Summary: Siren Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: g722_1-devel

%description codec-siren
Siren Codec support for FreeSWITCH open source telephony platform. Using
Expand Down Expand Up @@ -919,6 +906,7 @@ Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: alsa-lib
BuildRequires: alsa-lib-devel
BuildRequires: portaudio-devel

%description endpoint-portaudio
PortAudio endpoint support for FreeSWITCH open source telephony platform.
Expand Down Expand Up @@ -1010,7 +998,8 @@ Sangoma SMG-SS7 drivers for FreeTDM
%package event-cdr-mongodb
Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
BuildRequires: mongo-c-driver-devel

%description event-cdr-mongodb
MongoDB CDR Logger for FreeSWITCH
Expand Down Expand Up @@ -1156,6 +1145,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
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: portaudio-devel

%description format-portaudio-stream
Portaudio Streaming interface Audio for FreeSWITCH
Expand Down Expand Up @@ -1225,6 +1215,7 @@ Implements TGML Tone Generation for the FreeSWITCH open source telephony platfor
Summary: Lua support for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: lua-devel

%description lua

Expand All @@ -1233,14 +1224,17 @@ Summary: Perl support for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: perl
BuildRequires: perl-devel
BuildRequires: perl-ExtUtils-Embed

%description perl

%package python
Summary: Python support for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: python
Requires: python
BuildRequires: python-devel

%description python

Expand Down Expand Up @@ -1387,6 +1381,8 @@ The Perl ESL module allows for native interaction with FreeSWITCH over the event
%package -n python-ESL
Summary: The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
Group: System Environment/Libraries
Requires: python
BuildRequires: python-devel

%description -n python-ESL
The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
Expand Down