]>
Commit | Line | Data |
---|---|---|
f39e0ef6 ER |
1 | # NOTE |
2 | # - mhash used only in RR/TSIG, so we mark it optional | |
3 | # | |
bedb2ad3 | 4 | %define _status stable |
be8fc346 | 5 | %define _pearname Net_DNS |
18f5b53b | 6 | Summary: %{_pearname} - resolver library to communicate with a DNS server |
dae5049c | 7 | Summary(pl.UTF-8): %{_pearname} - biblioteka resolvera używana do komunikacji z serwerem DNS |
d390fe97 | 8 | Name: php-pear-%{_pearname} |
5e850da4 | 9 | Version: 1.0.7 |
be8fc346 | 10 | Release: 2 |
ea64bdb5 | 11 | License: LGPL |
d390fe97 | 12 | Group: Development/Languages/PHP |
bedb2ad3 | 13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
5e850da4 | 14 | # Source0-md5: de0b1d5b6ca1edeaffa0586ce7ceed0d |
b6eaeb23 | 15 | Patch0: %{name}-missing-vars.patch |
ddd683ce | 16 | URL: http://pear.php.net/package/Net_DNS/ |
5bc1643a | 17 | BuildRequires: php-pear-PEAR |
a3b977a8 | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
9e1c1d7f | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
be8fc346 | 20 | Requires: php(core) >= 4.2 |
d390fe97 PG |
21 | Requires: php-pear |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | A resolver library used to communicate with a name server to perform | |
27 | DNS queries, zone transfers, dynamic DNS updates, etc. Creates an | |
28 | object hierarchy from a DNS server's response, which allows you to | |
29 | view all of the information given by the DNS server. It bypasses the | |
30 | system's resolver library and communicates directly with the server. | |
31 | ||
a6cb61df | 32 | In PEAR status of this package is: %{_status}. |
275097b5 | 33 | |
6387039b JR |
34 | %description -l pl.UTF-8 |
35 | Biblioteka resolvera jest używana w komunikacji z serwerami nazw do | |
36 | przygotowania zapytań DNS, transferów stref, aktualizacji dynamicznego | |
37 | DNS, itd. Tworzy hierarchię obiektów z odpowiedzi serwera DNS, która | |
38 | pozwala zobaczyć wszystkie informacje dawane przez serwer DNS. To | |
39 | omija systemowy resolver i komunikuje się bezpośrednio z serwerem. | |
d390fe97 | 40 | |
275097b5 PG |
41 | Ta klasa ma w PEAR status: %{_status}. |
42 | ||
d390fe97 | 43 | %prep |
a3b977a8 | 44 | %pear_package_setup |
9466f8b5 | 45 | echo '%{name} can optionally use PHP extension "mhash"' >> install.log |
d390fe97 | 46 | |
adc30b56 JR |
47 | %patch0 -p1 |
48 | ||
d390fe97 PG |
49 | %install |
50 | rm -rf $RPM_BUILD_ROOT | |
a3b977a8 ER |
51 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
52 | %pear_package_install | |
d390fe97 PG |
53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
a3b977a8 ER |
59 | %doc install.log |
60 | %{php_pear_dir}/.registry/*.reg | |
be8fc346 ER |
61 | %{php_pear_dir}/Net/*.php |
62 | %{php_pear_dir}/Net/DNS |