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