]> git.pld-linux.org Git - packages/php-adodb.git/blob - php-adodb.spec
- version: 2.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:        2.20
5 Release:        1
6 Group:          Libraries
7 License:        dual licensed using BSD-Style and LGPL
8 Source0:        http://phplens.com/lens/dl/%{name}%(echo %{version} | sed -e 's#\.##').tgz
9 URL:            http://php.weblogs.com/ADODB/
10 Requires:       php-common
11 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _phpsharedir    %{_datadir}/php
15
16 %description
17 PHP's database access functions are not standardised. This creates a
18 need for a database class library to hide the differences between the
19 different databases (encapsulate the differences) so we can easily
20 switch databases.
21
22 Is currently support MySQL, Interbase, Oracle, Microsoft SQL Server,
23 Sybase, PostgreSQL, Foxpro, Access, ADO and ODBC.
24
25 %description -l pl
26 Funkcje dostêpu do baz danych w PHP nie s± ustandaryzowane. To
27 powoduje i¿ potrzebna jest biblioteka dostarczaj±ca jednolite funkcje
28 ukrywaj±ca ró¿nice pomiêdzy ró¿nymi bazami dziêki czemu ³atwo mo¿na
29 zmieniaæ bazy.
30
31 Aktualnie wspiera MySQL, Interbase, Oracle, Microsoft SQL Server,
32 Sybase, PostgreSQL, Foxpro, Access, ADO i ODBC.
33
34 %prep
35 %setup  -q -n %{name}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_phpsharedir}/%{name}/drivers
40
41 install *.php $RPM_BUILD_ROOT%{_phpsharedir}/%{name}
42 install drivers/* $RPM_BUILD_ROOT%{_phpsharedir}/%{name}/drivers
43
44 #license.txt readme.txt readme.htm tips_portable_sql.htm tute.htm
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc license.txt readme.txt readme.htm tips_portable_sql.htm tute.htm
52 #%doc *.gz
53 %{_phpsharedir}/%{name}
This page took 0.03593 seconds and 4 git commands to generate.