]>
Commit | Line | Data |
---|---|---|
3e3d8fc2 PG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class DB | |
3 | %define _subclass DataObject | |
c15165d4 | 4 | %define _status stable |
3e3d8fc2 | 5 | %define _pearname %{_class}_%{_subclass} |
81c1f399 PG |
6 | Summary: %{_pearname} - An SQL Builder, Object Interface to Database Tables |
7 | Summary(pl): %{_pearname} - SQL Builder, obiektowy interfejs do tabel bazodanowych | |
3e3d8fc2 | 8 | Name: php-pear-%{_pearname} |
7c1eef6d | 9 | Version: 1.2 |
61437fc1 | 10 | Release: 1 |
3e3d8fc2 PG |
11 | License: PHP 2.02 |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
7c1eef6d | 14 | # Source0-md5: aadd7b9f9ee50bff61d942d41c1e673c |
3e3d8fc2 | 15 | URL: http://pear.php.net/ |
213922d3 | 16 | BuildRequires: rpm-php-pearprov >= 4.0.2-98 |
3e3d8fc2 PG |
17 | Requires: php-pear |
18 | BuildArch: noarch | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | The core class is designed to be extended for each of your tables so | |
41a3ee94 | 23 | that you put the data logic inside the data classes. Included is a |
3e3d8fc2 PG |
24 | Generator to make your configuration files and your base classes. |
25 | DataObject performs 2 tasks: | |
26 | - Builds SQL statements based on the objects vars and the builder | |
27 | methods, | |
41a3ee94 JB |
28 | - acts as a datastore for a table row. |
29 | ||
c15165d4 PG |
30 | This class has in PEAR status: %{_status}. |
31 | ||
41a3ee94 JB |
32 | %description -l pl |
33 |