]> git.pld-linux.org Git - packages/php-adodb.git/blob - php-adodb.spec
- updated to 4.20
[packages/php-adodb.git] / php-adodb.spec
1 Summary:        Unique interface to access different SQL databases
2 Summary(pl):    Jednolity inferfejs dostêpu do baz danych SQL
3 Name:           adodb
4 Version:        4.20
5 %define ver     %(echo %{version} | tr -d .)
6 Release:        1
7 Group:          Libraries
8 License:        dual licensed using BSD-Style and LGPL
9 #Source0Download: http://php.weblogs.com/ADOdb#downloads
10 Source0:        http://phplens.com/lens/dl/%{name}%{ver}.tgz
11 # Source0-md5:  716c9f90938190f2ba98b0a836be4ea3
12 URL:            http://php.weblogs.com/ADOdb
13 Requires:       php-pear >= 4.0.5
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         php_pear_dir    %{_datadir}/pear
18
19 %description
20 PHP's database access functions are not standardised. 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
23 switch databases.
24
25 Is currently support MySQL, Interbase, Oracle, Microsoft SQL Server,
26 Sybase, PostgreSQL, Foxpro, Access, ADO and ODBC.
27
28 %description -l pl
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
32 zmieniaæ bazy.
33
34 Aktualnie wspiera MySQL, Interbase, Oracle, Microsoft SQL Server,
35 Sybase, PostgreSQL, Foxpro, Access, ADO i ODBC.
36
37 %prep
38 %setup -q -n %{name}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/{drivers,datadict,tests,perf,lang}
43
44 install *.php      $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
45 install drivers/*  $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/drivers
46 install datadict/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/datadict
47 install tests/*    $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/tests
48 install lang/*     $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/lang
49 install perf/*     $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/perf
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc *.txt *.htm cute_icons_for_site
57 %{php_pear_dir}/%{name}
This page took 0.041494 seconds and 4 git commands to generate.