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