1 %include /usr/lib/rpm/macros.php
2 Summary: Unique interface to access different SQL databases
3 Summary(pl): Jednolity inferfejs dostêpu do baz danych SQL
8 License: dual licensed using BSD-Style and LGPL
9 # Source0-md5: 258037070b2203c4feb858c6d9f18446
10 Source0: http://phplens.com/lens/dl/%{name}%(echo %{version} | tr -d .).tgz
11 URL: http://php.weblogs.com/ADOdb
14 BuildRequires: rpm-php-pearprov
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define php_pear_dir /usr/share/pear
18 %define _noautoreq "pear(ADORecordSet_ibase) pear(ADORecordSet_empty) pear(ADOConnection) pear(ADOFetchObj) pear(ADOFieldObject) pear(ADORecordSet) pear(ADORecordSet_array) pear(ADORecordSet_empty)pear(ADORecordSet_ibase) pear(ADORecordset) pear(COM) pear(VARIANT)"
21 PHP's database access functions are not standardised. This creates a
22 need for a database class library to hide the differences between the
23 different databases (encapsulate the differences) so we can easily
26 Is currently support MySQL, Interbase, Oracle, Microsoft SQL Server,
27 Sybase, PostgreSQL, Foxpro, Access, ADO and ODBC.
30 Funkcje dostêpu do baz danych w PHP nie s± ustandaryzowane. To
31 powoduje i¿ potrzebna jest biblioteka dostarczaj±ca jednolite funkcje
32 ukrywaj±ca ró¿nice pomiêdzy ró¿nymi bazami dziêki czemu ³atwo mo¿na
35 Aktualnie wspiera MySQL, Interbase, Oracle, Microsoft SQL Server,
36 Sybase, PostgreSQL, Foxpro, Access, ADO i ODBC.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/drivers
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/datadict
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/tests
47 install *.php $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
48 install drivers/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/drivers
49 install datadict/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/datadict
50 install tests/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/tests
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc license.txt readme.txt
58 %doc old-changelog.htm readme.htm tips_portable_sql.htm tute.htm
59 %doc cute_icons_for_site
60 %{php_pear_dir}/%{name}