]> git.pld-linux.org Git - packages/php-pear.git/blame_incremental - php-pear.spec
- tabs in preamble
[packages/php-pear.git] / php-pear.spec
... / ...
CommitLineData
1Summary: PEAR - PHP Extension and Application Repository
2Summary(pl.UTF-8): PEAR - rozszerzenie PHP i repozytorium aplikacji
3Name: php-pear
4Version: 1.0
5Release: 15
6Epoch: 4
7License: Public Domain
8Group: Development/Languages/PHP
9Obsoletes: php-pear-additional_classes
10Obsoletes: php4-pear
11Conflicts: php-pear-PEAR < 1:1.4.6-1.3
12BuildArch: noarch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16PEAR - PHP Extension and Application Repository.
17
18Please note that this package provides only basic directory structure.
19If you want to use base PEAR classes (PEAR.php, PEAR/*.php), that come
20with PHP, please install appropriate php-pear-* (php-pear-PEAR,
21php-PEAR-Archive_Tar, etc) packages.
22
23%description -l pl.UTF-8
24PEAR (PHP Extension and Application Repository) - rozszerzenie PHP i
25repozytorium aplikacji.
26
27Należy pamiętać, że ten pakiet dostarcza tylko podstawową strukturę
28katalogów. Aby użyć podstawowych klas PEAR (PEAR.php PEAR/*.php),
29dostarczanych z PHP, należy zainstalować odpowiednie pakiety
30php-pear-* (php-pear-PEAR, php-pear-Archive_Tar, itp).
31
32%prep
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT%{php_pear_dir}/{data,tests}
37
38while read dir; do
39 install -d $RPM_BUILD_ROOT$dir
40done <<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
71EOF
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
78%{php_pear_dir}
This page took 0.055984 seconds and 4 git commands to generate.