1 Summary: MagickWand ImageMagick API for PHP
7 Source0: http://www.magickwand.org/download/php/%{name}-%{version}.tar.bz2
8 # Source0-md5: b52a5b7cf4db7078fa3db4cb6e55ecf4
10 URL: http://eaccelerator.net/
11 BuildRequires: ImageMagick-devel >= 6.3.5.9
12 BuildRequires: php-devel >= 3:5.0.0
13 BuildRequires: rpmbuild(macros) >= 1.344
14 %requires_eq php-common
15 %{?requires_php_extension}
16 Requires: php-common >= 4:5.0.4
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _webapps /etc/webapps
21 %define _webapp %{_name}
22 %define _sysconfdir %{_webapps}/%{_webapp}
23 %define _appdir %{_datadir}/%{_webapp}
26 The MagickWand API is the recommended interface between the C programming
27 language and the ImageMagick image processing libraries. Unlike the
28 MagickCore C API, MagickWand uses only a few opaque types. Accessors are
29 available to set or get important wand properties.
37 --with-php-config=%{_bindir}/php-config
42 rm -rf $RPM_BUILD_ROOT
43 #install -d $RPM_BUILD_ROOT{%{php_extensiondir},%{_bindir},%{php_sysconfdir}/conf.d,%{_sysconfdir},%{_appdir}}
45 #install modules/eaccelerator.so $RPM_BUILD_ROOT%{php_extensiondir}
46 #install eLoader/modules/eloader.so $RPM_BUILD_ROOT%{php_extensiondir}
47 #install %{SOURCE1} $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_name}.ini
50 rm -rf $RPM_BUILD_ROOT
53 %php_webserver_restart
57 %php_webserver_restart
61 %defattr(644,root,root,755)
62 #%doc AUTHORS ChangeLog NEWS README README.eLoader bugreport.php doc/php
63 #%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_name}.ini
64 #%attr(755,root,root) %{php_extensiondir}/eaccelerator.so
65 #%attr(755,root,root) %{php_extensiondir}/eloader.so