Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568153
en ru br
ALT Linux repos
S:1.4.1-alt1
5.0: 1.2.4-alt3
4.1: 1.2.4-alt2

Group :: Development/Other
RPM: pear-DB_NestedSet

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define pear_name DB_NestedSet

Name: pear-DB_NestedSet
Version: 1.4.1
Release: alt1

Summary: API to build and query nested sets

License: PHP License
Group: Development/Other
Url: http://pear.php.net/package/DB_NestedSet

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://pear.php.net/get/DB_NestedSet-%version.tar.bz2

BuildArchitectures: noarch

Requires: pear-core
BuildRequires: pear-core rpm-build-pear

%description
DB_NestedSet let's you create trees with infinite depth
inside a relational database.
The package provides a way to
o create/update/delete nodes
o query nodes, trees and subtrees
o copy (clone) nodes, trees and subtrees
o move nodes, trees and subtrees
o call event handlers on specific events like
 on node deletion
o output the tree with
 - PEAR::HTML_TreeMenu
 - TigraMenu (http://www.softcomplex.com/products/tigra_menu/)
o It also features caching of SQL queries using PEAR::Cache

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%pear_dir/DB/
%pear_docdir/%pear_name/
%pear_testdir/%pear_name/
%pear_xmldir/%pear_name.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin