Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.6.14
:
extensions
>
php5-lzf
> php5-lzf.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-lzf.spec of Package php5-lzf
# norootforbuild %define pkg_name LZF # Name: php5-lzf Version: 1.6.2 Release: 0 # License: PHP Group: Productivity/Networking/Web/Servers # BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build BuildRequires: php5-devel BuildRequires: -post-build-checks # URL: http://pecl.php.net/lzf Source: http://pecl.php.net/package/lzf/%{pkg_name}-%{version}.tgz Summary: This package handles LZF de/compression. %description This package handles LZF de/compression. Authors: --------- Marcin Gibula %prep %setup -q -n %{pkg_name}-%{version} %{__mkdir} %{name} %build /usr/bin/phpize pushd %{name} CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing" %if 0%{?suse_version} > 1000 CFLAGS="$CFLAGS -fstack-protector" CXXFLAGS="$CXXFLAGS -fstack-protector" %endif export CFLAGS export CXXFLAGS ../configure %{__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 -n php5-lzf * Mon Mar 02 2009 Carsten Schoene <cs@linux-administrator.com> - new release 1.5.2 * Tue Jul 01 2008 Carsten Schoene <cs@linux-administrator.com> - new release 1.5 * Wed Feb 20 2008 Carsten Schoene <cs@linux-administrator.com> - very first build