]>
Commit | Line | Data |
---|---|---|
8be698ba | 1 | %define _status stable |
0ed19414 ER |
2 | %define _pearname DB_ado |
3 | %include /usr/lib/rpm/macros.php | |
8be698ba | 4 | Summary: %{_pearname} - DB driver which use MS ADODB library |
b2aeafca | 5 | Summary(pl.UTF-8): %{_pearname} - sterownik DB używający biblioteki MS ADODB |
8be698ba | 6 | Name: php-pear-%{_pearname} |
0ed19414 ER |
7 | Version: 1.3.1 |
8 | Release: 1 | |
8be698ba AG |
9 | License: LGPL |
10 | Group: Development/Languages/PHP | |
8be698ba | 11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
0ed19414 | 12 | # Source0-md5: 49c0bcdcc75d2396336c876aff01220b |
3015dec8 | 13 | URL: http://pear.php.net/package/DB_ado/ |
1409ac72 | 14 | BuildRequires: php-pear-PEAR |
b800eb92 | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
1695c70c | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
0ed19414 | 17 | Requires: php-com |
05e4352a | 18 | Requires: php-common >= 3:4.1 |
0ed19414 | 19 | Requires: php-pear |
05e4352a | 20 | Requires: php-pear-DB |
8be698ba | 21 | BuildArch: noarch |
1b414651 | 22 | ExclusiveOS: Windows |
8be698ba AG |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | DB_ado is a database independent query interface definition for | |
27 | Microsoft's ADODB library using PHP's COM extension. This class allows | |
28 | you to connect to different data sources like MS Access, MS SQL | |
29 | Server, Oracle and other RDBMS on a Win32 operating system. Moreover | |
30 | the possibility exists to use MS Excel spreadsheets, XML, text files | |
31 | and other not relational data as data source. | |
32 | ||
24a86252 | 33 | In PEAR status of this package is: %{_status}. |
a8531139 | 34 | |
51349f37 JR |
35 | %description -l pl.UTF-8 |
36 | DB_ado to definicja niezależnego od bazy interfejsu zapytań dla | |
37 | biblioteki Microsoft ADODB, używająca rozszerzenia PHP COM. Klasa ta | |
38 | pozwala na łączenie się z różnymi źródłami danych, jak MS Access, MS | |
a8531139 | 39 | SQL Server, Oracle czy inne RDBMS na systemie operacyjnym Win32. Co |
51349f37 JR |
40 | więcej, istnieje możliwość używania arkuszy MS Excela, XML-a, plików |
41 | tekstowych i innych nierelacyjnych danych jako źródeł danych. | |
a8531139 JB |
42 | |
43 | Ta klasa ma w PEAR status: %{_status}. | |
8be698ba AG |
44 | |
45 | %prep | |
b800eb92 | 46 | %pear_package_setup |
8be698ba AG |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
b800eb92 ER |
50 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
51 | %pear_package_install | |
8be698ba | 52 | |
0ed19414 ER |
53 | rm $RPM_BUILD_ROOT%{php_pear_dir}/DB/test/ado_test.php |
54 | ||
8be698ba AG |
55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
b800eb92 ER |
60 | %doc install.log |
61 | %{php_pear_dir}/.registry/*.reg | |
0ed19414 ER |
62 | %{php_pear_dir}/DB/ado.php |
63 | %{php_pear_dir}/DB/ado_constants.php |