]>
Commit | Line | Data |
---|---|---|
25918e1c AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class MDB2 | |
3 | %define _subclass Driver_sqlite | |
88c129d6 | 4 | %define _status stable |
25918e1c AG |
5 | %define _pearname MDB2_Driver_sqlite |
6 | ||
7 | Summary: %{_pearname} - sqlite MDB2 driver | |
a356effe | 8 | Summary(pl.UTF-8): %{_pearname} - sterownik sqlite dla MDB2 |
25918e1c | 9 | Name: php-pear-%{_pearname} |
463b5eb7 | 10 | Version: 1.4.1 |
85b0a923 | 11 | Release: 1 |
25918e1c AG |
12 | License: BSD License |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
463b5eb7 | 15 | # Source0-md5: 0982341b3f2d1a4bced46cab0a2df91e |
25918e1c | 16 | URL: http://pear.php.net/package/MDB2_Driver_sqlite/ |
d31cd791 | 17 | BuildRequires: php-pear-PEAR |
25918e1c | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
dec846eb | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
d7475cf1 | 20 | Requires: php(sqlite) |
88c129d6 | 21 | Requires: php-common >= 3:4.3.0 |
25918e1c | 22 | Requires: php-pear |
85b0a923 ER |
23 | Requires: php-pear-MDB2 >= 1:2.3.0 |
24 | Requires: php-pear-PEAR-core >= 1:1.4.0b1 | |
25918e1c AG |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | This is the SQLite MDB2 driver. | |
30 | ||
31 | In PEAR status of this package is: %{_status}. | |
32 | ||
998d5e79 | 33 | %description -l pl.UTF-8 |
25918e1c AG |
34 | Sterownik SQLite dla MDB2. |
35 | ||
36 | Ta klasa ma w PEAR status: %{_status}. | |
37 | ||
463b5eb7 AG |
38 | %package tests |
39 | Summary: Tests for PEAR::%{_pearname} | |
40 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
41 | Group: Development/Languages/PHP | |
11fd7301 | 42 | Requires: %{name} = %{version}-%{release} |
463b5eb7 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 | ||
25918e1c 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/sqlite.php | |
68 | %{php_pear_dir}/MDB2/Driver/Manager/sqlite.php | |
69 | %{php_pear_dir}/MDB2/Driver/Native/sqlite.php | |
70 | %{php_pear_dir}/MDB2/Driver/Reverse/sqlite.php | |
88c129d6 | 71 | %{php_pear_dir}/MDB2/Driver/Function/sqlite.php |
25918e1c | 72 | %{php_pear_dir}/MDB2/Driver/sqlite.php |
85b0a923 | 73 | %{php_pear_dir}/data/MDB2_Driver_sqlite |
463b5eb7 AG |
74 | |
75 | %files tests | |
76 | %defattr(644,root,root,755) | |
77 | %{php_pear_dir}/tests/%{_pearname} |