X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=php-ioncube.spec;h=92d6e6ff2beb9592751cc49ab0adc551a881fd3c;hb=b81f347;hp=316b2214a65bf4cb5939320bd40d89aa8cbd58d7;hpb=67fac2822471b590dd2bf5034ce3a31adaa79541;p=packages%2Fphp-ioncube.git diff --git a/php-ioncube.spec b/php-ioncube.spec index 316b221..92d6e6f 100644 --- a/php-ioncube.spec +++ b/php-ioncube.spec @@ -1,34 +1,23 @@ -%ifarch %{ix86} -%define ver 4.0.12 -%endif -%ifarch %{x8664} -%define ver 4.0.12 -%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-%{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: 10 +Name: php%{?php_suffix}-%{modname} +Version: 5.0.18 +Release: 1 License: redistributable Group: Libraries -Source0: http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2 -# Source0-md5: 65e2191288699b682a1e594284e3d0cc -Source1: http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2 -# Source1-md5: 41bf4b1edf88d951f07f06854f6f548f -Source2: http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_ppc.tar.bz2 -# Source2-md5: c9f44f2245e41cba0617c452488c3dc4 +# www.ioncube.com/loaders.php +Source0: http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2 +# Source0-md5: d6c19034730b5f4eb35b4f94e01cb93f +Source1: http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2 +# Source1-md5: 20329d3b324039892215e84c2ea6b0bc URL: http://www.ioncube.com/ -BuildRequires: php-devel >= 4:5.2.0 +BuildRequires: php%{?php_suffix}-devel >= 4:5.2.0 BuildRequires: rpmbuild(macros) >= 1.579 BuildRequires: sed >= 4.0 %{?requires_php_extension} -ExclusiveArch: %{ix86} %{x8664} ppc +Provides: php(%{modname}) = %{version} +ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -44,10 +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 -%undos *.txt mv ioncube_loader_lin_%{php_major_version}.%{php_minor_version}%{?zend_zts}.so %{modname}.so ver=$(strings %{modname}.so | grep -F %{version}) @@ -82,6 +67,5 @@ fi %files %defattr(644,root,root,755) -%doc *.txt *.php %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini %attr(755,root,root) %{php_extensiondir}/ioncube.so