Summary: ionCube loader module for PHP
Summary(pl.UTF-8): Moduł wczytujący ionCube dla PHP
Name: %{php_name}-%{modname}
-Version: 6.0.9
+Version: 10.2.7
Release: 1
License: redistributable
Group: Libraries
# www.ioncube.com/loaders.php
Source0: http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
-# Source0-md5: 20d20ec9b5c404ecc7e573353872c491
+# Source0-md5: 78bd8a291e568ea5608be55f20165c4b
Source1: http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
-# Source1-md5: f6fa004a7473c96fe97769ad39741b35
+# Source1-md5: ffab7ca309a2a858af6c1c9b8ac35ec9
URL: http://www.ioncube.com/
BuildRequires: %{php_name}-devel >= 4:5.2.0
BuildRequires: rpmbuild(macros) >= 1.579
%build
mv ioncube_loader_lin_%{php_major_version}.%{php_minor_version}%{?zend_zts}.so %{modname}.so
-ver=$(strings %{modname}.so | grep -F %{version} | grep "^%{version}")
+ver=$(strings %{modname}.so | grep -F %{version} | grep "^%{version}" | sed -e s'# .*##g')
if [ "$ver" != "%{version}" ]; then
exit 1
fi
%files
%defattr(644,root,root,755)
+%doc LICENSE.txt README.txt USER-GUIDE.txt
%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
%attr(755,root,root) %{php_extensiondir}/ioncube.so