]>
Commit | Line | Data |
---|---|---|
de9cd625 | 1 | %define _class File |
2 | %define _subclass Find | |
4710d970 | 3 | %define _status stable |
8b189af3 | 4 | %define _pearname File_Find |
de9cd625 | 5 | Summary: %{_pearname} - a class that facillitates the search of filesystems |
a4fa8986 | 6 | Summary(pl.UTF-8): %{_pearname} - klasa z narzędziami do przeszukiwania systemu plików |
a52b3492 | 7 | Name: php-pear-%{_pearname} |
f21140c8 | 8 | Version: 1.3.3 |
8b189af3 | 9 | Release: 1 |
c536f7c2 | 10 | Epoch: 0 |
a52b3492 PG |
11 | License: PHP 2.02 |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
f21140c8 | 14 | # Source0-md5: 80dd7b07f618fea1cad34fabde767784 |
0a61b109 | 15 | URL: http://pear.php.net/package/File_Find/ |
aff1e4ff | 16 | BuildRequires: php-pear-PEAR |
00c2e608 | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
6b143193 | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
5d077a8a | 19 | Requires: php-pear |
d50d749b | 20 | Obsoletes: php-pear-File_Find-tests |
a52b3492 PG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | File_Find, created as a replacement for its Perl counterpart, also | |
2950c6c6 | 26 | named File_Find, is a directory searcher, which handles globbing, |
a52b3492 PG |
27 | recursive directory searching, as well as a slew of other cool |
28 | features. | |
29 | ||
9e672560 | 30 | In PEAR status of this package is: %{_status}. |
5e845834 | 31 | |
64477df6 JR |
32 | %description -l pl.UTF-8 |
33 | Klasa File_Find, stworzona w celu zastąpienia perlowej klasy | |
34 | File_Find, służy do przeszukiwania katalogów z obsługą masek, | |
35 | przeszukiwania rekurencyjnego oraz wielu innych możliwości. | |
a52b3492 | 36 | |
5e845834 PG |
37 | Ta klasa ma w PEAR status: %{_status}. |
38 | ||
a52b3492 | 39 | %prep |
00c2e608 | 40 | %pear_package_setup |
a52b3492 PG |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
00c2e608 ER |
44 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
45 | %pear_package_install | |
a52b3492 PG |
46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
00c2e608 ER |
52 | %doc install.log |
53 | %{php_pear_dir}/.registry/*.reg | |
8b189af3 | 54 | %{php_pear_dir}/File/*.php |