1 %define ver %(echo %{version} | tr -d .)
2 Summary: Unique interface to access different SQL databases
3 Summary(pl): Jednolity inferfejs dostêpu do baz danych SQL
7 License: dual licensed using BSD-Style and LGPL
9 # Source0Download: http://php.weblogs.com/ADOdb#downloads
10 Source0: http://dl.sourceforge.net/adodb/%{name}%{ver}.tgz
11 # Source0-md5: 679d4fac06126707f4bf636508e9ec8a
12 URL: http://adodb.sourceforge.net/
13 Requires: php-pear >= 4:4.0.5
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define php_pear_dir %{_datadir}/pear
20 PHP's database access functions are not standardized. This creates a
21 need for a database class library to hide the differences between the
22 different databases (encapsulate the differences) so we can easily
25 It currently supports MySQL, Interbase, Oracle, Microsoft SQL Server,
26 Sybase, PostgreSQL, Foxpro, Access, ADO and ODBC.
29 Funkcje dostêpu do baz danych w PHP nie s± ustandaryzowane. To
30 powoduje i¿ potrzebna jest biblioteka dostarczaj±ca jednolite funkcje
31 ukrywaj±ca ró¿nice pomiêdzy ró¿nymi bazami dziêki czemu ³atwo mo¿na
34 Aktualnie wspiera MySQL, Interbase, Oracle, Microsoft SQL Server,
35 Sybase, PostgreSQL, Foxpro, Access, ADO i ODBC.
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/{contrib,drivers,datadict,tests,perf,lang,session,xsl}
44 cp -af *.php *.dtd pear/Auth contrib drivers datadict tests lang perf session xsl \
45 $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc *.txt docs/ cute_icons_for_site pear/*.txt
53 %{php_pear_dir}/%{name}