]> git.pld-linux.org Git - packages/php-pear.git/blob - php-pear.spec
- Event dir; release 24
[packages/php-pear.git] / php-pear.spec
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:        24
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}/Cache
45 %{php_pear_dir}/Console
46 %{php_pear_dir}/Contact
47 %{php_pear_dir}/Crypt
48 %{php_pear_dir}/DB/DataObject
49 %{php_pear_dir}/Event
50 %{php_pear_dir}/File
51 %{php_pear_dir}/Gtk
52 %{php_pear_dir}/Gtk2
53 %{php_pear_dir}/HTML
54 %{php_pear_dir}/HTML/QuickForm
55 %{php_pear_dir}/HTML/Table
56 %{php_pear_dir}/HTML/Template
57 %{php_pear_dir}/HTTP
58 %{php_pear_dir}/HTTP/WebDAV
59 %{php_pear_dir}/HTTP/WebDAV/Tools
60 %{php_pear_dir}/I18N
61 %{php_pear_dir}/Image
62 %{php_pear_dir}/MP3
63 %{php_pear_dir}/Math
64 %{php_pear_dir}/Net
65 %{php_pear_dir}/Numbers
66 %{php_pear_dir}/PHP
67 %{php_pear_dir}/Payment
68 %{php_pear_dir}/QA
69 %{php_pear_dir}/Science
70 %{php_pear_dir}/Services
71 %{php_pear_dir}/Structures
72 %{php_pear_dir}/Testing
73 %{php_pear_dir}/Text
74 %{php_pear_dir}/Text/Spell
75 %{php_pear_dir}/URI
76 %{php_pear_dir}/Validate
77 %{php_pear_dir}/Validate/Finance
78 %{php_pear_dir}/VersionControl
79 %{php_pear_dir}/XML
80 EOF
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %{php_pear_dir}
This page took 0.069697 seconds and 4 git commands to generate.