Module: kamailio Branch: master Commit: 356f9a837470434923165b7e3c627658b0c56b60 URL: https://github.com/kamailio/kamailio/commit/356f9a837470434923165b7e3c627658...
Author: Sergey Safarov s.safarov@gmail.com Committer: Sergey Safarov s.safarov@gmail.com Date: 2019-03-30T15:01:02+03:00
pkg/kamailio/obs: Added phonenum package
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff: https://github.com/kamailio/kamailio/commit/356f9a837470434923165b7e3c627658... Patch: https://github.com/kamailio/kamailio/commit/356f9a837470434923165b7e3c627658...
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec index 0252a19f75..e38d1b9770 100644 --- a/pkg/kamailio/obs/kamailio.spec +++ b/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