Changes of Revision 4
[-] | Changed | php5-imagick.spec |
x 1
2 Release: 10 3 License: PHP 4 Group: Productivity/Networking/Web/Servers 5 -BuildRoot: %{_tmppath}/%{name}-%{version}-build 6 +Summary: Provides a wrapper to the ImageMagick/GraphicsMagick library. 7 BuildRequires: php5-devel ImageMagick-devel 8 Requires: php5 = %{php_version} 9 URL: http://pecl.php.net/package/imagick/ 10 Source: http://pecl.php.net/package/imagick/imagick-%{versio.tgz 11 -Summary: Provides a wrapper to the ImageMagick/GraphicsMagick library. 12 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 13 14 %description 15 16
17 18 %setup -n imagick-%{version} 19 20 -%{__mkdir} %{name} 21 22 %build 23 24 /usr/bin/phpize 25 26 -pushd %{name} 27 28 CFLAGS="%{optflags} -fno-strict-aliasing" 29 CXXFLAGS="%{optflags} -fno-strict-aliasing" 30
31 export CFLAGS 32 export CXXFLAGS 33 34 -../configure --with-imagick=%{_usr} --with-libdir=%{_lib} 35 +%configure --with-imagick=%{_usr} --with-libdir=%{_lib} 36 37 %{__make} %{?jobs:-j%jobs} 38 39 -popd 40 41 %install 42 %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} 43 |