3 Summary: %{pearname} - Common file and directory routines
4 Summary(pl.UTF-8): %{pearname} - Podstawowe sposoby operacji na plikach i katalogach
5 Name: php-pear-%{pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5: 3cf96cff0ae67c495dbc6714b0cb032a
12 URL: http://pear.php.net/package/File/
13 BuildRequires: php-packagexml2cl
14 BuildRequires: php-pear-PEAR >= 1:1.6.0
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.573
17 Requires: php(core) >= 4.2.0
20 Requires: php-pear-File_CSV
21 Requires: php-pear-File_Util
22 Requires: php-pear-PEAR-core >= 1:1.5.3
23 Obsoletes: php-pear-File-tests
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Provides easy access to read/write to files along with some common
29 routines to deal with paths. Also provides interface for handling CSV
32 In PEAR status of this package is: %{status}.
34 %description -l pl.UTF-8
35 Dostarcza prosty dostęp do zapisu/odczytu plików razem z prostymi
36 metodami operacji na ścieżkach. Dostarcza także interfejsu do plików
39 Ta klasa ma w PEAR status: %{status}.
45 packagexml2cl package.xml > ChangeLog
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{php_pear_dir}
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc ChangeLog install.log
58 %{php_pear_dir}/.registry/*.reg
59 %{php_pear_dir}/File.php