]> git.pld-linux.org Git - packages/php-pear-Net_DNS2.git/blame - php-pear-Net_DNS2.spec
up to 1.3.2
[packages/php-pear-Net_DNS2.git] / php-pear-Net_DNS2.spec
CommitLineData
2b8aed15
ER
1%define status stable
2%define pearname Net_DNS2
3%include /usr/lib/rpm/macros.php
4Summary: %{pearname} - PHP5 Resolver library used to communicate with a DNS server
5Name: php-pear-Net_DNS2
8bab8211 6Version: 1.3.2
2b8aed15
ER
7Release: 1
8License: BSD License
9Group: Development/Languages/PHP
10Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
8bab8211 11# Source0-md5: b44102f69fd2bfa841baf9075130c620
2b8aed15
ER
12URL: http://pear.php.net/package/Net_DNS2/
13BuildRequires: php-packagexml2cl
14BuildRequires: php-pear-PEAR
15BuildRequires: rpm-php-pearprov >= 4.4.2-11
16BuildRequires: rpmbuild(macros) >= 1.593
17Requires: php-pear
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Provides (roughly) the same functionality as Net_DNS, but using PHP5
23objects, exceptions for error handling, better sockets support.
24
25This release is (in most cases) 2x - 10x faster than Net_DNS, as well
26as includes more RR's (including DNSSEC RR's), and improved sockets
27and streams support.
28
29In PEAR status of this package is: %{status}.
30
31%prep
32%pear_package_setup
33
8bab8211 34mv docs/%{pearname}/LICENSE .
f3c01d06 35
2b8aed15
ER
36%build
37packagexml2cl package.xml > ChangeLog
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -d $RPM_BUILD_ROOT%{php_pear_dir}
42%pear_package_install
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
8bab8211 49%doc ChangeLog LICENSE install.log
2b8aed15
ER
50%{php_pear_dir}/.registry/*.reg
51%{php_pear_dir}/Net/DNS2.php
52%{php_pear_dir}/Net/DNS2
This page took 0.036763 seconds and 4 git commands to generate.