]> git.pld-linux.org Git - packages/php-adodb.git/blob - php-adodb.spec
- mass commit: cosmetics (removed trailing white spaces)
[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:        3.70
5 %define ver     %(echo %{version} | tr -d .)
6 Release:        1
7 Group:          Libraries
8 License:        dual licensed using BSD-Style and LGPL
9 Source0:        http://phplens.com/lens/dl/%{name}%{ver}.tgz
10 # Source0-md5:  5a9bd3ee0986aff34fba3d605fd7af0a
11 URL:            http://php.weblogs.com/ADOdb
12 Requires:       php
13 Requires:       php-pear
14 BuildRequires:  rpm-php-pearprov
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/datadict
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/tests
45
46 install *.php      $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
47 install drivers/*  $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/drivers
48 install datadict/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/datadict
49 install tests/*    $RPM_BUILD_ROOT%{php_pear_dir}/%{name}/tests
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc license.txt readme.txt
57 %doc old-changelog.htm readme.htm tips_portable_sql.htm tute.htm
58 %doc cute_icons_for_site
59 %{php_pear_dir}/%{name}
This page took 0.035975 seconds and 4 git commands to generate.