]> git.pld-linux.org Git - packages/php-pear-DB_QueryTool.git/blob - php-pear-DB_QueryTool.spec
- AutoProv: no for -tests
[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:        1.0.2
11 Release:        1
12 Epoch:          0
13 License:        PHP 2.02
14 Group:          Development/Languages/PHP
15 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 # Source0-md5:  00d9a26890e1e0a8f78d8b8ef151855e
17 URL:            http://pear.php.net/package/DB_QueryTool/
18 BuildRequires:  php-pear-PEAR
19 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
20 Requires:       php-pear
21 Requires:       php-pear-DB
22 Requires:       php-pear-Log >= 1.7
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This package is an OO-abstraction to the SQL-Query language, it
28 provides methods such as setWhere, setOrder, setGroup, setJoin, etc.
29 to easily build queries. It also provides an easy to learn interface
30 that interacts nicely with HTML-forms using arrays that contain the
31 column data, that shall be updated/added in a DB. This package bases
32 on an SQL-Builder which lets you easily build SQL-Statements and
33 execute them.
34
35 In PEAR status of this package is: %{_status}.
36
37 %description -l pl
38 Ten pakiet to obiektowo zorientowana abstrakcja dla jêzyka zapytañ
39 SQL, udostêpniaj±ca metody takie jak setWhere, setOrder, setGroup,
40 setJoin itp. do ³atwego tworzenia zapytañ. Udostêpnia on tak¿e ³atwy
41 do nauczenia siê interfejs wspó³pracuj±cy z HTML-forms przy u¿yciu
42 tablic zawieraj±cych dane z kolumn, które maj± byæ uaktualnione/dodane
43 do bazy. Ten pakiet bazuje na SQL-Builderze, który pozwala na ³atwe
44 tworzenie i wykonywanie instrukcji SQL.
45
46 Ta klasa ma w PEAR status: %{_status}.
47
48 %package tests
49 Summary:        Tests for PEAR::%{_pearname}
50 Summary(pl):    Testy dla PEAR::%{_pearname}
51 Group:          Development/Languages/PHP
52 Requires:       %{name} = %{epoch}:%{version}-%{release}
53 AutoReq:        no
54 AutoProv:       no
55
56 %description tests
57 Tests for PEAR::%{_pearname}.
58
59 %description tests -l pl
60 Testy dla PEAR::%{_pearname}.
61
62 %prep
63 %pear_package_setup
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{php_pear_dir}
68 %pear_package_install
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc install.log
76 %{php_pear_dir}/.registry/*.reg
77 %{php_pear_dir}/%{_class}/*.php
78 %{php_pear_dir}/%{_class}/%{_subclass}/
79
80 %files tests
81 %defattr(644,root,root,755)
82 %{php_pear_dir}/tests/*
This page took 0.060075 seconds and 4 git commands to generate.