File php-kolab-net_ldap3.spec of Package php-kolab-net_ldap3

#
# spec file for package php-kolab-net_ldap3
#
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%define        php_libdir         %{_datadir}/php%(echo %{php_version}|sed -e 's/[\.].*//')

Name:           php-kolab-net_ldap3
Version:        1.1.3
Release:        0
Summary:        Povides advanced functionality for accessing LDAP directories
License:        GPL-3.0+
Group:          Development/Libraries/Other
URL:            http://git.kolab.org/pear/Net_LDAP3/
Source0:        https://gitlab.com/api/v4/projects/roundcube%2Fnet_ldap3/repository/archive.tar.gz?sha=e1835e36fa5d3434f9804670fc3cdd16992ec66a#/net_ldap3-e1835e36fa5d3434f9804670fc3cdd16992ec66a-e1835e36fa5d3434f9804670fc3cdd16992ec66a.tar.gz
Requires:       php >= 5.3.3
Requires:       php-pear(net_ldap2) >= 2.0.12
BuildRequires:  php-devel >= 5.3.3
Provides:       php-composer(kolab/net_ldap3) = 1.1.3

BuildArch:      noarch

%description
A successor of the PEAR:Net_LDAP2 module providing advanced functionality for accessing LDAP directories

%prep
%setup -q -n net_ldap3-e1835e36fa5d3434f9804670fc3cdd16992ec66a-e1835e36fa5d3434f9804670fc3cdd16992ec66a
rm .arcconfig

%build
# no building for packaging

%install
# install package
mkdir -p %{buildroot}%{php_libdir}/kolab/net_ldap3
cp -a . %{buildroot}%{php_libdir}/kolab/net_ldap3

%check
# Run the tests whenever possible

%files
%license LICENSE
%exclude %{php_libdir}/kolab/net_ldap3/LICENSE
%dir %{php_libdir}/kolab
%{php_libdir}/kolab/net_ldap3

%changelog

openSUSE Build Service is sponsored by