Server IP : 192.158.238.246 / Your IP : 3.22.242.110 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/opt/cpanel/ea-php80/root/usr/share/doc/pecl/igbinary/ |
Upload File : |
# Define version and release number %define version 1.0.2 %define release 1 Name: php-igbinary Version: %{version} Release: %{release}%{?dist} Packager: Mikko Koppanen <mikko@ibuildings.com> Summary: PHP igbinary extension License: PHP Style License (http://opensource.dynamoid.com/#license) Group: Web/Applications URL: http://opensource.dynamoid.com/ # pear package creates .tgz file and the original source was .tar.gz Source: http://opensource.dynamoid.com/igbinary-%{version}.tgz Prefix: %{_prefix} Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: php-devel, make, gcc, /usr/bin/phpize %description Igbinary is a drop in replacement for the standard PHP serializer. Instead of time and space consuming textual representation, igbinary stores PHP data structures in a compact binary form. %prep %setup -q -n igbinary-%{version} %build /usr/bin/phpize && %configure && %{__make} %{?_smp_mflags} # Clean the buildroot so that it does not contain any stuff from previous builds [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} # Install the extension %{__make} install INSTALL_ROOT=%{buildroot} # Create the ini location %{__mkdir} -p %{buildroot}/etc/php.d # Preliminary extension ini echo "extension=igbinary.so" > %{buildroot}/%{_sysconfdir}/php.d/igbinary.ini %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %{_libdir}/php/modules/igbinary.so %{_sysconfdir}/php.d/igbinary.ini %{_includedir}/php/ext/igbinary/igbinary.h %changelog * Fri Oct 02 2009 Mikko Koppanen <mikko@ibuildings.com> - Initial spec file