summaryrefslogtreecommitdiffstats
path: root/php-kolab-net-ldap3.spec
blob: d0a70603cd561e733f9949d7b29421d48684335f (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# spec file for php-kolab-net-ldap3
#
# Copyright (c) 2015-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#

%global git_commit    e1835e36fa5d
%global git_short     %(c=%{git_commit}; echo ${c:0:7})

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

License:        GPLv3+
URL:            http://git.kolab.org/pear/Net_LDAP3/
Source0:        %{name}-%{version}-%{git_short}.tgz
Source1:        makesrc.sh

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.1.0
Requires:       php-json
Requires:       php-ldap
Requires:       php-pcre
Requires:       php-spl

Provides:       php-composer(kolab/Net_LDAP3) = %{version}
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 %{name}-%{git_commit}


%build
# Nothing to build


%install
mkdir -p       %{buildroot}%{_datadir}/php
cp -pr lib/Net %{buildroot}%{_datadir}/php/Net


%files
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc composer.json
%{_datadir}/php/Net


%changelog
* Thu Oct 24 2019 Remi Collet <remi@remirepo.net> - 1.1.3-1
- update to 1.1.3

* Thu Aug 29 2019 Remi Collet <remi@fedoraproject.org> - 1.1.1-1
- update to 1.1.1

* Tue Jun 18 2019 Remi Collet <remi@fedoraproject.org> - 1.1.0-1
- update to 1.1.0

* Mon Sep 17 2018 Remi Collet <remi@fedoraproject.org> - 1.0.7-2
- provide php-composer(kolab/net_ldap3)

* Mon Sep 17 2018 Remi Collet <remi@fedoraproject.org> - 1.0.7-1
- update to 1.0.7
- sources from git snapshot

* Fri Mar 27 2015 Remi Collet <remi@fedoraproject.org> - 1.0.3-1
- update to 1.0.3

* Tue Feb 24 2015 Remi Collet <remi@fedoraproject.org> - 1.0.2-2
- add upstream patch for License clarification

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