summaryrefslogtreecommitdiffstats
path: root/php-kolab-net-ldap3.spec
blob: 0ab204c74506031c61365300d9096b7048fedce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# spec file for php-kolab-net-ldap3
#
# Copyright (c) 2015 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#

Name:           php-kolab-net-ldap3
Version:        1.0.2
Release:        1%{?dist}
Summary:        Advanced functionality for accessing LDAP directories

Group:          Development/Libraries
# GPL doesn't require LICENSE file... and no bug tracker found...
License:        GPLv3+
URL:            http://git.kolab.org/pear/Net_LDAP3/
Source0:        http://git.kolab.org/pear/Net_LDAP3/snapshot/pear-Net-LDAP3-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

# From composer.json
#               "php": ">=5.3.3",
#               "pear-pear/Net_LDAP2": ">=2.0.12"
Requires:       php(language) >= 5.3.3
Requires:       php-pear-Net-LDAP2 >= 2.0.12
# From phpcompatinfo report for version 1.0.2
Requires:       php-json
Requires:       php-ldap
Requires:       php-pcre

Provides:       php-composer(kolab/Net_LDAP3) = %{version}


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


%prep
%setup -q -n pear-Net-LDAP3-%{version}


%build
# Nothing to build


%install
rm -rf       %{buildroot}
mkdir -p     %{buildroot}%{_datadir}/php
cp -pr lib/* %{buildroot}%{_datadir}/php


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc composer.json
%{_datadir}/php/Net


%changelog
* Sun Feb 22 2015 Remi Collet <remi@fedoraproject.org> - 1.0.2-1
- initial package, version 1.0.2