]>
Commit | Line | Data |
---|---|---|
3e3d8fc2 | 1 | %include /usr/lib/rpm/macros.php |
afd4db86 | 2 | %define _class DB |
3 | %define _subclass DataObject | |
c15165d4 | 4 | %define _status stable |
3e3d8fc2 | 5 | %define _pearname %{_class}_%{_subclass} |
ae7522bf | 6 | |
afd4db86 | 7 | Summary: %{_pearname} - an SQL builder, object interface to database tables |
8 | Summary(pl): %{_pearname} - SQL builder, obiektowy interfejs do tabel bazodanowych | |
3e3d8fc2 | 9 | Name: php-pear-%{_pearname} |
cd9dab04 | 10 | Version: 1.8.4 |
9b47d381 ER |
11 | Release: 3 |
12 | License: PHP 3.0 | |
3e3d8fc2 PG |
13 | Group: Development/Languages/PHP |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
cd9dab04 | 15 | # Source0-md5: 770c44d243066340d639b063235dcc02 |
895420d5 | 16 | Patch0: DB_DataObject-PLD.patch |
2d1d77a5 | 17 | URL: http://pear.php.net/package/DB_DataObject/ |
18f7f524 | 18 | BuildRequires: php-pear-PEAR |
07dcae72 | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
7c8ad3be | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
fe29fc0a | 21 | Requires: php-common >= 3:4.3 |
e1bca5f8 | 22 | Requires: php-pear >= 4:1.0-8 |
fe29fc0a ER |
23 | Requires: php-pear-DB >= 1.7.0 |
24 | Requires: php-pear-Date >= 1.4.3 | |
3e3d8fc2 PG |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
a67c26a1 | 28 | # exclude optional dependencies |
913792ef | 29 | %define _noautoreq 'pear(Validate.*)' 'pear(MDB2.*)' |
a67c26a1 | 30 | |
3e3d8fc2 PG |
31 | %description |
32 | The core class is designed to be extended for each of your tables so | |
41a3ee94 | 33 | that you put the data logic inside the data classes. Included is a |
3e3d8fc2 PG |
34 | Generator to make your configuration files and your base classes. |
35 | DataObject performs 2 tasks: | |
d7608d65 | 36 | - Builds SQL statements based on the objects vars and the builder |
37 | methods, | |
38 | - acts as a datastore for a table row. | |
41a3ee94 | 39 | |
5198e276 | 40 | In PEAR status of this package is: %{_status}. |
c15165d4 | 41 | |
41a3ee94 JB |
42 | %description -l pl |
43 |