[packages/php-bartlett-PHP_CompatInfo] new, version 2.26.0

glen glen at pld-linux.org
Sun Apr 19 14:12:30 CEST 2015


commit 163fcf6d8ccfa6f71566b6eec8e7ad3bf6b28487
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 19 15:11:10 2015 +0300

    new, version 2.26.0
    
    created with pear make-rpm-spec

 php-bartlett-PHP_CompatInfo.spec | 70 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)
---
diff --git a/php-bartlett-PHP_CompatInfo.spec b/php-bartlett-PHP_CompatInfo.spec
new file mode 100644
index 0000000..70fe5b4
--- /dev/null
+++ b/php-bartlett-PHP_CompatInfo.spec
@@ -0,0 +1,70 @@
+%define		pearname	PHP_CompatInfo
+%include	/usr/lib/rpm/macros.php
+Summary:	%{pearname} - Find out the minimum version and the extensions required for a piece of code to run
+Name:		php-bartlett-PHP_CompatInfo
+Version:	2.26.0
+Release:	1
+License:	BSD License
+Group:		Development/Languages/PHP
+Source0:	http://bartlett.laurent-laville.org/get/%{pearname}-%{version}.tgz
+# Source0-md5:	ca6f0922e26119157efb891cd51d6c66
+URL:		http://bartlett.laurent-laville.org/package/PHP_CompatInfo/
+BuildRequires:	php-channel(bartlett.laurent-laville.org)
+BuildRequires:	php-packagexml2cl
+BuildRequires:	php-pear-PEAR >= 1:1.9.0
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.610
+Requires:	php(dom)
+Requires:	php(pcre)
+Requires:	php(reflection)
+Requires:	php(spl)
+Requires:	php-bartlett-PHP_Reflect <= 1.99.0
+Requires:	php-channel(bartlett.laurent-laville.org)
+Requires:	php-libxml
+Requires:	php-pear
+Requires:	php-pear-Console_CommandLine >= 1.2.0
+Suggests:	php-pear-Net_Growl
+Suggests:	php-phpunit-PHPUnit
+Suggests:	php-phpunit-PHP_Timer
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	%(pear config-get cfg_dir 2>/dev/null || ERROR)/%{pearname}
+
+# exclude optional dependencies
+%define		_noautoreq_pear Net/Growl.* PHPUnit.* PHP/Timer.*
+
+%description
+PHP_CompatInfo will parse a file/folder/array to find out the minimum
+version and extensions required for it to run. CLI version has many
+reports (extension, interface, class, function, constant) to display
+and ability to show content of dictionary references.
+
+%prep
+%pear_package_setup
+
+%build
+packagexml2cl package.xml > ChangeLog
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p <lua>
+%pear_package_print_optionalpackages
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog install.log
+%doc optional-packages.txt
+%doc docs/PHP_CompatInfo/*
+%{php_pear_dir}/.registry/.channel.*/*.reg
+#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pear/PHP_CompatInfo/phpcompatinfo.xml.dist
+#%attr(755,root,root) %{_bindir}/phpcompatinfo
+%{php_pear_dir}/Bartlett/PHP/CompatInfo.php
+%{php_pear_dir}/Bartlett/PHP/CompatInfo
+%{php_pear_dir}/data/PHP_CompatInfo
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-bartlett-PHP_CompatInfo.git/commitdiff/163fcf6d8ccfa6f71566b6eec8e7ad3bf6b28487



More information about the pld-cvs-commit mailing list