]>
Commit | Line | Data |
---|---|---|
1 | Summary: PEAR - PHP Extension and Application Repository | |
2 | Summary(pl.UTF-8): PEAR - rozszerzenie PHP i repozytorium aplikacji | |
3 | Name: php-pear | |
4 | Version: 1.0 | |
5 | Release: 15 | |
6 | Epoch: 4 | |
7 | License: Public Domain | |
8 | Group: Development/Languages/PHP | |
9 | Obsoletes: php-pear-additional_classes | |
10 | Obsoletes: php4-pear | |
11 | Conflicts: php-pear-PEAR < 1:1.4.6-1.3 | |
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 | ||
23 | %description -l pl.UTF-8 | |
24 | PEAR (PHP Extension and Application Repository) - rozszerzenie PHP i | |
25 | repozytorium aplikacji. | |
26 | ||
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 | |
30 | php-pear-* (php-pear-PEAR, php-pear-Archive_Tar, itp). | |
31 | ||
32 | %prep | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{php_pear_dir}/{data,tests} | |
37 | ||
38 | while read dir; do | |
39 | install -d $RPM_BUILD_ROOT$dir | |
40 | done <<EOF | |
41 | %{php_pear_dir}/.registry | |
42 | %{php_pear_dir}/Archive | |
43 | %{php_pear_dir}/Auth | |
44 | %{php_pear_dir}/Console | |
45 | %{php_pear_dir}/Crypt | |
46 | %{php_pear_dir}/Contact | |
47 | %{php_pear_dir}/DB/DataObject | |
48 | %{php_pear_dir}/Gtk | |
49 | %{php_pear_dir}/Gtk2 | |
50 | %{php_pear_dir}/HTML | |
51 | %{php_pear_dir}/HTML/Template | |
52 | %{php_pear_dir}/HTML/Table | |
53 | %{php_pear_dir}/HTML/QuickForm | |
54 | %{php_pear_dir}/HTTP | |
55 | %{php_pear_dir}/HTTP/WebDAV | |
56 | %{php_pear_dir}/HTTP/WebDAV/Tools | |
57 | %{php_pear_dir}/Image | |
58 | %{php_pear_dir}/Math | |
59 | %{php_pear_dir}/MP3 | |
60 | %{php_pear_dir}/Net | |
61 | %{php_pear_dir}/Numbers | |
62 | %{php_pear_dir}/Payment | |
63 | %{php_pear_dir}/PHP | |
64 | %{php_pear_dir}/Science | |
65 | %{php_pear_dir}/Services | |
66 | %{php_pear_dir}/Structures | |
67 | %{php_pear_dir}/Text | |
68 | %{php_pear_dir}/XML | |
69 | %{php_pear_dir}/Validate | |
70 | %{php_pear_dir}/Validate/Finance | |
71 | EOF | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %{php_pear_dir} |