1 %include /usr/lib/rpm/macros.php
3 %define _subclass GraphViz
5 %define _pearname %{_class}_%{_subclass}
6 Summary: %{_pearname} - Interface to AT&T's GraphViz tools
7 Summary(pl.UTF-8): %{_pearname} - interfejs do narzędzi GraphViz AT&T
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 8828e58960e0d93820cb3bdcce85e705
15 URL: http://pear.php.net/package/Image_GraphViz/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.300
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The GraphViz class allows for the creation of and the work with
25 directed and undirected graphs and their visualization with AT&T's
28 In PEAR status of this package is: %{_status}.
30 %description -l pl.UTF-8
31 Klasa GraphViz pozwala na tworzenie oraz pracę z bezpośrednimi i
32 niebezpośrednimi grafami, a także ich wizualizację za pomocą narzędzi
35 Ta klasa ma w PEAR status: %{_status}.
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{php_pear_dir}/.registry/*.reg
52 %{php_pear_dir}/%{_class}/*.php