]> git.pld-linux.org Git - packages/php-pear-XML_svg2image.git/blob - php-pear-XML_svg2image.spec
eaa52a9b264818cb7f3292eccb07351158f4c596
[packages/php-pear-XML_svg2image.git] / php-pear-XML_svg2image.spec
1 # NOTE
2 # - imho it requires java ext, it is not optional? making it php4-only package
3 %include        /usr/lib/rpm/macros.php
4 %define         _status         beta
5 %define         _pearname       XML_svg2image
6 Summary:        %{_pearname} - converts a SVG file to a PNG/JPEG image
7 Summary(pl.UTF-8):      %{_pearname} - konwersja plików SVG do obrazków PNG/JPEG
8 Name:           php-pear-%{_pearname}
9 Version:        0.2.0
10 Release:        1
11 License:        PHP 2.02
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  2ec2aa629af1d0bac9af1dc9a0e6badc
15 URL:            http://pear.php.net/package/XML_svg2image/
16 BuildRequires:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 BuildRequires:  rpmbuild(macros) >= 1.300
19 Requires:       php-pear
20 Suggests:       java-xmlgraphics-batik
21 Suggests:       php-java
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Converts a SVG file to a PNG/JPEG image with the help of apache-batik
27 (java-program), needs therefore a PHP with ext/java compiled-in and
28 the batik files from <http://xml.apache.org/batik/>.
29
30 In PEAR status of this package is: %{_status}.
31
32 %description -l pl.UTF-8
33 Klasa ta przekształca pliki SVG do obrazków PNG/JPEG przy pomocy
34 programu apache-batik (w Javie), dlatego wymaga PHP z rozszerzeniem
35 java i plików batik z <http://xml.apache.org/batik/>.
36
37 Ta klasa ma w PEAR status: %{_status}.
38
39 %prep
40 %pear_package_setup
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
45 %pear_package_install
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc install.log
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/XML/svg2image.php
This page took 0.07527 seconds and 2 git commands to generate.