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