]>
Commit | Line | Data |
---|---|---|
bff0016d ER |
1 | %define status alpha |
2 | %define pearname File | |
bff0016d ER |
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} | |
719a03b7 ER |
6 | Version: 1.4.1 |
7 | Release: 1 | |
d6f8ac19 | 8 | License: PHP |
a111b705 | 9 | Group: Development/Languages/PHP |
bff0016d | 10 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
719a03b7 | 11 | # Source0-md5: 3cf96cff0ae67c495dbc6714b0cb032a |
b0497d2a | 12 | URL: http://pear.php.net/package/File/ |
a861992d ER |
13 | BuildRequires: php-packagexml2cl |
14 | BuildRequires: php-pear-PEAR >= 1:1.6.0 | |
0b528be6 | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
a861992d | 16 | BuildRequires: rpmbuild(macros) >= 1.573 |
ee175f70 | 17 | Requires: php(core) >= 4.2.0 |
859e0c9f | 18 | Requires: php(pcre) |
cb38c217 | 19 | Requires: php-pear |
a861992d ER |
20 | Requires: php-pear-File_CSV |
21 | Requires: php-pear-File_Util | |
22 | Requires: php-pear-PEAR-core >= 1:1.5.3 | |
2c6842dd | 23 | Obsoletes: php-pear-File-tests |
a111b705 PG |
24 | BuildArch: noarch |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
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 | |
30 | files. | |
31 | ||
bff0016d | 32 | In PEAR status of this package is: %{status}. |
15643863 | 33 | |
8ebe8a89 JR |
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 | |
a111b705 PG |
37 | CSV. |
38 | ||
bff0016d | 39 | Ta klasa ma w PEAR status: %{status}. |
15643863 | 40 | |
a111b705 | 41 | %prep |
0b528be6 | 42 | %pear_package_setup |
a111b705 | 43 | |
a861992d ER |
44 | %build |
45 | packagexml2cl package.xml > ChangeLog | |
46 | ||
a111b705 PG |
47 | %install |
48 | rm -rf $RPM_BUILD_ROOT | |
0b528be6 ER |
49 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
50 | %pear_package_install | |
a111b705 PG |
51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
a861992d | 57 | %doc ChangeLog install.log |
0b528be6 | 58 | %{php_pear_dir}/.registry/*.reg |
bff0016d | 59 | %{php_pear_dir}/File.php |