]>
Commit | Line | Data |
---|---|---|
3eb10aeb AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class MDB2 | |
3 | %define _subclass Driver_mysql | |
fc59c79d | 4 | %define _status stable |
3eb10aeb AG |
5 | %define _pearname MDB2_Driver_mysql |
6 | ||
7 | Summary: %{_pearname} - mysql MDB2 driver | |
8 | Summary(pl): %{_pearname} - sterownik mysql dla MDB2 | |
9 | Name: php-pear-%{_pearname} | |
5f8b2b17 | 10 | Version: 1.0.1 |
3eb10aeb AG |
11 | Release: 1 |
12 | License: BSD License | |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
5f8b2b17 | 15 | # Source0-md5: 517bee19596ffe3d68f6a7e07167e760 |
3eb10aeb | 16 | URL: http://pear.php.net/package/MDB2_Driver_mysql/ |
ddab16eb | 17 | BuildRequires: php-pear-PEAR |
3eb10aeb | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
d3b8c784 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
3eb10aeb | 20 | Requires: php-common >= 3:4.3.0 |
3eb10aeb | 21 | Requires: php-mysql |
fc59c79d ER |
22 | Requires: php-pear |
23 | Requires: php-pear-MDB2 >= 1:2.0.0 | |
24 | Requires: php-pear-PEAR-core >= 1:1.0b1 | |
3eb10aeb AG |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | This is the MySQL MDB2 driver. | |
30 | ||
31 | In PEAR status of this package is: %{_status}. | |
32 | ||
33 | %description -l pl | |
34 | Sterownik MySQL dla MDB2. | |
35 | ||
36 | Ta klasa ma w PEAR status: %{_status}. | |
37 | ||
38 | %prep | |
39 | %pear_package_setup | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
44 | %pear_package_install | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc install.log | |
52 | %{php_pear_dir}/.registry/*.reg | |
53 | %{php_pear_dir}/MDB2/Driver/Datatype/mysql.php | |
54 | %{php_pear_dir}/MDB2/Driver/Manager/mysql.php | |
55 | %{php_pear_dir}/MDB2/Driver/Native/mysql.php | |
56 | %{php_pear_dir}/MDB2/Driver/Reverse/mysql.php | |
57 | %{php_pear_dir}/MDB2/Driver/mysql.php | |
fc59c79d | 58 | %{php_pear_dir}/MDB2/Driver/Function/mysql.php |