Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.5.23
:
extensions
>
php5-imagick-oldapi
> php5-imagick.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-imagick.spec of Package php5-imagick-oldapi
# norootforbuild Name: php5-imagick Version: 0.9.13 Release: 11 License: PHP Group: Productivity/Networking/Web/Servers Summary: Provides a wrapper to the ImageMagick/GraphicsMagick library. URL: http://pecl.php.net/package/imagick/ Source: http://pecl.php.net/package/imagick/imagick-%{version}.tgz Patch: imagick-exception.diff Patch1: imagick-0.9.13-newerImageMagick.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: php5-devel ImageMagick-devel Requires: php5 %description Provides a wrapper to the ImageMagick/GraphicsMagick library. Authors: --------- Christian Stocker <chregu@php.net> Michael C. Montero <mmontero@mail.communityconnect.com> Scott MacVicar <scottmac@php.net> %prep %setup -n imagick-%{version} %patch -p1 %if 0%{?sles_version} >= 11 %patch1 -p1 %endif %build /usr/bin/phpize 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 --with-imagick=%{_usr} --with-libdir=%{_lib} %{__make} %{?jobs:-j%jobs} %install %makeinstall INSTALL_ROOT=%{buildroot} %{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d echo "; comment out next line to disable imagick extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/imagick.ini echo 'extension = imagick.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/imagick.ini %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/php5/extensions/imagick.so %config(noreplace) %{_sysconfdir}/php5/conf.d/imagick.ini %doc CREDITS INSTALL %changelog * Tue Feb 05 2008 Carsten Schoene <cs@linux-administrator.com> - build older version 0.9.13 (old API)