]> git.pld-linux.org Git - packages/php-pear.git/blob - php-pear.spec
- simplify files
[packages/php-pear.git] / php-pear.spec
1 Summary:        PEAR - PHP Extension and Application Repository
2 Summary(pl):    PEAR - rozszerzenie PHP i repozytorium aplikacji
3 Name:           php-pear
4 Version:        1.0
5 Release:        12.4
6 Epoch:          4
7 License:        Public Domain
8 Group:          Development/Languages/PHP
9 Obsoletes:      php-pear-additional_classes
10 Obsoletes:      php4-pear
11 Provides:       php4-pear = %{epoch}:%{version}-%{release}
12 Conflicts:      php-pear-PEAR < 1:1.4.8-0.6
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 PEAR - PHP Extension and Application Repository.
18
19 Please note that this package provides only basic directory structure.
20 If you want to use base PEAR classes (PEAR.php, PEAR/*.php), that come
21 with PHP, please install appropriate php-pear-* (php-pear-PEAR,
22 php-PEAR-Archive_Tar, etc) packages.
23
24 %description -l pl
25 PEAR (PHP Extension and Application Repository) - rozszerzenie PHP i
26 repozytorium aplikacji.
27
28 Nale¿y pamiêtaæ, ¿e ten pakiet dostarcza tylko podstawow± strukturê
29 katalogów. Aby u¿yæ podstawowych klas PEAR (PEAR.php PEAR/*.php),
30 dostarczanych z PHP, nale¿y zainstalowaæ odpowiednie pakiety
31 php-pear-* (php-pear-PEAR, php-pear-Archive_Tar, itp).
32
33 %prep
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{php_pear_dir}/{data,tests}
38
39 while read dir; do
40         install -d $RPM_BUILD_ROOT$dir
41 done <<EOF
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}/HTML
50 %{php_pear_dir}/HTML/Template
51 %{php_pear_dir}/HTML/Table
52 %{php_pear_dir}/HTML/QuickForm
53 %{php_pear_dir}/HTTP
54 %{php_pear_dir}/HTTP/WebDAV
55 %{php_pear_dir}/HTTP/WebDAV/Tools
56 %{php_pear_dir}/Image
57 %{php_pear_dir}/Math
58 %{php_pear_dir}/MP3
59 %{php_pear_dir}/Net
60 %{php_pear_dir}/Numbers
61 %{php_pear_dir}/Payment
62 %{php_pear_dir}/PHP
63 %{php_pear_dir}/Science
64 %{php_pear_dir}/Services
65 %{php_pear_dir}/Structures
66 %{php_pear_dir}/Text
67 %{php_pear_dir}/XML
68 %{php_pear_dir}/Validate
69 %{php_pear_dir}/Validate/Finance
70 EOF
71
72 %files
73 %defattr(644,root,root,755)
74 %{php_pear_dir}
This page took 0.103952 seconds and 4 git commands to generate.