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