2 %define pearname System_Folders
3 Summary: %{pearname} - Location of system folders
4 Summary(pl.UTF-8): %{pearname} - lokalizacja folderów systemowych
5 Name: php-pear-%{pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5: 1e50b9740ca3ff31316739f31546c46c
12 URL: http://pear.php.net/package/System_Folders/
13 BuildRequires: php-pear-PEAR >= 1:1.4.1
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.580
17 Requires: php-pear-Config >= 1.10.5
18 Requires: php-pear-PEAR-core >= 1:1.4.1
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Calculates or guesses the location of system folders like temp,
26 In PEAR status of this package is: %{status}.
28 %description -l pl.UTF-8
29 Oblicza lub zgaduje położenie folderów systemów takich jak katalog
30 tymczasowy, pulpit czy inne.
32 Ta klasa ma w PEAR status: %{status}.
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{php_pear_dir}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc install.log docs/%{pearname}/{examples/cached.php,examples/example.php}
48 %{php_pear_dir}/.registry/*.reg
49 %{php_pear_dir}/System/Folders
50 %{php_pear_dir}/System/Folders.php