]> git.pld-linux.org Git - packages/php-pear-MDB2.git/blob - php-pear-MDB2.spec
- 2.3.0
[packages/php-pear-MDB2.git] / php-pear-MDB2.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          MDB2
3 %define         _pearname       %{_class}
4 %define         _status         stable
5 Summary:        %{_pearname} - unified database API
6 Summary(pl):    %{_pearname} - zunifikowane API baz danych
7 Name:           php-pear-%{_pearname}
8 Version:        2.3.0
9 Release:        1
10 Epoch:          1
11 License:        BSD style
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  31c7294943b665c293f1453e1c4b20a4
15 URL:            http://pear.php.net/package/MDB2/
16 BuildRequires:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 BuildRequires:  rpmbuild(macros) >= 1.300
19 Requires:       php-common >= 3:4.3.0
20 Requires:       php-pear
21 Requires:       php-pear-PEAR-core >= 1:1.4.0-0.b1
22 Requires:       php-pear-XML_Parser
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
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
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
35 In PEAR status of this package is: %{_status}.
36
37 %description -l pl
38 MDB2 to po³±czenie PEAR DB i Metabases, które daje ujednolicone API do
39 baz danych. Zawiera tak¿e metody zapewniaj±ce przeno¶no¶æ i emulacjê
40 w³a¶ciwo¶ci dla baz danych. Najwa¿niejsza cecha to niezale¿ny od bazy
41 danych zarz±dca schematów XML.
42
43 Ta klasa ma w PEAR status: %{_status}.
44
45 %package tests
46 Summary:        Tests for PEAR::%{_pearname}
47 Summary(pl):    Testy dla PEAR::%{_pearname}
48 Group:          Development/Languages/PHP
49 Requires:       %{name} = %{epoch}:%{version}-%{release}
50 AutoReq:        no
51 AutoProv:       no
52
53 %description tests
54 Tests for PEAR::%{_pearname}.
55
56 %description tests -l pl
57 Testy dla PEAR::%{_pearname}.
58
59 %prep
60 %pear_package_setup
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Driver/Native
65
66 %pear_package_install
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc install.log
74 %doc docs/%{_pearname}/docs/*
75 %{php_pear_dir}/.registry/*.reg
76 %{php_pear_dir}/*.php
77 %{php_pear_dir}/%{_class}
78
79 %files tests
80 %defattr(644,root,root,755)
81 %{php_pear_dir}/tests/*
This page took 0.045557 seconds and 3 git commands to generate.