]>
Commit | Line | Data |
---|---|---|
8937700b | 1 | %define _status stable |
1a628498 | 2 | %define _pearname File_SearchReplace |
41a282d7 | 3 | Summary: %{_pearname} - performs search and replace routines |
23f36c05 | 4 | Summary(pl.UTF-8): %{_pearname} - metody przeszukiwania i zamieniania |
4aa7e832 | 5 | Name: php-pear-%{_pearname} |
1a628498 ER |
6 | Version: 1.1.4 |
7 | Release: 1 | |
237969f0 | 8 | License: BSD |
4aa7e832 PG |
9 | Group: Development/Languages/PHP |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
1a628498 | 11 | # Source0-md5: a5f817ede450df7f8adf34d0a714a693 |
ef4beaaa | 12 | URL: http://pear.php.net/package/File_SearchReplace/ |
abe4a661 | 13 | BuildRequires: php-pear-PEAR |
53d1755e | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
7e8a8c5b | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
88e21c95 | 16 | Requires: php-pear |
1a628498 | 17 | Obsoletes: php-pear-File_SearchReplace-tests |
4aa7e832 PG |
18 | BuildArch: noarch |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
c18e5196 PG |
22 | Provides various functions to perform search/replace on files. |
23 | Preg/Ereg regex supported along with faster but more basic str_replace | |
24 | routine. | |
4aa7e832 | 25 | |
14757c23 | 26 | In PEAR status of this package is: %{_status}. |
8937700b | 27 | |
332d48ef JR |
28 | %description -l pl.UTF-8 |
29 | Ta klasa zawiera różne funkcje do wyszukiwania i zamiany ciągów w | |
30 | plikach. Wyrażenia preg/ereg są obsługiwane poprzez szybką, ale | |
31 | bardziej podstawową funkcję str_replace. | |
4aa7e832 | 32 | |
8937700b PG |
33 | Ta klasa ma w PEAR status: %{_status}. |
34 | ||
4aa7e832 | 35 | %prep |
53d1755e | 36 | %pear_package_setup |
4aa7e832 PG |
37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
53d1755e ER |
40 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
41 | %pear_package_install | |
4aa7e832 PG |
42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
53d1755e ER |
48 | %doc install.log |
49 | %{php_pear_dir}/.registry/*.reg | |
1a628498 | 50 | %{php_pear_dir}/File/SearchReplace.php |