]>
Commit | Line | Data |
---|---|---|
0bb872a8 ER |
1 | %define status alpha |
2 | %define pearname File_Util | |
0bb872a8 ER |
3 | Summary: %{pearname} - Common file and directory utility functions |
4 | Name: php-pear-%{pearname} | |
1689a49d | 5 | Version: 1.0.0 |
2e1407c4 | 6 | Release: 2 |
1689a49d ER |
7 | License: PHP |
8 | Group: Development/Languages/PHP | |
0bb872a8 ER |
9 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
10 | # Source0-md5: 3861d4bf90f2add2572ed1b6a602c655 | |
1689a49d | 11 | URL: http://pear.php.net/package/File_Util/ |
0bb872a8 | 12 | BuildRequires: php-pear-PEAR >= 1:1.7.0 |
1689a49d | 13 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
0bb872a8 | 14 | BuildRequires: rpmbuild(macros) >= 1.580 |
2e1407c4 | 15 | Requires: php(pcre) |
1689a49d ER |
16 | Requires: php-pear |
17 | Requires: php-pear-File >= 1.4.0-0.alpha1 | |
18 | Requires: php-pear-PEAR-core >= 1:1.7.0 | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Common file and directory utility functions. Path handling, temp | |
24 | dir/file, sorting of files, listDirs, isIncludable and more | |
25 | ||
0bb872a8 | 26 | In PEAR status of this package is: %{status}. |
1689a49d ER |
27 | |
28 | %prep | |
29 | %pear_package_setup | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
34 | %pear_package_install | |
35 | ||
1689a49d ER |
36 | %clean |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc install.log | |
42 | %{php_pear_dir}/.registry/*.reg | |
43 | %{php_pear_dir}/File/Util.php |