]>
Commit | Line | Data |
---|---|---|
08527e53 PG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Image | |
3 | %define _subclass GraphViz | |
78e86997 | 4 | %define _status beta |
08527e53 | 5 | %define _pearname %{_class}_%{_subclass} |
78e86997 ER |
6 | %define subver RC3 |
7 | %define rel 1 | |
d7ce3198 | 8 | Summary: %{_pearname} - Interface to AT&T's GraphViz tools |
3f2cbf41 | 9 | Summary(pl.UTF-8): %{_pearname} - interfejs do narzędzi GraphViz AT&T |
08527e53 | 10 | Name: php-pear-%{_pearname} |
78e86997 ER |
11 | Version: 1.3.0 |
12 | Release: 0.%{subver}.%{rel} | |
08527e53 PG |
13 | License: PHP 2.02 |
14 | Group: Development/Languages/PHP | |
78e86997 ER |
15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz |
16 | # Source0-md5: 59f4d88f0479dee91079ffbd59eb5ed4 | |
bf0529d6 | 17 | URL: http://pear.php.net/package/Image_GraphViz/ |
9ab1ac1b | 18 | BuildRequires: php-pear-PEAR |
aa7dfb36 | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
c4d96f2b | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
08527e53 PG |
21 | Requires: php-pear |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | The GraphViz class allows for the creation of and the work with | |
27 | directed and undirected graphs and their visualization with AT&T's | |
28 | GraphViz tools. | |
29 | ||
8871011c | 30 | In PEAR status of this package is: %{_status}. |
ed90020d | 31 | |
a2e4da16 JR |
32 | %description -l pl.UTF-8 |
33 | Klasa GraphViz pozwala na tworzenie oraz pracę z bezpośrednimi i | |
34 | niebezpośrednimi grafami, a także ich wizualizację za pomocą narzędzi | |
08527e53 PG |
35 | GraphViz AT&T. |
36 | ||
29aad2f5 | 37 | Ta klasa ma w PEAR status: %{_status}. |
ed90020d | 38 | |
08527e53 | 39 | %prep |
aa7dfb36 | 40 | %pear_package_setup |
08527e53 PG |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
aa7dfb36 ER |
44 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
45 | %pear_package_install | |
08527e53 | 46 | |
78e86997 ER |
47 | # don't care for tests |
48 | rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname} | |
49 | ||
08527e53 PG |
50 | %clean |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
aa7dfb36 ER |
55 | %doc install.log |
56 | %{php_pear_dir}/.registry/*.reg | |
08527e53 | 57 | %{php_pear_dir}/%{_class}/*.php |