1 %include /usr/lib/rpm/macros.php
2 %define _class Structures
3 %define _subclass Graph
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - graph datastructure manipulation library
8 Summary(pl.UTF-8): %{_pearname} - biblioteka do obróbki struktur danych grafów
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: b99c5e9ac348a2e81515ba16deb7ded3
16 URL: http://pear.php.net/package/Structures_Graph/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 BuildRequires: rpmbuild(macros) >= 1.300
20 Requires: php-pear >= 4:1.0-9.5
21 Requires: php-pear-PEAR-core >= 1:1.2
22 Obsoletes: php-pear-Structures_Graph-tests
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Structures_Graph is a package for creating and manipulating graph
28 datastructures. It allows building of directed and undirected graphs,
29 with data and metadata stored in nodes. The library provides functions
30 for graph traversing as well as for characteristic extraction from the
33 In PEAR status of this package is: %{_status}.
35 %description -l pl.UTF-8
36 Za pomocą Structures_Graph możliwe jest tworzenie i manipulacja
37 strukturami danych grafów. Pakiet pozwala tworzyć grafy skierowane i
38 nieskierowane z danymi i metadanymi zapisanymi w wierzchołkach.
39 Biblioteka dostarcza funkcje do przechodzenia grafów, a także
40 wyciągania charakterystyki z topologii grafu.
42 Ta klasa ma w PEAR status: %{_status}.
47 rm .%{php_pear_dir}/data/Structures_Graph/LICENSE
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{php_pear_dir}
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %doc docs/%{_pearname}/docs/*
61 %{php_pear_dir}/.registry/*.reg
62 %{php_pear_dir}/%{_class}/*.php
63 %{php_pear_dir}/%{_class}/%{_subclass}