1 %include /usr/lib/rpm/macros.php
3 %define _subclass Driver_sqlite
5 %define _pearname MDB2_Driver_sqlite
7 Summary: %{_pearname} - sqlite MDB2 driver
8 Summary(pl.UTF-8): %{_pearname} - sterownik sqlite dla MDB2
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: e36203a45c02b78a31a863bd304d1410
16 URL: http://pear.php.net/package/MDB2_Driver_sqlite/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 BuildRequires: rpmbuild(macros) >= 1.300
21 Requires: php-common >= 3:4.3.0
23 Requires: php-pear-MDB2 >= 1:2.0.1
24 Requires: php-pear-PEAR-core >= 1:1.0b1
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is the SQLite MDB2 driver.
31 In PEAR status of this package is: %{_status}.
33 %description -l pl.UTF-8
34 Sterownik SQLite dla MDB2.
36 Ta klasa ma w PEAR status: %{_status}.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{php_pear_dir}/.registry/*.reg
53 %{php_pear_dir}/MDB2/Driver/Datatype/sqlite.php
54 %{php_pear_dir}/MDB2/Driver/Manager/sqlite.php
55 %{php_pear_dir}/MDB2/Driver/Native/sqlite.php
56 %{php_pear_dir}/MDB2/Driver/Reverse/sqlite.php
57 %{php_pear_dir}/MDB2/Driver/Function/sqlite.php
58 %{php_pear_dir}/MDB2/Driver/sqlite.php