]>
Commit | Line | Data |
---|---|---|
bff0016d ER |
1 | %define status alpha |
2 | %define pearname File | |
a111b705 | 3 | %include /usr/lib/rpm/macros.php |
bff0016d ER |
4 | Summary: %{pearname} - Common file and directory routines |
5 | Summary(pl.UTF-8): %{pearname} - Podstawowe sposoby operacji na plikach i katalogach | |
6 | Name: php-pear-%{pearname} | |
acfd8f67 | 7 | Version: 1.4.0 |
bff0016d | 8 | Release: 1 |
d6f8ac19 | 9 | License: PHP |
a111b705 | 10 | Group: Development/Languages/PHP |
bff0016d ER |
11 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
12 | # Source0-md5: a14a44b2492deecc09dff0fef69c796a | |
b0497d2a | 13 | URL: http://pear.php.net/package/File/ |
a861992d ER |
14 | BuildRequires: php-packagexml2cl |
15 | BuildRequires: php-pear-PEAR >= 1:1.6.0 | |
0b528be6 | 16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
a861992d | 17 | BuildRequires: rpmbuild(macros) >= 1.573 |
443bd7f0 | 18 | Requires: php-common >= 3:4.2.0 |
25387e95 | 19 | Requires: php-pcre |
cb38c217 | 20 | Requires: php-pear |
a861992d ER |
21 | Requires: php-pear-File_CSV |
22 | Requires: php-pear-File_Util | |
23 | Requires: php-pear-PEAR-core >= 1:1.5.3 | |
2c6842dd | 24 | Obsoletes: php-pear-File-tests |
a111b705 PG |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Provides easy access to read/write to files along with some common | |
30 | routines to deal with paths. Also provides interface for handling CSV | |
31 | files. | |
32 | ||
bff0016d | 33 | In PEAR status of this package is: %{status}. |
15643863 | 34 | |
8ebe8a89 JR |
35 | %description -l pl.UTF-8 |
36 | Dostarcza prosty dostęp do zapisu/odczytu plików razem z prostymi | |
37 | metodami operacji na ścieżkach. Dostarcza także interfejsu do plików | |
a111b705 PG |
38 | CSV. |
39 | ||
bff0016d | 40 | Ta klasa ma w PEAR status: %{status}. |
15643863 | 41 | |
a111b705 | 42 | %prep |
0b528be6 | 43 | %pear_package_setup |
a111b705 | 44 | |
a861992d ER |
45 | %build |
46 | packagexml2cl package.xml > ChangeLog | |
47 | ||
a111b705 PG |
48 | %install |
49 | rm -rf $RPM_BUILD_ROOT | |
0b528be6 ER |
50 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
51 | %pear_package_install | |
a111b705 PG |
52 | |
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
a861992d | 58 | %doc ChangeLog install.log |
0b528be6 | 59 | %{php_pear_dir}/.registry/*.reg |
bff0016d | 60 | %{php_pear_dir}/File.php |