2 %define _subclass XXTEA
4 %define _pearname %{_class}_%{_subclass}
6 Summary: %{_pearname} - an implementation of XXTEA encryption algorithm
7 Summary(pl.UTF-8): %{_pearname} - implemtancja algorytmu szyfrującego XXTEA
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 611bb2fc28aa91d86ee3803b06b1916a
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
20 Obsoletes: php-pear-Crypt_XXTEA-tests
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
29 In PEAR status of this package is: %{_status}.
31 %description -l pl.UTF-8
32 XXTEA to bezpieczny i szybki algorytm szyfrujący, wygodny w użyciu
33 przy projektowaniu stron internetowych. Pakiet ten pozwala na
34 szyfrowanie oraz deszyfrowanie łańcuchów znaków przy użyciu tego
37 Ta klasa ma w PEAR status: %{_status}.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{php_pear_dir}/.registry/*.reg
53 %{php_pear_dir}/%{_class}/*.php