SPECS: php-magickwand.spec (NEW) - initial release
emes
emes at pld-linux.org
Thu Jun 14 23:57:56 CEST 2007
Author: emes Date: Thu Jun 14 21:57:56 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial release
---- Files affected:
SPECS:
php-magickwand.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-magickwand.spec
diff -u /dev/null SPECS/php-magickwand.spec:1.1
--- /dev/null Thu Jun 14 23:57:56 2007
+++ SPECS/php-magickwand.spec Thu Jun 14 23:57:51 2007
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define _pkgname MagickWandForPHP
+%define extensionsdir %(php-config --extension-dir 2>/dev/null)
+Summary: ImageMagick MagickWand API bindings for PHP
+Name: php-magickwand
+Version: 1.0.4
+Release: 0.1
+License: Apache-like
+Group: Development/Languages/PHP
+Source0: http://www.magickwand.org/download/php/%{_pkgname}-%{version}.tar.bz2
+# Source0-md5: f033b200ba135fec4bb017b07707c689
+URL: http://www.magickwand.org/
+BuildRequires: php-devel
+BuildRequires: ImageMagick-devel >= 6.3.1
+Requires: php(curl)
+Requires: php-common >= 4:5.0.0
+Requires: ImageMagick >= 6.3.1
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module enables PHP access to the ImageMagick MagickWand API.
+
+%prep
+%setup -q -n %{_pkgname}-%{version}
+
+%build
+phpize
+%configure \
+ --with-magickwand
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{extensionsdir}
+install modules/magickwand.so $RPM_BUILD_ROOT%{extensionsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README LICENSE ChangeLog AUTHOR
+%attr(755,root,root) %{extensionsdir}/magickwand.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/06/14 21:57:51 emes
+- initial release
+
================================================================
More information about the pld-cvs-commit
mailing list