]>
Commit | Line | Data |
---|---|---|
d3772f7d AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class MDB2 | |
3 | %define _pearname %{_class} | |
bb491e32 | 4 | %define _status beta |
d3772f7d AG |
5 | Summary: %{_pearname} - unified database API |
6 | Summary(pl): %{_pearname} - zunifikowane API baz danych | |
7 | Name: php-pear-%{_pearname} | |
8 | Version: 2.0.0 | |
89f81261 | 9 | %define _pre beta6 |
0fa79bea | 10 | %define _rel 2 |
31023fd2 | 11 | Release: 0.%{_pre}.%{_rel} |
d3772f7d AG |
12 | Epoch: 1 |
13 | License: BSD style | |
14 | Group: Development/Languages/PHP | |
15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}%{_pre}.tgz | |
89f81261 | 16 | # Source0-md5: 711c90da893f3634dd855e489e6a7e73 |
d3772f7d | 17 | URL: http://pear.php.net/package/MDB2/ |
31023fd2 | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
962e5b35 | 19 | Requires: php-common >= 3:4.2.0 |
d3772f7d | 20 | Requires: php-pear |
8153f2f1 | 21 | Requires: php-pear-PEAR-core >= 1:1.0b1 |
962e5b35 | 22 | Requires: php-pear-XML_Parser |
d3772f7d AG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
31023fd2 ER |
26 | # (probably) included in tests |
27 | %define _noautoreq 'pear(Console_TestListener.php)' 'pear(HTML_TestListener.php)' 'pear(XML/DTD/XmlValidator.php)' 'pear(testUtils.php)' 'pear(test_setup.php)' | |
28 | ||
d3772f7d AG |
29 | %description |
30 | MDB2 is a merge of PEAR's DB and Metabases that provides a unified DB | |
31 | API. It also provides methods for DB portability and DB feature | |
32 | emulation. Most notably it features a DB independent XML-Schema | |
33 | manager. | |
34 | ||
3501cee2 | 35 | In PEAR status of this package is: %{_status}. |
d3772f7d AG |
36 | |
37 | %description -l pl | |
38 |