Changes of Revision 6
[-] | Changed | php5-imagick.spec |
x 1
2 # norootforbuild 3 -%define php_version %(php-config --version 2>/dev/null) 4 Name: php5-imagick 5 Version: 0.9.13 6 Release: 10 7 License: PHP 8 Group: Productivity/Networking/Web/Servers 9 Summary: Provides a wrapper to the ImageMagick/GraphicsMagick library. 10 -BuildRequires: php5-devel ImageMagick-devel 11 -Requires: php5 = %{php_version} 12 URL: http://pecl.php.net/package/imagick/ 13 Source: http://pecl.php.net/package/imagick/imagick-%{versio.tgz 14 BuildRoot: %{_tmppath}/%{name}-%{version}-build 15 +BuildRequires: php5-devel ImageMagick-devel 16 +Requires: php5 17 + 18 19 %description 20 Provides a wrapper to the ImageMagick/GraphicsMagick library. 21
22 --------- 23 Christian Stocker <chregu@php.net> 24 Michael C. Montero <mmontero@mail.communityconnect.com> 25 - Scott MacVicar <scottmac@php.net> 26 + Scott MacVicar <scottmac@php.net> 27 28 %prep 29 - 30 %setup -n imagick-%{version} 31 - 32 - 33 %build 34 /usr/bin/phpize 35 CFLAGS="%{optflags} -fno-strict-aliasing" 36
37 %install 38 %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} 39 %{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d 40 - 41 echo "; comment out next line to disable imagick extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/imagick.ini 42 echo 'extension = imagick.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/imagick.ini 43 44 45 %clean 46 - 47 %{__rm} -rf %{buildroot} 48 49 %files 50
51 52 %doc CREDITS INSTALL 53 54 -%changelog -n php5-imagick 55 +%changelog 56 * Tue Feb 05 2008 Carsten Schoene <cs@linux-administrator.com> 57 - build older version 0.9.13 (old API) 58 + 59 |