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