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