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