]>
Commit | Line | Data |
---|---|---|
cb8f7e3c AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class MDB2 | |
3 | %define _subclass Driver_pgsql | |
d9ecb5d9 | 4 | %define _status stable |
cb8f7e3c AG |
5 | %define _pearname MDB2_Driver_pgsql |
6 | ||
7 | Summary: %{_pearname} - pgsql MDB2 driver | |
e134dcbe | 8 | Summary(pl.UTF-8): %{_pearname} - sterownik pgsql dla MDB2 |
cb8f7e3c | 9 | Name: php-pear-%{_pearname} |
09947149 | 10 | Version: 1.4.1 |
c69ea5db | 11 | Release: 2 |
cb8f7e3c AG |
12 | License: BSD License |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
09947149 | 15 | # Source0-md5: 13edbe266f659266d3f3d275cbd89ce0 |
cb8f7e3c | 16 | URL: http://pear.php.net/package/MDB2_Driver_pgsql/ |
53496b8a | 17 | BuildRequires: php-pear-PEAR |
cb8f7e3c | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
00cdee18 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
15327368 | 20 | Requires: php(pgsql) |
cb8f7e3c | 21 | Requires: php-common >= 3:4.3.0 |
b5522135 | 22 | Requires: php-pear |
875c2e2a ER |
23 | Requires: php-pear-MDB2 >= 1:2.3.0 |
24 | Requires: php-pear-PEAR-core >= 1:1.4.0b1 | |
cb8f7e3c AG |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
b5522135 | 29 | This is the PostgreSQL MDB2 driver. |
cb8f7e3c AG |
30 | |
31 | In PEAR status of this package is: %{_status}. | |
32 | ||
0632e729 | 33 | %description -l pl.UTF-8 |
b5522135 | 34 | Sterownik PostgreSQL dla MDB2. |
cb8f7e3c AG |
35 | |
36 | Ta klasa ma w PEAR status: %{_status}. | |
37 | ||
09947149 AG |
38 | %package tests |
39 | Summary: Tests for PEAR::%{_pearname} | |
40 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
41 | Group: Development/Languages/PHP | |
efd6b7a5 | 42 | Requires: %{name} = %{version}-%{release} |
09947149 AG |
43 | AutoReq: no |
44 | AutoProv: no | |
45 | ||
46 | %description tests | |
47 | Tests for PEAR::%{_pearname}. | |
48 | ||
49 | %description tests -l pl.UTF-8 | |
50 | Testy dla PEAR::%{_pearname}. | |
51 | ||
cb8f7e3c AG |
52 | %prep |
53 | %pear_package_setup | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
58 | %pear_package_install | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc install.log | |
66 | %{php_pear_dir}/.registry/*.reg | |
67 | %{php_pear_dir}/MDB2/Driver/Datatype/pgsql.php | |
68 | %{php_pear_dir}/MDB2/Driver/Manager/pgsql.php | |
69 | %{php_pear_dir}/MDB2/Driver/Native/pgsql.php | |
70 | %{php_pear_dir}/MDB2/Driver/Reverse/pgsql.php | |
71 | %{php_pear_dir}/MDB2/Driver/pgsql.php | |
d9ecb5d9 | 72 | %{php_pear_dir}/MDB2/Driver/Function/pgsql.php |
875c2e2a | 73 | %{php_pear_dir}/data/MDB2_Driver_pgsql |
09947149 AG |
74 | |
75 | %files tests | |
76 | %defattr(644,root,root,755) | |
77 | %{php_pear_dir}/tests/%{_pearname} |