]>
Commit | Line | Data |
---|---|---|
a7c7ff49 | 1 | %define _class File |
2 | %define _subclass HtAccess | |
e50ffd0f | 3 | %define _status stable |
77c984f1 | 4 | %define _pearname %{_class}_%{_subclass} |
a7c7ff49 | 5 | |
77c984f1 | 6 | Summary: %{_pearname} - manipulate .htaccess files |
8f489920 | 7 | Summary(pl.UTF-8): %{_pearname} - manipulacje na plikach .htaccess |
77c984f1 | 8 | Name: php-pear-%{_pearname} |
44093cbc | 9 | Version: 1.2.1 |
18c03176 | 10 | Release: 3 |
77c984f1 PG |
11 | License: PHP 2.02 |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
44093cbc | 14 | # Source0-md5: 12cb3e3dbf284f9ffc5eca48a0a88bb5 |
6b836ee5 | 15 | URL: http://pear.php.net/package/File_HtAccess/ |
6c1e5047 | 16 | BuildRequires: php-pear-PEAR |
992880ae | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
99a21c88 | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
77c984f1 | 19 | Requires: php-pear |
bce7eb34 | 20 | Obsoletes: php-pear-File_HtAccess-tests |
77c984f1 PG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Provides methods to manipulate .htaccess files. | |
26 | ||
943378a1 | 27 | In PEAR status of this package is: %{_status}. |
e50ffd0f | 28 | |
b620ddaa | 29 | %description -l pl.UTF-8 |
77c984f1 PG |
30 | Dostarcza metody do manipulowania plikami .htaccess. |
31 | ||
e50ffd0f PG |
32 | Ta klasa ma w PEAR status: %{_status}. |
33 | ||
77c984f1 | 34 | %prep |
992880ae | 35 | %pear_package_setup |
77c984f1 PG |
36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
992880ae ER |
39 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
40 | %pear_package_install | |
77c984f1 PG |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
992880ae ER |
47 | %doc install.log |
48 | %{php_pear_dir}/.registry/*.reg | |
77c984f1 | 49 | %{php_pear_dir}/%{_class}/*.php |