]>
Commit | Line | Data |
---|---|---|
5657034d | 1 | %define _class File |
2 | %define _subclass Passwd | |
0ea20f29 | 3 | %define _status stable |
729f6179 | 4 | %define _pearname File_Passwd |
0a668605 | 5 | Summary: %{_pearname} - manipulate password files |
486b5e35 | 6 | Summary(pl.UTF-8): %{_pearname} - manipulacje na plikach z hasłami |
0a668605 | 7 | Name: php-pear-%{_pearname} |
4cc61b88 | 8 | Version: 1.1.7 |
7c629a50 | 9 | Release: 5 |
0a668605 PG |
10 | License: PHP 2.02 |
11 | Group: Development/Languages/PHP | |
0ea20f29 | 12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
4cc61b88 | 13 | # Source0-md5: b11d5dac02ddd93fdfdd4756a0868afe |
7d24db46 | 14 | URL: http://pear.php.net/package/File_Passwd/ |
5a413c7c | 15 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
83279021 | 16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
1fa0af90 | 17 | BuildRequires: rpmbuild(macros) >= 1.300 |
7c629a50 | 18 | Requires: php(core) >= 4.0.6 |
729f6179 | 19 | Requires: php(pcre) |
0a668605 | 20 | Requires: php-pear |
c7f3616e | 21 | Requires: php-pear-PEAR-core |
5a413c7c | 22 | Suggests: php-pear-Crypt_CHAP |
f547937d | 23 | Obsoletes: php-pear-File_Passwd-tests |
0a668605 PG |
24 | BuildArch: noarch |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
83279021 ER |
27 | # exclude optional dependencies |
28 | %define _noautoreq 'pear(Crypt/CHAP.*)' | |
29 | ||
0a668605 | 30 | %description |
068c9fce ER |
31 | Provides methods to manipulate standard Unix, SMB server, AuthUser |
32 | (.htpasswd), AuthDigest (.htdigest) and CVS pserver password files. | |
0a668605 | 33 | |
3c4f8c80 | 34 | In PEAR status of this package is: %{_status}. |
1e47d045 | 35 | |
526ab8ca | 36 | %description -l pl.UTF-8 |
c3019511 | 37 | Dostarcza metody do manipulacji na standardowych Uniksowych plikach |
9c59c14b AG |
38 | passwd, serwera SMB, AuthUser (.htpasswd), AuthDigest (.htdigest) oraz |
39 | na plikach passwd CVS pserver. | |
0a668605 | 40 | |
1e47d045 PG |
41 | Ta klasa ma w PEAR status: %{_status}. |
42 | ||
0a668605 | 43 | %prep |
83279021 | 44 | %pear_package_setup |
0a668605 PG |
45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
83279021 ER |
48 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
49 | %pear_package_install | |
0a668605 PG |
50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
83279021 ER |
54 | %post |
55 | if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then | |
56 | cat %{_docdir}/%{name}-%{version}/optional-packages.txt | |
57 | fi | |
58 | ||
0a668605 PG |
59 | %files |
60 | %defattr(644,root,root,755) | |
83279021 ER |
61 | %doc install.log optional-packages.txt |
62 | %{php_pear_dir}/.registry/*.reg | |
729f6179 ER |
63 | %dir %{php_pear_dir}/File/Passwd |
64 | %{php_pear_dir}/File/*.php | |
65 | %{php_pear_dir}/File/Passwd/*.php |