]> git.pld-linux.org Git - packages/php-adodb.git/blob - php-adodb.spec
- php-pear epoch
[packages/php-adodb.git] / php-adodb.spec
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
4 Name:           adodb
5 Version:        4.67
6 Release:        1
7 License:        dual licensed using BSD-Style and LGPL
8 Group:          Libraries
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
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 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
23 switch databases.
24
25 It currently supports 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}/{contrib,drivers,datadict,tests,perf,lang,session,xsl}
43
44 cp -af *.php *.dtd pear/Auth contrib drivers datadict tests lang perf session xsl \
45         $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc *.txt docs/ cute_icons_for_site pear/*.txt
53 %{php_pear_dir}/%{name}
This page took 0.048444 seconds and 4 git commands to generate.