]> git.pld-linux.org Git - packages/php-pear-MDB2.git/blame - php-pear-MDB2.spec
- rel 2
[packages/php-pear-MDB2.git] / php-pear-MDB2.spec
CommitLineData
d3772f7d
AG
1%include /usr/lib/rpm/macros.php
2%define _class MDB2
3%define _pearname %{_class}
f579f37f 4%define _status stable
d3772f7d 5Summary: %{_pearname} - unified database API
3818dc11 6Summary(pl.UTF-8): %{_pearname} - zunifikowane API baz danych
d3772f7d 7Name: php-pear-%{_pearname}
43685511 8Version: 2.4.1
4e2d2b55 9Release: 2
d3772f7d
AG
10Epoch: 1
11License: BSD style
12Group: Development/Languages/PHP
f579f37f 13Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
43685511 14# Source0-md5: ca272056a3a4f1031a2b0e7f2e286a12
d3772f7d 15URL: http://pear.php.net/package/MDB2/
bfa20d4b 16BuildRequires: php-pear-PEAR
31023fd2 17BuildRequires: rpm-php-pearprov >= 4.4.2-11
5601c94d 18BuildRequires: rpmbuild(macros) >= 1.300
f579f37f 19Requires: php-common >= 3:4.3.0
d3772f7d 20Requires: php-pear
dbabcbf0 21Requires: php-pear-PEAR-core >= 1:1.4.0-0.b1
962e5b35 22Requires: php-pear-XML_Parser
d3772f7d
AG
23BuildArch: noarch
24BuildRoot: %{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
30MDB2 is a merge of PEAR's DB and Metabases that provides a unified DB
31API. It also provides methods for DB portability and DB feature
32emulation. Most notably it features a DB independent XML-Schema
33manager.
34
3501cee2 35In PEAR status of this package is: %{_status}.
d3772f7d 36
e530dc4b
JR
37%description -l pl.UTF-8
38MDB2 to połączenie PEAR DB i Metabases, które daje ujednolicone API do
39baz danych. Zawiera także metody zapewniające przenośność i emulację
40właściwości dla baz danych. Najważniejsza cecha to niezależny od bazy
41danych zarządca schematów XML.
d3772f7d
AG
42
43Ta klasa ma w PEAR status: %{_status}.
44
31023fd2
ER
45%package tests
46Summary: Tests for PEAR::%{_pearname}
3818dc11 47Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
411e897e 48Group: Development/Languages/PHP
31023fd2 49Requires: %{name} = %{epoch}:%{version}-%{release}
0fa79bea 50AutoReq: no
af488eca 51AutoProv: no
31023fd2
ER
52
53%description tests
54Tests for PEAR::%{_pearname}.
55
e530dc4b 56%description tests -l pl.UTF-8
31023fd2
ER
57Testy dla PEAR::%{_pearname}.
58
d3772f7d 59%prep
31023fd2 60%pear_package_setup
d3772f7d
AG
61
62%install
63rm -rf $RPM_BUILD_ROOT
0fa79bea 64install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Driver/Native
31023fd2 65%pear_package_install
d3772f7d 66
f0a8df74
ER
67rm -f $RPM_BUILD_ROOT/usr/share/pear/data/MDB2/LICENSE
68
d3772f7d
AG
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
31023fd2
ER
74%doc install.log
75%doc docs/%{_pearname}/docs/*
76%{php_pear_dir}/.registry/*.reg
d3772f7d
AG
77%{php_pear_dir}/*.php
78%{php_pear_dir}/%{_class}
31023fd2
ER
79
80%files tests
81%defattr(644,root,root,755)
82%{php_pear_dir}/tests/*
This page took 0.484325 seconds and 4 git commands to generate.