X-Git-Url: https://git.pld-linux.org/?p=packages%2Fphp-ioncube.git;a=blobdiff_plain;f=php-ioncube.spec;h=92d6e6ff2beb9592751cc49ab0adc551a881fd3c;hp=af1b7034bde743f50681f00606bdeec96d312eaf;hb=b81f347;hpb=c734d7e4d2ad3d299bd7225b79a12f2eb83df96f diff --git a/php-ioncube.spec b/php-ioncube.spec index af1b703..92d6e6f 100644 --- a/php-ioncube.spec +++ b/php-ioncube.spec @@ -1,36 +1,23 @@ -%ifarch %{ix86} -%define ver 4.7.1 -%endif -%ifarch %{x8664} -%define ver 4.7.1 -%endif -%ifarch ppc -%define ver 3.1.33 -%endif %define modname ioncube Summary: ionCube loader module for PHP Summary(pl.UTF-8): Moduł wczytujący ionCube dla PHP Name: php%{?php_suffix}-%{modname} -Version: %{ver} -# Never decrease release in this package. -# As not all arch versions are identical, you could be making some arch package older. -Release: 12 +Version: 5.0.18 +Release: 1 License: redistributable Group: Libraries # www.ioncube.com/loaders.php Source0: http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2 -# Source0-md5: 729d76710ac28a7f9c2a7fa244798d3f +# Source0-md5: d6c19034730b5f4eb35b4f94e01cb93f Source1: http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2 -# Source1-md5: 0a2f95f8e16e45a19dba08b652a384a3 -Source2: http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_ppc.tar.bz2 -# Source2-md5: c9f44f2245e41cba0617c452488c3dc4 +# Source1-md5: 20329d3b324039892215e84c2ea6b0bc URL: http://www.ioncube.com/ BuildRequires: php%{?php_suffix}-devel >= 4:5.2.0 BuildRequires: rpmbuild(macros) >= 1.579 BuildRequires: sed >= 4.0 %{?requires_php_extension} Provides: php(%{modname}) = %{version} -ExclusiveArch: %{ix86} %{x8664} ppc +ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -46,9 +33,6 @@ Moduł wczytujący ionCube dla PHP. %ifarch %{x8664} %setup -q -T -b 1 -n %{modname} %endif -%ifarch ppc -%setup -q -T -b 2 -n %{modname} -%endif mv ioncube_loader_lin_%{php_major_version}.%{php_minor_version}%{?zend_zts}.so %{modname}.so ver=$(strings %{modname}.so | grep -F %{version})