]>
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 | |
033653a9 | 8 | Summary(pl.UTF-8): %{_pearname} - sterownik mysql dla MDB2 |
3eb10aeb | 9 | Name: php-pear-%{_pearname} |
305af9a3 | 10 | Version: 1.2.2 |
0aecdc90 | 11 | Release: 2 |
3eb10aeb AG |
12 | License: BSD License |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
305af9a3 | 15 | # Source0-md5: c5862cd3c8ab0704aabc6edae77fac0a |
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 |
0aecdc90 | 20 | Requires: php(mysql) |
3eb10aeb | 21 | Requires: php-common >= 3:4.3.0 |
fc59c79d | 22 | Requires: php-pear |
b9e625ec | 23 | Requires: php-pear-MDB2 >= 1:2.0.3 |
fc59c79d | 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 | ||
033653a9 | 33 | %description -l pl.UTF-8 |
3eb10aeb AG |
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 |