]> git.pld-linux.org Git - packages/php-pear-DB_QueryTool.git/blob - php-pear-DB_QueryTool.spec
- updated to 0.10.1
[packages/php-pear-DB_QueryTool.git] / php-pear-DB_QueryTool.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          DB
3 %define         _subclass       QueryTool
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - an OO-interface for easily retrieving and modifying data in a DB
8 Summary(pl):    %{_pearname} - obiektowy interfejs do odczytywania i modyfikowania danych w DB
9 Name:           php-pear-%{_pearname}
10 Version:        0.10.1
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:  f1499990d42f05df4c06ad38ff36f004
16 URL:            http://pear.php.net/package/DB_QueryTool/
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 This package is an OO-abstraction to the SQL-Query language, it
24 provides methods such as setWhere, setOrder, setGroup, setJoin, etc.
25 to easily build queries. It also provides an easy to learn interface
26 that interacts nicely with HTML-forms using arrays that contain the
27 column data, that shall be updated/added in a DB. This package bases
28 on an SQL-Builder which lets you easily build SQL-Statements and
29 execute them.
30
31 This class has in PEAR status: %{_status}.
32
33 %description -l pl
34 Ten pakiet to obiektowo zorientowana abstrakcja dla jêzyka zapytañ
35 SQL, udostêpniaj±ca metody takie jak setWhere, setOrder, setGroup,
36 setJoin itp. do ³atwego tworzenia zapytañ. Udostêpnia on tak¿e ³atwy
37 do nauczenia siê interfejs wspó³pracuj±cy z HTML-forms przy u¿yciu
38 tablic zawieraj±cych dane z kolumn, które maj± byæ uaktualnione/dodane
39 do bazy. Ten pakiet bazuje na SQL-Builderze, który pozwala na ³atwe
40 tworzenie i wykonywanie instrukcji SQL.
41
42 Ta klasa ma w PEAR status: %{_status}.
43
44 %prep
45 %setup -q -c
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
50
51 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
52 install %{_pearname}-%{version}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %dir %{php_pear_dir}/%{_class}/%{_subclass}
60 %{php_pear_dir}/%{_class}/*.php
61 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
This page took 0.057535 seconds and 4 git commands to generate.