SPECS: MagickWandForPHP.spec (NEW) - initial

blues blues at pld-linux.org
Tue Nov 6 11:02:31 CET 2007


Author: blues                        Date: Tue Nov  6 10:02:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   MagickWandForPHP.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/MagickWandForPHP.spec
diff -u /dev/null SPECS/MagickWandForPHP.spec:1.1
--- /dev/null	Tue Nov  6 11:02:31 2007
+++ SPECS/MagickWandForPHP.spec	Tue Nov  6 11:02:25 2007
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+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
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/11/06 10:02:25  blues
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list