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