]>
Commit | Line | Data |
---|---|---|
f12db908 ER |
1 | %define status beta |
2 | %define pearname Net_IDNA2 | |
3 | Summary: %{pearname} - Punycode encoding and decoding | |
4 | Name: php-pear-Net_IDNA2 | |
47eb62a6 AG |
5 | Version: 0.2.0 |
6 | Release: 1 | |
f12db908 ER |
7 | License: LGPL |
8 | Group: Development/Languages/PHP | |
a01fb490 | 9 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
47eb62a6 | 10 | # Source0-md5: 9da0e1dc77032cd8af59b50a2a02ca31 |
f12db908 ER |
11 | URL: http://pear.php.net/package/Net_IDNA2/ |
12 | BuildRequires: php-packagexml2cl | |
13 | BuildRequires: php-pear-PEAR | |
14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
15 | BuildRequires: rpmbuild(macros) >= 1.580 | |
16 | Requires: php-pear | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | This package helps you to encode and decode punycode strings easily. | |
22 | ||
23 | In PEAR status of this package is: %{status}. | |
24 | ||
25 | %prep | |
26 | %pear_package_setup | |
27 | ||
28 | %build | |
29 | packagexml2cl package.xml > ChangeLog | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
34 | %pear_package_install | |
35 | ||
f12db908 ER |
36 | %clean |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc ChangeLog install.log | |
42 | %{php_pear_dir}/.registry/*.reg | |
43 | %{php_pear_dir}/Net/IDNA2.php | |
41f645dd | 44 | %{php_pear_dir}/Net/IDNA2 |