3 Summary: %{pearname} - The Base package provides the basic infrastructure that all packages rely on
8 Group: Development/Languages/PHP
9 Source0: http://components.ez.no/get/%{pearname}-%{version}.tgz
10 # Source0-md5: f00eb71187ef9903bd1c2f7cdae3216a
11 URL: http://components.ez.no/package/Base/
12 BuildRequires: php-channel(components.ez.no)
13 BuildRequires: php-packagexml2cl
14 BuildRequires: php-pear-PEAR
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.580
17 Requires: php-channel(components.ez.no)
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The Base package provides the basic infrastructure that all packages
24 rely on. Therefore every component relies on this package.
26 In PEAR status of this package is: %{status}.
32 mv docs/Base/docs/tutorial* examples
33 mv docs/Base/docs/repos examples
36 packagexml2cl package.xml > ChangeLog
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{php_pear_dir}
43 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
44 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 # don't care for tests
47 rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{pearname}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc ChangeLog install.log
56 %{php_pear_dir}/.registry/.channel.*/*.reg
57 %dir %{php_pear_dir}/ezc
58 %dir %{php_pear_dir}/ezc/autoload
59 %{php_pear_dir}/ezc/autoload/base_autoload.php
60 %{php_pear_dir}/ezc/Base
61 %{php_pear_dir}/data/Base
62 %{_examplesdir}/%{name}-%{version}