]> git.pld-linux.org Git - packages/php-pear-DB_DataObject.git/blame - php-pear-DB_DataObject.spec
- updated to 1.8.5
[packages/php-pear-DB_DataObject.git] / php-pear-DB_DataObject.spec
CommitLineData
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 7Summary: %{_pearname} - an SQL builder, object interface to database tables
8Summary(pl): %{_pearname} - SQL builder, obiektowy interfejs do tabel bazodanowych
3e3d8fc2 9Name: php-pear-%{_pearname}
2aa815e3
AG
10Version: 1.8.5
11Release: 1
9b47d381 12License: PHP 3.0
3e3d8fc2
PG
13Group: Development/Languages/PHP
14Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
2aa815e3 15# Source0-md5: cf20a7ac0df80993b00493e9680975c3
895420d5 16Patch0: DB_DataObject-PLD.patch
2d1d77a5 17URL: http://pear.php.net/package/DB_DataObject/
18f7f524 18BuildRequires: php-pear-PEAR
07dcae72 19BuildRequires: rpm-php-pearprov >= 4.4.2-11
7c8ad3be 20BuildRequires: rpmbuild(macros) >= 1.300
51b8be6e 21Requires: php(overload)
fe29fc0a 22Requires: php-common >= 3:4.3
e1bca5f8 23Requires: php-pear >= 4:1.0-8
fe29fc0a
ER
24Requires: php-pear-DB >= 1.7.0
25Requires: php-pear-Date >= 1.4.3
3e3d8fc2
PG
26BuildArch: noarch
27BuildRoot: %{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
33The core class is designed to be extended for each of your tables so
41a3ee94 34that you put the data logic inside the data classes. Included is a
3e3d8fc2
PG
35Generator to make your configuration files and your base classes.
36DataObject 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 41In PEAR status of this package is: %{_status}.
c15165d4 42
41a3ee94
JB
43%description -l pl
44