]>
Commit | Line | Data |
---|---|---|
181110e4 PG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Image | |
3 | %define _subclass GIS | |
4 | %define _status stable | |
181110e4 | 5 | %define _pearname %{_class}_%{_subclass} |
33bdb724 | 6 | |
181110e4 | 7 | Summary: %{_pearname} - visualization of GIS data |
db2c6f76 | 8 | Summary(pl.UTF-8): %{_pearname} - wizualizacja danych GIS |
181110e4 | 9 | Name: php-pear-%{_pearname} |
7dccd66d | 10 | Version: 1.1.1 |
7c17d24c | 11 | Release: 5 |
181110e4 PG |
12 | License: PHP 2.02 |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
7dccd66d | 15 | # Source0-md5: 08a175de367af29ef33abc3559117b7f |
09a55e7b | 16 | URL: http://pear.php.net/package/Image_GIS/ |
b413ee58 | 17 | BuildRequires: php-pear-PEAR |
52360cf8 | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
61268bf6 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
e860c197 | 20 | Requires: php(gd) |
181110e4 | 21 | Requires: php-pear |
6676ee64 ER |
22 | Requires: php-pear-Cache_Lite |
23 | Requires: php-pear-Image_Color | |
24 | Requires: php-pear-XML_SVG | |
181110e4 PG |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Generating maps on demand can be a hard job as most often you don't | |
30 | have the maps you need in digital form. But you can generate your own | |
31 | maps based on raw, digital data description files which are available | |
32 | for free on the net. This package provides a parser for the most | |
33 | common format for geographical data, the Arcinfo/E00 format as well as | |
34 | renderers to produce images using GD or Scalable Vector Graphics | |
35 | (SVG). | |
36 | ||
ed49e0ef | 37 | In PEAR status of this package is: %{_status}. |
181110e4 | 38 | |
a6a4d7f9 JR |
39 | %description -l pl.UTF-8 |
40 | Generowanie map na żądanie może być ciężką pracą, jako że najczęściej | |
41 | nie posiada się potrzebnych map w postaci cyfrowej. Ale może generować | |
42 | własne mapy na podstawie plików surowych, cyfrowych opisów danych, | |
43 | które są dostępne za darmo w sieci. Ten pakiet udostępnia analizator | |
44 | do najczęściej używanego formatu danych geograficznych Arcinfo/E00, a | |
45 | także narzędzia rysujące, tworzące obrazy przy użyciu GD lub SVG. | |
716e65f7 JB |
46 | |
47 | Ta klasa ma w PEAR status: %{_status}. | |
181110e4 PG |
48 | |
49 | %prep | |
52360cf8 | 50 | %pear_package_setup |
181110e4 PG |
51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
52360cf8 ER |
54 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
55 | %pear_package_install | |
181110e4 PG |
56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
52360cf8 ER |
62 | %doc install.log |
63 | %{php_pear_dir}/.registry/*.reg | |
181110e4 PG |
64 | %dir %{php_pear_dir}/%{_class}/%{_subclass} |
65 | %dir %{php_pear_dir}/%{_class}/%{_subclass}/Parser | |
66 | %dir %{php_pear_dir}/%{_class}/%{_subclass}/Renderer | |
67 | %{php_pear_dir}/%{_class}/*.php | |
68 | %{php_pear_dir}/%{_class}/%{_subclass}/*.php | |
69 | %{php_pear_dir}/%{_class}/%{_subclass}/Parser/*.php | |
70 | %{php_pear_dir}/%{_class}/%{_subclass}/Renderer/*.php |