]> git.pld-linux.org Git - packages/php-pear.git/blob - php-pear.spec
b08f95735250504b7092d4c2c3f09db0f29b1a15
[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:        15
6 Epoch:          4
7 License:        Public Domain
8 Group:          Development/Languages/PHP
9 Provides:       php4-pear = %{epoch}:%{version}-%{release}
10 Obsoletes:      php-pear-additional_classes
11 Obsoletes:      php4-pear
12 Conflicts:      php-pear-PEAR < 1:1.4.6-1.3
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}/.registry
43 %{php_pear_dir}/Archive
44 %{php_pear_dir}/Auth
45 %{php_pear_dir}/Console
46 %{php_pear_dir}/Crypt
47 %{php_pear_dir}/Contact
48 %{php_pear_dir}/DB/DataObject
49 %{php_pear_dir}/Gtk
50 %{php_pear_dir}/Gtk2
51 %{php_pear_dir}/HTML
52 %{php_pear_dir}/HTML/Template
53 %{php_pear_dir}/HTML/Table
54 %{php_pear_dir}/HTML/QuickForm
55 %{php_pear_dir}/HTTP
56 %{php_pear_dir}/HTTP/WebDAV
57 %{php_pear_dir}/HTTP/WebDAV/Tools
58 %{php_pear_dir}/Image
59 %{php_pear_dir}/Math
60 %{php_pear_dir}/MP3
61 %{php_pear_dir}/Net
62 %{php_pear_dir}/Numbers
63 %{php_pear_dir}/Payment
64 %{php_pear_dir}/PHP
65 %{php_pear_dir}/Science
66 %{php_pear_dir}/Services
67 %{php_pear_dir}/Structures
68 %{php_pear_dir}/Text
69 %{php_pear_dir}/XML
70 %{php_pear_dir}/Validate
71 %{php_pear_dir}/Validate/Finance
72 EOF
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %{php_pear_dir}
This page took 0.026904 seconds and 2 git commands to generate.