Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:danci1973
php5-lzf
php5-lzf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-lzf.spec of Package php5-lzf
# # spec file for package php5-lzf # # 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 LZF # Name: php5-lzf Version: 1.6.5 Release: 0 Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build BuildRequires: php5-devel URL: http://pecl.php.net/ Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz Summary: PHP LZF de/compression extension License: PHP Provides: php-lzf = %{version} Obsoletes: php-lzf < %{version} %if %{?php_zend_api}0 Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_core_api} %else %requires_eq php5 %endif Patch0: LZF-no-return.patch %description This package handles LZF de/compression. Authors: --------- marcin gibula <mg@iceni.pl> %prep %setup -q -n %{pkg_name}-%{version} #%patch0 -p1 %{__mkdir} %{name} %build /usr/bin/phpize pushd %{name} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" %if 0%{?suse_version} > 1000 CFLAGS="$CFLAGS -fstack-protector" CXXFLAGS="$CXXFLAGS -fstack-protector" %endif export CFLAGS export CXXFLAGS ../configure --with-libdir=%{_lib} %{__make} %{?jobs:-j%jobs} popd %install %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} %{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d echo "; comment out next line to disable lzf extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/lzf.ini echo "extension = lzf.so" >> %{buildroot}%{_sysconfdir}/php5/conf.d/lzf.ini %clean %{__rm} -rf %{buildroot} %files %defattr(644,root,root,755) %{_libdir}/php5/extensions/lzf.so %config(noreplace) %{_sysconfdir}/php5/conf.d/lzf.ini %doc CREDITS %changelog * Wed Aug 10 2016 danci@agenda.si - update to 1.6.5 * Mon Aug 17 2009 crrodriguez@novell.com - use versioning macros * Mon Nov 3 2008 crrodriguez@suse.de - Initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor