Difference Between Revision 3 and internetx:php5:extensions / php5-imagick
[-] | Changed | php5-imagick.spec |
x 1
2 # norootforbuild 3 %define php_version %(php-config --version 2>/dev/null) 4 5 -Name: php5-imagick 6 -Version: 3.1.2 7 -Release: 0 8 +Name: php-imagick 9 +Version: 3.0.0 10 +Release: 0 11 # 12 -License: PHP 13 -Group: Productivity/Networking/Web/Servers 14 +License: PHP 15 +Group: Productivity/Networking/Web/Servers 16 # 17 BuildRoot: %{_tmppath}/%{name}-%{version}-build 18 -BuildRequires: php5-devel >= 5.1.3 ImageMagick-devel >= 6.2.4 19 -Requires: php5 = %{php_version} 20 +BuildRequires: php-devel >= 5.1.3 ImageMagick-devel >= 6.2.4 21 +Requires: php = %{php_version} 22 # 23 URL: http://pecl.php.net/package/imagick/ 24 Source: http://pecl.php.net/package/imagick/imagick-%{version}.tgz 25 Summary: Provides a wrapper to the ImageMagick/GraphicsMagick library. 26 -##Patch0: imagick-fixes-%{version}.patch 27 28 %description 29 30
31 %prep 32 33 %setup -n imagick-%{version} 34 -##patch0 35 36 %{__mkdir} %{name} 37 38
39 40 %install 41 %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} 42 -%{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d 43 +%{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d 44 rm -rf %{buildroot}%{_includedir} 45 -echo "; comment out next line to disable imagick extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/imagick.ini 46 -echo 'extension = imagick.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/imagick.ini 47 + 48 +echo "; comment out next line to disable imagick extension in php" > %{buildroot}%{_sysconfdir}/php.d/imagick.ini 49 +echo 'extension = imagick.so' >> %{buildroot}%{_sysconfdir}/php.d/imagick.ini 50 51 52 %clean 53
54 55 %files 56 %defattr(-,root,root,-) 57 -%{_libdir}/php5/extensions/imagick.so 58 -%config(noreplace) %{_sysconfdir}/php5/conf.d/imagick.ini 59 +%{_libdir}/php/modules/imagick.so 60 +%config(noreplace) %{_sysconfdir}/php.d/imagick.ini 61 62 %doc CREDITS INSTALL 63 64 -%changelog -n php5-imagick 65 -* Sun Sep 29 2013 Carsten Schoene <cs@linux-administrator.com> - 3.1.2-1 66 -- update to release 3.1.2 67 -* Sat Nov 20 2010 Carsten Schoene <cs@linux-administrator.com> - 3.0.1-1 68 -- update to release 3.0.1 69 -* Thu Jul 22 2010 Carsten Schoene <cs@linux-administrator.com> - 3.0.0-1 70 -- update to release 3.0.0 71 -* Sat Feb 07 2009 Carsten Schoene <cs@linux-administrator.com> 72 -- version bump to 2.2.2 73 +%changelog -n php-imagick 74 +* Sun Jul 25 2010 Carsten Schoene <cs@linux-administrator.com> - 3.0.0-1 75 +- update to version 3.0.0 76 + 77 * Mon Oct 27 2008 Carsten Schoene <cs@linux-administrator.com> 78 - version bump to 2.2.1 79 * Sun Jul 13 2008 Carsten Schoene <cs@linux-administrator.com> 80 |