Projects
home:rottame:vhosts-ng:php8-extensions
php8-igbinary
php8-igbinary.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php8-igbinary.spec of Package php8-igbinary (Revision 2)
Currently displaying revision
2
,
Show latest
# # spec file for package php8-igbinary # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define pkg_name igbinary # Name: php8-%{pkg_name} Version: 3.2.14 Release: 1 Summary: Replacement for the Standard PHP Serializer # need to ask authors to clarify. There's 'New BSD' in package description, # PHP-3.01 in igbinary-1.2.1/apc_serializer.h and 'PHP Style License' in # igbinary-1.2.1/igbinary.spec License: PHP-3.01 Group: Productivity/Networking/Web/Servers Url: http://pecl.php.net/ Source: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz BuildRequires: php8-APCu-devel BuildRequires: php8-devel Provides: php-igbinary = %{version} Provides: php-igbinary(vhng) = %{php_vhng_branch} Obsoletes: php-igbinary < %{version} # BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?php_zend_api}0 Requires: php(api) = %{php_core_api} Requires: php(zend-abi) = %{php_zend_api} %else %requires_eq php8 %endif %description Igbinary is a drop in replacement for the standard php serializer. %prep %setup -q -n %{pkg_name}-%{version} mkdir %{name} %build %{_bindir}/phpize pushd %{name} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" export CFLAGS export CXXFLAGS ../configure --with-libdir=%{_lib} make %{?_smp_mflags} popd %install make DESTDIR=%{buildroot} install %{?_smp_mflags} -C %{name} INSTALL_ROOT=%{buildroot} mkdir -p %{buildroot}%{_sysconfdir}/php8/conf.d echo "; comment out next line to disable %{pkg_name} extension in php" > %{buildroot}%{_sysconfdir}/php8/conf.d/%{pkg_name}.ini echo "extension = %{pkg_name}.so" >> %{buildroot}%{_sysconfdir}/php8/conf.d/%{pkg_name}.ini %check pushd %{name} make %{?_smp_mflags} test popd %files %defattr(644,root,root,755) %{_libdir}/php8/extensions/%{pkg_name}.so %config(noreplace) %{_sysconfdir}/php8/conf.d/%{pkg_name}.ini %dir %{_includedir}/php8/ext/igbinary %dir %{_includedir}/php8/ext/igbinary/src %dir %{_includedir}/php8/ext/igbinary/src/* %{_includedir}/php8/ext/igbinary/*.h %{_includedir}/php8/ext/igbinary/src/*/*.h %doc CREDITS %changelog * Fri Jan 29 2016 pgajdos@suse.com - provides php-igbinary symbol * Wed Jan 13 2016 pgajdos@suse.com - update to 1.2.1 * Sat Jul 26 2014 crrodriguez@opensuse.org - update to version 1.1.1_git201406220733 * Sat Jun 4 2011 crrodriguez@opensuse.org - FIx build with current server:php that has no -5 suffix * Sat Jun 4 2011 crrodriguez@opensuse.org - Add missing module dependencies * Fri Jun 3 2011 crrodriguez@opensuse.org - Update to current GIT * Mon Mar 21 2011 crrodriguez@opensuse.org - Update to version 1.1.1 * Sun Jan 9 2011 cristian.rodriguez@opensuse.org - Initial package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.