]>
Commit | Line | Data |
---|---|---|
df632257 | 1 | %include /usr/lib/rpm/macros.php |
779da14c | 2 | %define _class Net |
3 | %define _subclass IPv6 | |
df632257 AG |
4 | %define _status stable |
5 | %define _pearname %{_class}_%{_subclass} | |
6 | ||
779da14c | 7 | Summary: %{_pearname} - check and validate IPv6 addresses |
0e5a965c | 8 | Summary(pl.UTF-8): %{_pearname} - sprawdzanie poprawności adresów IPv6 |
df632257 | 9 | Name: php-pear-%{_pearname} |
8ded5b1c | 10 | Version: 1.0.5 |
d318d743 | 11 | Release: 2 |
df632257 AG |
12 | License: PHP 2.02 |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
8ded5b1c | 15 | # Source0-md5: 5a16fd9ae92ea0e20cd74c31103130b1 |
df632257 | 16 | URL: http://pear.php.net/package/Net_IPv6/ |
bfb93a20 | 17 | BuildRequires: php-pear-PEAR |
9eff43ff | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
31cc0ae0 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
df632257 AG |
20 | Requires: php-pear |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | The class allows you to: | |
aed74e66 | 26 | - check if an address is an IPv6 address |
df632257 | 27 | - compress/uncompress IPv6 addresses |
1cd167fb | 28 | - check for an IPv4 compatible ending in an IPv6 address |
df632257 | 29 | |
c0fe5236 | 30 | In PEAR status of this package is: %{_status}. |
df632257 | 31 | |
0e5a965c | 32 | %description -l pl.UTF-8 |
df632257 AG |
33 | Ta klasa pozwala na: |
34 | - sprawdzenie czy dany adres jest adresem IPv6 | |
0e5a965c JR |
35 | - kompresję/dekompresję adresu IPv6 |
36 | - sprawdzenie czy końcówka adresu IPv6 jest kompatybilna z IPv4 | |
df632257 AG |
37 | |
38 | Ta klasa ma w PEAR status: %{_status}. | |
39 | ||
40 | %prep | |
9eff43ff | 41 | %pear_package_setup |
df632257 AG |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
9eff43ff ER |
45 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
46 | %pear_package_install | |
df632257 AG |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
9eff43ff ER |
53 | %doc install.log |
54 | %{php_pear_dir}/.registry/*.reg | |
df632257 | 55 | %{php_pear_dir}/%{_class}/*.php |