Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-php-5318-imagick
dba-php-5318-imagick.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-php-5318-imagick.spec of Package dba-php-5318-imagick
%define pkg_name imagick %define real_vers 3.0.1 %define php_version 5.3.18 %define php_vers 5318 %define prefix /DBA/apache/PHP/%{php_version} %define phpcmd %{prefix}/bin/php %define phpize %{prefix}/bin/phpize %define phpconf %{prefix}/bin/php-config %define maketest 0 Name: dba-php-%{php_vers}-imagick Summary: Provides a wrapper to the ImageMagick/GraphicsMagick library. Version: %{real_vers} Release: 0 License: BSD Group: Productivity/Networking/Web/Servers URL: http://pecl.php.net/package/imagick Source: http://pecl.php.net/get/%{pkg_name}-%{version}.tgz Source1: imagick.ini BuildRoot: %{_tmppath}/%{pkg_name}-%{real_vers}-build %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif BuildRequires: dba-php-%{php_vers} ImageMagick-devel #!BuildIgnore: dba-postgresql-839 dba-postgresql-8319 dba-postgresql-8320 #!BuildIgnore: dba-postgresql-842 dba-postgresql-845 dba-postgresql-846 dba-postgresql-8412 dba-postgresql-8413 #!BuildIgnore: dba-postgresql-901 dba-postgresql-902 dba-postgresql-904 dba-postgresql-905 dba-postgresql-906 dba-postgresql-908 dba-postgresql-909 #!BuildIgnore: dba-postgresql-910 dba-postgresql-911 dba-postgresql-912 dba-postgresql-914 dba-postgresql-915 #!BuildIgnore: dba-postgresql-920 #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c %description Imagick is a native php extension to create and modify images using the ImageMagick API. This extension requires ImageMagick version 6.2.4+ and PHP 5.1.3+. IMPORTANT: Version 2.x API is not compatible with earlier versions. %prep %setup -q -n %{pkg_name}-%{real_vers} %build 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 %{phpize} %configure \ --with-php-config=%{phpconf} %{__make} %{?jobs:-j%jobs} %check %if %maketest %{__make} test PHP_EXECUTABLE=/usr/bin/php5 %endif %clean %{__rm} -rf %{buildroot} %install # %makeinstall INSTALL_ROOT=%{buildroot} %{__mkdir_p} %{buildroot}%{prefix}/conf %{__mkdir_p} %{buildroot}%{prefix}/lib/php/extensions %{__install} -D -m 0755 ./.libs/imagick.so %{buildroot}%{prefix}/lib/php/extensions/ %{__install} -D -m 0644 %{S:1} %{buildroot}%{prefix}/conf/imagick.ini %{__rm} -rf %{buildroot}%{prefix}/include %files %defattr(-,root,root,-) %dir %{prefix}/conf %dir %{prefix}/lib/php/extensions %{prefix}/conf/imagick.ini %{prefix}/lib/php/extensions/imagick.so %changelog * Fri Nov 9 2012 Holger Manthey <holger.manthey@bertelsmann.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