]> git.pld-linux.org Git - SPECS.git/blob - php-horde-Horde_Image.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / php-horde-Horde_Image.spec
1 # TODO
2 # - system locale dir
3 %define         status          stable
4 %define         pearname        Horde_Image
5 Summary:        %{pearname} - Horde Image API
6 Name:           php-horde-Horde_Image
7 Version:        1.0.10
8 Release:        1
9 License:        LGPL
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.horde.org/get/%{pearname}-%{version}.tgz
12 # Source0-md5:  ae4d4912ca56972e2b0d64ff7a91ebed
13 URL:            https://github.com/horde/horde/tree/master/framework/Image/
14 BuildRequires:  php-channel(pear.horde.org)
15 BuildRequires:  php-packagexml2cl
16 BuildRequires:  php-pear-PEAR >= 1:1.7.0
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 BuildRequires:  rpmbuild(macros) >= 1.610
19 Requires:       php-channel(pear.horde.org)
20 Requires:       php-horde-Horde_Exception < 2.0.0
21 Requires:       php-horde-Horde_Support < 2.0.0
22 Requires:       php-horde-Horde_Translation < 2.0.0
23 Requires:       php-horde-Horde_Util < 2.0.0
24 Requires:       php-pear >= 4:1.3.6-2
25 Suggests:       php-gd
26 Suggests:       php-json
27 Suggests:       php-pear-XML_SVG
28 Suggests:       php-zlib
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 # exclude optional dependencies
33 %define         _noautoreq       pear(XML/SVG.*)
34
35 %description
36 This package provides an Image utility API, with backends for:
37 - GD
38 - GIF
39 - PNG
40 - SVG
41 - SWF
42 - ImageMagick convert command line tool
43 - Imagick Extension
44
45 In PEAR status of this package is: %{status}.
46
47 %prep
48 %pear_package_setup
49
50 %build
51 packagexml2cl package.xml > ChangeLog
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
56 %pear_package_install
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc ChangeLog install.log
64 %doc optional-packages.txt
65 %{php_pear_dir}/.registry/.channel.*/*.reg
66 %{php_pear_dir}/Horde/Image.php
67 %{php_pear_dir}/Horde/Image
68 %{php_pear_dir}/data/Horde_Image
This page took 0.355461 seconds and 3 git commands to generate.