]>
Commit | Line | Data |
---|---|---|
25de18da | 1 | Summary: PEAR - PHP Extension and Application Repository |
76e800da | 2 | Summary(pl.UTF-8): PEAR - rozszerzenie PHP i repozytorium aplikacji |
25de18da ER |
3 | Name: php-pear |
4 | Version: 1.0 | |
7fe1ecf4 | 5 | Release: 25 |
25de18da ER |
6 | Epoch: 4 |
7 | License: Public Domain | |
8 | Group: Development/Languages/PHP | |
25de18da | 9 | Obsoletes: php-pear-additional_classes |
109b2b0a | 10 | Obsoletes: php4-pear |
08a1e49d | 11 | Conflicts: php-pear-PEAR < 1:1.4.6-1.3 |
25de18da ER |
12 | BuildArch: noarch |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | PEAR - PHP Extension and Application Repository. | |
17 | ||
18 | Please note that this package provides only basic directory structure. | |
19 | If you want to use base PEAR classes (PEAR.php, PEAR/*.php), that come | |
20 | with PHP, please install appropriate php-pear-* (php-pear-PEAR, | |
21 | php-PEAR-Archive_Tar, etc) packages. | |
22 | ||
84a3ead2 | 23 | %description -l pl.UTF-8 |
25de18da ER |
24 | PEAR (PHP Extension and Application Repository) - rozszerzenie PHP i |
25 | repozytorium aplikacji. | |
26 | ||
84a3ead2 JR |
27 | Należy pamiętać, że ten pakiet dostarcza tylko podstawową strukturę |
28 | katalogów. Aby użyć podstawowych klas PEAR (PEAR.php PEAR/*.php), | |
29 | dostarczanych z PHP, należy zainstalować odpowiednie pakiety | |
25de18da ER |
30 | php-pear-* (php-pear-PEAR, php-pear-Archive_Tar, itp). |
31 | ||
32 | %prep | |
33 | ||
34 | %install | |
54b72825 | 35 | rm -rf $RPM_BUILD_ROOT |
d0c90bfc | 36 | install -d $RPM_BUILD_ROOT%{php_pear_dir}/{data,tests} |
e47124f8 ER |
37 | |
38 | while read dir; do | |
39 | install -d $RPM_BUILD_ROOT$dir | |
40 | done <<EOF | |
f2e5d717 | 41 | %{php_pear_dir}/.registry |
e47124f8 | 42 | %{php_pear_dir}/Archive |
8b36818a | 43 | %{php_pear_dir}/Auth |
7051e1d1 | 44 | %{php_pear_dir}/Cache |
e47124f8 | 45 | %{php_pear_dir}/Console |
d135aaea | 46 | %{php_pear_dir}/Contact |
7051e1d1 | 47 | %{php_pear_dir}/Crypt |
8b36818a | 48 | %{php_pear_dir}/DB/DataObject |
b67f38ff | 49 | %{php_pear_dir}/Event |
6a776838 | 50 | %{php_pear_dir}/File |
7fe1ecf4 | 51 | %{php_pear_dir}/Genealogy |
8b36818a | 52 | %{php_pear_dir}/Gtk |
baff6ba1 | 53 | %{php_pear_dir}/Gtk2 |
e47124f8 | 54 | %{php_pear_dir}/HTML |
a64748d8 | 55 | %{php_pear_dir}/HTML/QuickForm |
3314c2d4 ER |
56 | %{php_pear_dir}/HTML/Table |
57 | %{php_pear_dir}/HTML/Template | |
e47124f8 | 58 | %{php_pear_dir}/HTTP |
21dc0ab4 ER |
59 | %{php_pear_dir}/HTTP/WebDAV |
60 | %{php_pear_dir}/HTTP/WebDAV/Tools | |
f7198b38 | 61 | %{php_pear_dir}/I18N |
e47124f8 | 62 | %{php_pear_dir}/Image |
6c23b1d5 | 63 | %{php_pear_dir}/MP3 |
3314c2d4 | 64 | %{php_pear_dir}/Math |
e47124f8 ER |
65 | %{php_pear_dir}/Net |
66 | %{php_pear_dir}/Numbers | |
d135aaea | 67 | %{php_pear_dir}/PHP |
3314c2d4 | 68 | %{php_pear_dir}/Payment |
698a23ed | 69 | %{php_pear_dir}/QA |
e47124f8 ER |
70 | %{php_pear_dir}/Science |
71 | %{php_pear_dir}/Services | |
d7c960b2 | 72 | %{php_pear_dir}/Structures |
dff95dc3 | 73 | %{php_pear_dir}/Testing |
e47124f8 | 74 | %{php_pear_dir}/Text |
fb984fdb | 75 | %{php_pear_dir}/Text/Spell |
3438e6b2 | 76 | %{php_pear_dir}/URI |
c8e9976e AG |
77 | %{php_pear_dir}/Validate |
78 | %{php_pear_dir}/Validate/Finance | |
698a23ed AG |
79 | %{php_pear_dir}/VersionControl |
80 | %{php_pear_dir}/XML | |
e47124f8 | 81 | EOF |
54b72825 | 82 | |
08a1e49d ER |
83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
25de18da ER |
86 | %files |
87 | %defattr(644,root,root,755) | |
76f5729b | 88 | %{php_pear_dir} |