]> git.pld-linux.org Git - packages/php-pear-Net_Cyrus.git/blob - php-pear-Net_Cyrus.spec
- rebuild with new PEAR provides/requires scripts
[packages/php-pear-Net_Cyrus.git] / php-pear-Net_Cyrus.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Net
3 %define         _subclass       Cyrus
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - an API for the administration of Cyrus IMAP servers
8 Summary(pl):    %{_pearname} - API do administrowania serwerami Cyrus IMAP
9 Name:           php-pear-%{_pearname}
10 Version:        0.3.1
11 Release:        2
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  7deb75ce29b9acdbb4fb34c5ba9b5384
16 URL:            http://pear.php.net/package/Net_Cyrus/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 API for the administration of Cyrus IMAP servers. It can be used to
24 create,delete and modify users and it's properties (Quota and ACL)
25
26 In PEAR status of this package is: %{_status}.
27
28 %description -l pl
29 Ta klasa dostarcza API do administrowania serwerami Cyrus IMAP. Mo¿e
30 byæ u¿yte do tworzenia, usuwania oraz modyfikowania u¿ytkowników oraz
31 ich w³a¶ciwo¶ci (Quota oraz ACL).
32
33 Ta klasa ma w PEAR status: %{_status}.
34
35 %prep
36 %setup -q -c
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
41
42 install %{_pearname}-%{version}/%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc %{_pearname}-%{version}/test_cyrus.php
50 %{php_pear_dir}/%{_class}/*.php
This page took 0.058317 seconds and 4 git commands to generate.