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