]>
Commit | Line | Data |
---|---|---|
b62ce5f1 AG |
1 | %define _class Crypt |
2 | %define _subclass XXTEA | |
3 | %define _status beta | |
4 | %define _pearname %{_class}_%{_subclass} | |
5 | ||
6 | Summary: %{_pearname} - an implementation of XXTEA encryption algorithm | |
54d3d736 | 7 | Summary(pl.UTF-8): %{_pearname} - implemtancja algorytmu szyfrującego XXTEA |
b62ce5f1 | 8 | Name: php-pear-%{_pearname} |
f211541c | 9 | Version: 0.9.0 |
d741a346 | 10 | Release: 2 |
b62ce5f1 AG |
11 | License: LGPL |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
f211541c | 14 | # Source0-md5: 611bb2fc28aa91d86ee3803b06b1916a |
b62ce5f1 AG |
15 | URL: http://pear.php.net/package/Crypt_XXTEA/ |
16 | BuildRequires: php-pear-PEAR | |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
18 | BuildRequires: rpmbuild(macros) >= 1.300 | |
19 | Requires: php-pear | |
e33426b1 | 20 | Obsoletes: php-pear-Crypt_XXTEA-tests |
b62ce5f1 AG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | XXTEA is a secure and fast encryption algorithm. It's suitable for web | |
26 | development. This package allows you to encrypt or decrypt a string | |
27 | using the algorithm. | |
28 | ||
29 | In PEAR status of this package is: %{_status}. | |
30 | ||
c730591c JR |
31 | %description -l pl.UTF-8 |
32 | XXTEA to bezpieczny i szybki algorytm szyfrujący, wygodny w użyciu | |
b62ce5f1 | 33 | przy projektowaniu stron internetowych. Pakiet ten pozwala na |
c730591c | 34 | szyfrowanie oraz deszyfrowanie łańcuchów znaków przy użyciu tego |
b62ce5f1 AG |
35 | algorytmu. |
36 | ||
37 | Ta klasa ma w PEAR status: %{_status}. | |
38 | ||
b62ce5f1 AG |
39 | %prep |
40 | %pear_package_setup | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
45 | %pear_package_install | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %{php_pear_dir}/.registry/*.reg | |
53 | %{php_pear_dir}/%{_class}/*.php |