]> git.pld-linux.org Git - packages/php-pear-Crypt_Blowfish.git/blob - php-pear-Crypt_Blowfish.spec
- sed 4.0 already required by rpm-php-pearprov >= 4.4.2-12
[packages/php-pear-Crypt_Blowfish.git] / php-pear-Crypt_Blowfish.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Crypt
3 %define         _subclass       Blowfish
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - quick two-way blowfish encryption
8 Summary(pl):    %{_pearname} - szybkie dwustronne szyfrowanie algorytmem blowfish
9 Name:           php-pear-%{_pearname}
10 Version:        1.0.1
11 Release:        1
12 License:        PHP
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  93873efe07a267b2b415965994a0af98
16 URL:            http://pear.php.net/package/Crypt_Blowfish/
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-12
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This package allows you to preform two-way blowfish on the fly using
24 only PHP. This package does not require the Mcrypt PHP extension to
25 work.
26
27 In PEAR status of this package is: %{_status}.
28
29 %description -l pl
30 Ta klasa pozwala na dwustronne szyfrowanie w locie z u¿yciem algorytmu
31 blowfish. Klasa ta nie wymaga rozszerzenia Mcrypt.
32
33 Ta klasa ma w PEAR status: %{_status}.
34
35 %package tests
36 Summary:        Tests for PEAR::%{_pearname}
37 Summary(pl):    Testy dla PEAR::%{_pearname}
38 Group:          Development
39 Requires:       %{name} = %{epoch}:%{version}-%{release}
40
41 %description tests
42 Tests for PEAR::%{_pearname}.
43
44 %description tests -l pl
45 Testy dla PEAR::%{_pearname}.
46
47 %prep
48 %pear_package_setup
49
50 # badly packaged, i think
51 sed -i -e 's,Blowfish/DefaultKey.php,Crypt/Blowfish/DefaultKey.php,' ./%{php_pear_dir}/%{_class}/%{_subclass}.php
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
56 %pear_package_install
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files tests
62 %defattr(644,root,root,755)
63 %{php_pear_dir}/tests/*
64
65 %files
66 %defattr(644,root,root,755)
67 %doc install.log
68 %{php_pear_dir}/.registry/*.reg
69 %{php_pear_dir}/%{_class}/*.php
70 %{php_pear_dir}/%{_class}/%{_subclass}
This page took 0.037041 seconds and 4 git commands to generate.