1 %include /usr/lib/rpm/macros.php
3 %define _pearname File_Util
6 Summary: %{_pearname} - Common file and directory utility functions
7 Name: php-pear-%{_pearname}
9 Release: 0.%{subver}.%{rel}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
13 # Source0-md5: 32e7f40a0eb1a550ca61372b2c3a3dfe
14 URL: http://pear.php.net/package/File_Util/
15 BuildRequires: php-pear-PEAR
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 Requires: php-pear-File >= 1.4.0-0.alpha1
19 Requires: php-pear-PEAR-core >= 1:1.7.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Common file and directory utility functions. Path handling, temp
25 dir/file, sorting of files, listDirs, isIncludable and more
27 In PEAR status of this package is: %{_status}.
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{php_pear_dir}
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
43 %{php_pear_dir}/.registry/*.reg
44 %{php_pear_dir}/File/Util.php