]> git.pld-linux.org Git - packages/php-pear-Crypt_XXTEA.git/blob - php-pear-Crypt_XXTEA.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Crypt_XXTEA.git] / php-pear-Crypt_XXTEA.spec
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
7 Summary(pl.UTF-8):      %{_pearname} - implemtancja algorytmu szyfrującego XXTEA
8 Name:           php-pear-%{_pearname}
9 Version:        0.9.0
10 Release:        2
11 License:        LGPL
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
19 Requires:       php-pear
20 Obsoletes:      php-pear-Crypt_XXTEA-tests
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
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
35 algorytmu.
36
37 Ta klasa ma w PEAR status: %{_status}.
38
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
This page took 0.069587 seconds and 3 git commands to generate.