]> git.pld-linux.org Git - packages/php-pear-MDB2.git/blob - php-pear-MDB2.spec
- package missing dir
[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 Summary:        %{_pearname} - unified database API
6 Summary(pl):    %{_pearname} - zunifikowane API baz danych
7 Name:           php-pear-%{_pearname}
8 Version:        2.0.0
9 %define _pre    beta6
10 %define _rel    2
11 Release:        0.%{_pre}.%{_rel}
12 Epoch:          1
13 License:        BSD style
14 Group:          Development/Languages/PHP
15 Source0:        http://pear.php.net/get/%{_pearname}-%{version}%{_pre}.tgz
16 # Source0-md5:  711c90da893f3634dd855e489e6a7e73
17 URL:            http://pear.php.net/package/MDB2/
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 Requires:       php-common >= 3:4.2.0
20 Requires:       php-pear
21 Requires:       php-pear-PEAR-core >= 1:1.0b1
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
49 Requires:       %{name} = %{epoch}:%{version}-%{release}
50 AutoReq:        no
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}/%{_class}/Driver/Native
64
65 %pear_package_install
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc install.log
73 %doc docs/%{_pearname}/docs/*
74 %{php_pear_dir}/.registry/*.reg
75 %{php_pear_dir}/*.php
76 %{php_pear_dir}/%{_class}
77
78 %files tests
79 %defattr(644,root,root,755)
80 %{php_pear_dir}/tests/*
This page took 0.102609 seconds and 3 git commands to generate.