Summary: Unique interface to access different SQL databases Summary(pl): Jednolity inferfejs dostępu do baz danych SQL Name: adodb Version: 4.21 %define ver %(echo %{version} | tr -d .) Release: 1 Group: Libraries License: dual licensed using BSD-Style and LGPL #Source0Download: http://php.weblogs.com/ADOdb#downloads Source0: http://phplens.com/lens/dl/%{name}%{ver}.tgz # Source0-md5: ab15ead2b90b1f1c74cee5b6fc643b34 URL: http://php.weblogs.com/ADOdb Requires: php-pear >= 4.0.5 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define php_pear_dir %{_datadir}/pear %description PHP's database access functions are not standardised. This creates a need for a database class library to hide the differences between the different databases (encapsulate the differences) so we can easily switch databases. Is currently support MySQL, Interbase, Oracle, Microsoft SQL Server, Sybase, PostgreSQL, Foxpro, Access, ADO and ODBC. %description -l pl Funkcje dostępu do baz danych w PHP nie są ustandaryzowane. To powoduje iż potrzebna jest biblioteka dostarczająca jednolite funkcje ukrywająca różnice pomiędzy różnymi bazami dzięki czemu łatwo można zmieniać bazy. Aktualnie wspiera MySQL, Interbase, Oracle, Microsoft SQL Server, Sybase, PostgreSQL, Foxpro, Access, ADO i ODBC. %prep %setup -q -n %{name} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/{drivers,datadict,tests,perf,lang} install *.php $RPM_BUILD_ROOT%{php_pear_dir}/%{name} install drivers/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/drivers install datadict/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/datadict install tests/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/tests install lang/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/lang install perf/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/perf %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.txt *.htm cute_icons_for_site %{php_pear_dir}/%{name}