Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk-app_ldap
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
asterisk-app_ldap.spec
@@ -0,0 +1,37 @@ +Name: asterisk-app_ldap +Version: 2.0rc1 +Release: 1 +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: asterisk asterisk-devel openldap2 openldap2-devel spandsp curl +Requires: asterisk openldap2 +Group: telephony +Summary: LDAPget Asterisk application module +Source: app_ldap-%{version}.tar.gz + +%description +LDAPget is an asterisk application which can lookup data +in an LDAP directory (e.g. OpenLDAP or ActiveDirectory). +LDAPget does not require you to use a specific LDAP schema. +If the requested data is found in the directory it is assigned +to a given variable an the priority is increased by 101. + + +%prep +%setup -n app_ldap-%{version} + +%build + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}/etc/asterisk +mkdir -p %{buildroot}/%{_libdir}/asterisk/modules +%{__make} install DESTDIR=%{buildroot} LIBDIR=%{_libdir} + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%files +%defattr(-,root,root) +%{_libdir}/asterisk/modules/app_ldap.so +/etc/asterisk/ldap.conf