]> git.pld-linux.org Git - packages/MagickWandForPHP.git/commitdiff
- initial
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 6 Nov 2007 10:02:25 +0000 (10:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    MagickWandForPHP.spec -> 1.1

MagickWandForPHP.spec [new file with mode: 0644]

diff --git a/MagickWandForPHP.spec b/MagickWandForPHP.spec
new file mode 100644 (file)
index 0000000..aa3c6c1
--- /dev/null
@@ -0,0 +1,66 @@
+Summary:       MagickWand ImageMagick API for PHP
+Name:          MagickWandForPHP
+Version:       1.0.5
+Release:       0.1
+License:       GPL
+Group:         Libraries
+Source0:       http://www.magickwand.org/download/php/%{name}-%{version}.tar.bz2
+# Source0-md5: b52a5b7cf4db7078fa3db4cb6e55ecf4
+Source1:       %{_name}.ini
+URL:           http://eaccelerator.net/
+BuildRequires: ImageMagick-devel
+#BuildRequires:        ImageMagick-devel >= 6.3.5.9
+BuildRequires: php-devel >= 3:5.0.0
+BuildRequires: rpmbuild(macros) >= 1.344
+%requires_eq   php-common
+%{?requires_php_extension}
+Requires:      php-common >= 4:5.0.4
+#Requires:     php-zlib
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _webapps        /etc/webapps
+%define                _webapp         %{_name}
+%define                _sysconfdir     %{_webapps}/%{_webapp}
+%define                _appdir         %{_datadir}/%{_webapp}
+
+%description
+The MagickWand API is the recommended interface between the C programming
+language and the ImageMagick image processing libraries. Unlike the
+MagickCore C API, MagickWand uses only a few opaque types. Accessors are
+available to set or get important wand properties.
+
+%prep
+%setup -q
+
+%build
+phpize
+%configure \
+       --with-php-config=%{_bindir}/php-config
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+#install -d $RPM_BUILD_ROOT{%{php_extensiondir},%{_bindir},%{php_sysconfdir}/conf.d,%{_sysconfdir},%{_appdir}}
+
+#install modules/eaccelerator.so $RPM_BUILD_ROOT%{php_extensiondir}
+#install eLoader/modules/eloader.so $RPM_BUILD_ROOT%{php_extensiondir}
+#install %{SOURCE1} $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_name}.ini
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%php_webserver_restart
+
+%postun
+if [ "$1" = 0 ]; then
+       %php_webserver_restart
+fi
+
+%files
+%defattr(644,root,root,755)
+#%doc AUTHORS ChangeLog NEWS README README.eLoader bugreport.php doc/php
+#%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_name}.ini
+#%attr(755,root,root) %{php_extensiondir}/eaccelerator.so
+#%attr(755,root,root) %{php_extensiondir}/eloader.so
This page took 0.083078 seconds and 4 git commands to generate.