]> git.pld-linux.org Git - packages/php-pear-DB_DataObject.git/blame - php-pear-DB_DataObject.spec
- fix License; rel 3
[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}
cd9dab04 10Version: 1.8.4
9b47d381
ER
11Release: 3
12License: PHP 3.0
3e3d8fc2
PG
13Group: Development/Languages/PHP
14Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
cd9dab04 15# Source0-md5: 770c44d243066340d639b063235dcc02
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
fe29fc0a 21Requires: php-common >= 3:4.3
e1bca5f8 22Requires: php-pear >= 4:1.0-8
fe29fc0a
ER
23Requires: php-pear-DB >= 1.7.0
24Requires: php-pear-Date >= 1.4.3
3e3d8fc2
PG
25BuildArch: noarch
26BuildRoot: %{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
32The core class is designed to be extended for each of your tables so
41a3ee94 33that you put the data logic inside the data classes. Included is a
3e3d8fc2
PG
34Generator to make your configuration files and your base classes.
35DataObject 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 40In PEAR status of this package is: %{_status}.
c15165d4 41
41a3ee94
JB
42%description -l pl
43