From 05d7b1c58f2a7f77ba4cc00bfc85c4dc1b29b928 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 22 Feb 2015 16:56:35 +0100 Subject: php-kolab-net-ldap3: 1.0.2 - New package --- Makefile | 4 +++ php-kolab-net-ldap3.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 Makefile create mode 100644 php-kolab-net-ldap3.spec diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91b0fd5 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../common/Makefile + diff --git a/php-kolab-net-ldap3.spec b/php-kolab-net-ldap3.spec new file mode 100644 index 0000000..0ab204c --- /dev/null +++ b/php-kolab-net-ldap3.spec @@ -0,0 +1,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 - 1.0.2-1 +- initial package, version 1.0.2 \ No newline at end of file -- cgit