]> git.pld-linux.org Git - packages/php-pear-MDB2.git/blob - php-pear-MDB2.spec
c8dccbd9d0bd0f572c2457256a6a649e16bba892
[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         beta
5
6 Summary:        %{_pearname} - unified database API
7 Summary(pl):    %{_pearname} - zunifikowane API baz danych
8 Name:           php-pear-%{_pearname}
9 Version:        2.0.0
10 %define _pre    beta4
11 %define _rel    2
12 Release:        0.%{_pre}.%{_rel}
13 Epoch:          1
14 License:        BSD style
15 Group:          Development/Languages/PHP
16 Source0:        http://pear.php.net/get/%{_pearname}-%{version}%{_pre}.tgz
17 # Source0-md5:  95aee608b6c980b5c99ebbf7425c6aa8
18 URL:            http://pear.php.net/package/MDB2/
19 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
20 Requires:       php-common >= 3:4.2.0
21 Requires:       php-pear
22 Requires:       php-pear-PEAR >= 1:1.0b1
23 Requires:       php-pear-XML_Parser
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 # (probably) included in tests
28 %define         _noautoreq 'pear(Console_TestListener.php)' 'pear(HTML_TestListener.php)' 'pear(XML/DTD/XmlValidator.php)' 'pear(testUtils.php)' 'pear(test_setup.php)'
29
30 %description
31 MDB2 is a merge of PEAR's DB and Metabases that provides a unified DB
32 API. It also provides methods for DB portability and DB feature
33 emulation. Most notably it features a DB independent XML-Schema
34 manager.
35
36 In PEAR status of this package is: %{_status}.
37
38 %description -l pl
39 MDB2 to po³±czenie PEAR DB i Metabases, które daje ujednolicone API do
40 baz danych. Zawiera tak¿e metody zapewniaj±ce przeno¶no¶æ i emulacjê
41 w³a¶ciwo¶ci dla baz danych. Najwa¿niejsza cecha to niezale¿ny od bazy
42 danych zarz±dca schematów XML.
43
44 Ta klasa ma w PEAR status: %{_status}.
45
46 %package tests
47 Summary:        Tests for PEAR::%{_pearname}
48 Summary(pl):    Testy dla PEAR::%{_pearname}
49 Group:          Development
50 Requires:       %{name} = %{epoch}:%{version}-%{release}
51
52 %description tests
53 Tests for PEAR::%{_pearname}.
54
55 %description tests -l pl
56 Testy dla PEAR::%{_pearname}.
57
58 %prep
59 %pear_package_setup
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{php_pear_dir}
64 %pear_package_install
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc install.log
72 %doc docs/%{_pearname}/docs/*
73 %{php_pear_dir}/.registry/*.reg
74 %{php_pear_dir}/*.php
75 %{php_pear_dir}/%{_class}
76
77 %files tests
78 %defattr(644,root,root,755)
79 %{php_pear_dir}/tests/*
This page took 0.093096 seconds and 2 git commands to generate.