diff --git a/README.md b/README.md index 8c3583b..54fac5c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,21 @@ const char *appname; // app identifier string, configured with the aware.appname ## RHEL/CentOS and friends +The JaM extensions are available from Kaltura's CE repo. +To add the repo, run: +``` +# rpm -ihv http://installrepo.kaltura.org/releases/kaltura-release.noarch.rpm +``` +To install the main JaM ext: +``` +# yum install php-jam +``` +To install the backends: +``` +# yum install php-jam-email php-jam-elasticsearch +``` +Then set proper values in /etc/php.d/jam\*.ini and reload Apache if needed. ## Compiling from source diff --git a/php-jam.spec b/php-jam.spec index f2a73e2..3386806 100644 --- a/php-jam.spec +++ b/php-jam.spec @@ -1,5 +1,5 @@ # Available build options, you will need rpm-build >= 4.0.3 for this to work. -# Example: rpmbuild -ba --with email php-jam.spec +# Example: rpmbuild -ba --with email jam.spec # # Storage Options # =============== @@ -16,13 +16,13 @@ # These setup the storage backends to off by default # %bcond_with email -%bcond_with elasticsearch -%bcond_with snmp %bcond_with files +%bcond_with snmp %bcond_with spread %bcond_with stomp %bcond_with tokyo %bcond_with zeromq2 +%bcond_with elasticsearch Name: php-jam @@ -77,6 +77,7 @@ Requires: %{name} = %{version}-%{release} Summary: SNMP storage engine for %{name} Group: Web/Applications Requires: %{name} = %{version}-%{release} +BuildRequires: net-snmp-devel %description snmp %{name} backend implementation which sends events as SNMP traps.