]>
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} |
2aa815e3 AG |
10 | Version: 1.8.5 |
11 | Release: 1 | |
9b47d381 | 12 | License: PHP 3.0 |
3e3d8fc2 PG |
13 | Group: Development/Languages/PHP |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
2aa815e3 | 15 | # Source0-md5: cf20a7ac0df80993b00493e9680975c3 |
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 |
51b8be6e | 21 | Requires: php(overload) |
fe29fc0a | 22 | Requires: php-common >= 3:4.3 |
e1bca5f8 | 23 | Requires: php-pear >= 4:1.0-8 |
fe29fc0a ER |
24 | Requires: php-pear-DB >= 1.7.0 |
25 | Requires: php-pear-Date >= 1.4.3 | |
3e3d8fc2 PG |
26 | BuildArch: noarch |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
a67c26a1 | 29 | # exclude optional dependencies |
913792ef | 30 | %define _noautoreq 'pear(Validate.*)' 'pear(MDB2.*)' |
a67c26a1 | 31 | |
3e3d8fc2 PG |
32 | %description |
33 | The core class is designed to be extended for each of your tables so | |
41a3ee94 | 34 | that you put the data logic inside the data classes. Included is a |
3e3d8fc2 PG |
35 | Generator to make your configuration files and your base classes. |
36 | DataObject performs 2 tasks: | |
d7608d65 | 37 | - Builds SQL statements based on the objects vars and the builder |
38 | methods, | |
39 | - acts as a datastore for a table row. | |
41a3ee94 | 40 | |
5198e276 | 41 | In PEAR status of this package is: %{_status}. |
c15165d4 | 42 | |
41a3ee94 JB |
43 | %description -l pl |
44 |