Skip to content
Permalink
Browse files

pkg/kamailio/obs: Added phonenum package

  • Loading branch information...
sergey-safarov committed Feb 26, 2019
1 parent fc7d03a commit 356f9a837470434923165b7e3c627658b0c56b60
Showing with 36 additions and 1 deletion.
  1. +36 −1 pkg/kamailio/obs/kamailio.spec
@@ -17,6 +17,7 @@
%bcond_without memcached
%bcond_without mongodb
%bcond_without perl
%bcond_without phonenum
%bcond_without rabbitmq
%bcond_without redis
%bcond_without ruby
@@ -40,6 +41,7 @@
%bcond_without memcached
%bcond_without mongodb
%bcond_without perl
%bcond_without phonenum
%bcond_without rabbitmq
%bcond_without redis
%bcond_without ruby
@@ -63,6 +65,7 @@
%bcond_without memcached
%bcond_without mongodb
%bcond_without perl
%bcond_without phonenum
%bcond_without rabbitmq
%bcond_without redis
%bcond_without ruby
@@ -86,6 +89,7 @@
%bcond_without memcached
%bcond_without mongodb
%bcond_without perl
%bcond_without phonenum
%bcond_without rabbitmq
%bcond_without redis
%bcond_without ruby
@@ -109,6 +113,7 @@
%bcond_without memcached
%bcond_with mongodb
%bcond_without perl
%bcond_with phonenum
%bcond_with rabbitmq
%bcond_with redis
%bcond_with ruby
@@ -133,6 +138,7 @@
%bcond_without memcached
%bcond_without mongodb
%bcond_without perl
%bcond_without phonenum
%bcond_without rabbitmq
%bcond_without redis
%bcond_without ruby
@@ -156,6 +162,7 @@
%bcond_without memcached
%bcond_with mongodb
%bcond_without perl
%bcond_with phonenum
%bcond_with rabbitmq
%bcond_without redis
%bcond_without ruby
@@ -179,6 +186,7 @@
%bcond_with memcached
%bcond_with mongodb
%bcond_with perl
%bcond_with phonenum
%bcond_with rabbitmq
%bcond_with redis
%bcond_with ruby
@@ -202,6 +210,7 @@
%bcond_with memcached
%bcond_without mongodb
%bcond_without perl
%bcond_with phonenum
%bcond_with rabbitmq
%bcond_without redis
%bcond_with ruby
@@ -668,6 +677,19 @@ Perl extensions and database driver for Kamailio.
%endif


%if %{with phonenum}
%package phonenum
Summary: Phonenum module the Kamailio
Group: %{PKGGROUP}
Requires: kamailio = %ver
Requires: libphonenumber
BuildRequires: libphonenumber-devel libicu-devel protobuf-devel

%description phonenum
Phonenum module the Kamailio.
%endif


%package postgresql
Summary: PostgreSQL database connectivity for Kamailio
Group: %{PKGGROUP}
@@ -798,7 +820,6 @@ SCTP transport for Kamailio.
Summary: Additional layer of security over our communications
Group: %{PKGGROUP}
Requires: kamailio = %ver
#BuildRequires: lksctp-tools-devel

%description secfilter
Additional layer of security over our communications.
@@ -1106,6 +1127,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
kmysql koutbound \
%if %{with perl}
kperl \
%endif
%if %{with phonenum}
kphonenum \
%endif
kpostgres kpresence kpython kradius \
%if %{with redis}
@@ -1183,6 +1207,9 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
kmysql koutbound \
%if %{with perl}
kperl \
%endif
%if %{with phonenum}
kphonenum \
%endif
kpostgres kpresence kpython kradius \
%if %{with redis}
@@ -1855,6 +1882,14 @@ fi
%endif


%if %{with phonenum}
%files phonenum
%defattr(-,root,root)
%doc %{_docdir}/kamailio/modules/README.phonenum
%{_libdir}/kamailio/modules/phonenum.so
%endif


%files postgresql
%defattr(-,root,root)
%doc %{_docdir}/kamailio/modules/README.db_postgres

0 comments on commit 356f9a8

Please sign in to comment.
You can’t perform that action at this time.