]> git.pld-linux.org Git - packages/php-pear-DB_NestedSet.git/blob - php-pear-DB_NestedSet.spec
- updated to 1.3.6
[packages/php-pear-DB_NestedSet.git] / php-pear-DB_NestedSet.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          DB
3 %define         _subclass       NestedSet
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - API to build and query nested sets
8 Summary(pl):    %{_pearname} - API to tworzenia i wykonywania zagnie¿dzonych zapytañ
9 Name:           php-pear-%{_pearname}
10 Version:        1.3.6
11 Release:        1
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  556e7afbf740c0f18b35bfd820fd75b9
16 URL:            http://pear.php.net/package/DB_NestedSet/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 DB_NestedSet lets you create trees with infinite depth inside a
24 relational database. The package provides a way to:
25 - create/update/delete nodes
26 - query nodes, trees and subtrees
27 - copy (clone) nodes, trees and subtrees
28 - move nodes, trees and subtrees
29 - call event handlers on specific events like on node deletion
30 - output the tree with
31   - PEAR::HTML_TreeMenu
32   - TigraMenu (http://www.softcomplex.com/products/tigra_menu/)
33 - It also features caching of SQL queries using PEAR::Cache.
34
35 In PEAR status of this package is: %{_status}.
36
37 %description -l pl
38 DB_NestedSet pozwala na tworzenie drzew nieskoñczonej d³ugo¶ci
39 wewn±trz relacyjnych baz danych. Pakiet umo¿liwia:
40 - tworzenie/modyfikowanie/usuwanie wêz³ów
41 - odpytywanie wêz³ów, drzew i poddrzew
42 - kopiowanie (klonowanie) wêz³ów, drzew i poddrzew
43 - przenoszenie wêz³ów, drzew i poddrzew
44 - wywo³ywanie procedur obs³ugi dla okre¶lonych zdarzeñ typu usuwanie
45   wêz³a
46 - pokazanie drzewa przy u¿yciu:
47   - PEAR::HTML_TreeMenu
48   - TigraMenu (http://www.softcomplex.com/products/tigra_menu/)
49 - mo¿e tak¿e buforowaæ zapytania SQL przy u¿yciu PEAR::Cache.
50
51 Ta klasa ma w PEAR status: %{_status}.
52
53 %prep
54 %setup -q -c
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
59
60 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
61 install %{_pearname}-%{version}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc %{_pearname}-%{version}/{docs,tests}
69 %dir %{php_pear_dir}/%{_class}/%{_subclass}
70 %{php_pear_dir}/%{_class}/*.php
71 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
This page took 0.063327 seconds and 3 git commands to generate.