]> git.pld-linux.org Git - packages/MagickWandForPHP.git/blame - MagickWandForPHP.spec
- rel 2
[packages/MagickWandForPHP.git] / MagickWandForPHP.spec
CommitLineData
e7cee909 1# - see php-magickwand.spec
cd91de18 2Summary: MagickWand ImageMagick API for PHP
eb98eae3 3Summary(pl.UTF-8): API ImageMagick MagickWand dla PHP
cd91de18
PG
4Name: MagickWandForPHP
5Version: 1.0.5
f9294ad2 6Release: 2
02590036 7License: ImageMagick (Apache-like)
cd91de18
PG
8Group: Libraries
9Source0: http://www.magickwand.org/download/php/%{name}-%{version}.tar.bz2
10# Source0-md5: b52a5b7cf4db7078fa3db4cb6e55ecf4
44fc618c 11Source1: %{name}.ini
989c392f 12URL: http://www.magickwand.org/
44fc618c 13BuildRequires: ImageMagick-devel >= 6.3.5.9
cd91de18
PG
14BuildRequires: php-devel >= 3:5.0.0
15BuildRequires: rpmbuild(macros) >= 1.344
16%requires_eq php-common
17%{?requires_php_extension}
18Requires: php-common >= 4:5.0.4
cd91de18
PG
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
cd91de18 21%description
eb98eae3
JB
22The MagickWand API is the recommended interface between the C
23programming language and the ImageMagick image processing libraries.
24Unlike the MagickCore C API, MagickWand uses only a few opaque types.
25Accessors are available to set or get important wand properties.
26
27%description -l pl.UTF-8
28API MagickWand jest zalecanym interfejsem między językiem C a
29bibliotekami przetwarzania obrazu ImageMagick. W przeciwieństwie do
30API C MagickCore, MagickWand używa tylko kilku nieprzejrzystych typów.
31Dostępne są funkcje dostępowe do ustawiania i pobierania istotnych
32właściwości wand.
cd91de18
PG
33
34%prep
35%setup -q
36
37%build
38phpize
39%configure \
40 --with-php-config=%{_bindir}/php-config
41
42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
989c392f 46install -d $RPM_BUILD_ROOT{%{php_extensiondir},%{php_sysconfdir}/conf.d}
cd91de18 47
989c392f
PG
48install modules/magickwand.so $RPM_BUILD_ROOT%{php_extensiondir}
49install %{SOURCE1} $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_name}.ini
cd91de18
PG
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%post
55%php_webserver_restart
56
57%postun
58if [ "$1" = 0 ]; then
59 %php_webserver_restart
60fi
61
62%files
63%defattr(644,root,root,755)
989c392f
PG
64%doc AUTHOR CREDITS ChangeLog LICENSE README TODO run-tests.php
65%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_name}.ini
66%attr(755,root,root) %{php_extensiondir}/magickwand.so
This page took 0.1506 seconds and 4 git commands to generate.