- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Net_IPv6.git] / php-pear-Net_IPv6.spec
1 %define         _status         stable
2 %define         _pearname       Net_IPv6
3 Summary:        %{_pearname} - check and validate IPv6 addresses
4 Summary(pl.UTF-8):      %{_pearname} - sprawdzanie poprawności adresów IPv6
5 Name:           php-pear-%{_pearname}
6 Version:        1.2.1
7 Release:        4
8 License:        PHP 2.02
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  eed1de2713af790e29f24e6141123451
12 Patch0:         Net_IPv6-static.patch
13 URL:            http://pear.php.net/package/Net_IPv6/
14 BuildRequires:  php-pear-PEAR
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.300
17 Requires:       php-pear
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The class allows you to:
23 - check if an address is an IPv6 address
24 - compress/uncompress IPv6 addresses
25 - check for an IPv4 compatible ending in an IPv6 address
26
27 In PEAR status of this package is: %{_status}.
28
29 %description -l pl.UTF-8
30 Ta klasa pozwala na:
31 - sprawdzenie czy dany adres jest adresem IPv6
32 - kompresję/dekompresję adresu IPv6
33 - sprawdzenie czy końcówka adresu IPv6 jest kompatybilna z IPv4
34
35 Ta klasa ma w PEAR status: %{_status}.
36
37 %prep
38 %pear_package_setup
39 cd ./%{php_pear_dir}
40 %patch0 -p1
41 cd -
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 %pear_package_install
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc install.log
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/Net/IPv6.php
This page took 0.109463 seconds and 4 git commands to generate.