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