%include /usr/lib/rpm/macros.php %define _class MDB2 %define _subclass Driver_sqlite %define _status stable %define _pearname MDB2_Driver_sqlite Summary: %{_pearname} - sqlite MDB2 driver Summary(pl.UTF-8): %{_pearname} - sterownik sqlite dla MDB2 Name: php-pear-%{_pearname} Version: 1.3.0 Release: 1 License: BSD License Group: Development/Languages/PHP Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz # Source0-md5: 3bf6b28817482409b80b8c232d539b2d URL: http://pear.php.net/package/MDB2_Driver_sqlite/ BuildRequires: php-pear-PEAR BuildRequires: rpm-php-pearprov >= 4.4.2-11 BuildRequires: rpmbuild(macros) >= 1.300 Requires: php(sqlite) Requires: php-common >= 3:4.3.0 Requires: php-pear Requires: php-pear-MDB2 >= 1:2.3.0 Requires: php-pear-PEAR-core >= 1:1.4.0b1 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is the SQLite MDB2 driver. In PEAR status of this package is: %{_status}. %description -l pl.UTF-8 Sterownik SQLite dla MDB2. Ta klasa ma w PEAR status: %{_status}. %prep %pear_package_setup %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{php_pear_dir} %pear_package_install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc install.log %{php_pear_dir}/.registry/*.reg %{php_pear_dir}/MDB2/Driver/Datatype/sqlite.php %{php_pear_dir}/MDB2/Driver/Manager/sqlite.php %{php_pear_dir}/MDB2/Driver/Native/sqlite.php %{php_pear_dir}/MDB2/Driver/Reverse/sqlite.php %{php_pear_dir}/MDB2/Driver/Function/sqlite.php %{php_pear_dir}/MDB2/Driver/sqlite.php %{php_pear_dir}/data/MDB2_Driver_sqlite