]>
Commit | Line | Data |
---|---|---|
38330b5d | 1 | %include /usr/lib/rpm/macros.php |
38330b5d AG |
2 | %define _status alpha |
3 | %define _pearname Services_urlTea | |
4 | Summary: %{_pearname} - PHP interface to urlTea's API | |
5 | Summary(pl.UTF-8): %{_pearname} - interfejs PHP do API urlTea | |
6 | Name: php-pear-%{_pearname} | |
7 | Version: 0.1.0 | |
7f05bc67 | 8 | Release: 3 |
38330b5d AG |
9 | License: New BSD License |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
12 | # Source0-md5: 95aa6c8252c86a50394b7095bb0e5944 | |
13 | URL: http://pear.php.net/package/Services_urlTea/ | |
14 | BuildRequires: php-pear-PEAR | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
7f05bc67 | 16 | Requires: php-curl |
38330b5d AG |
17 | Requires: php-pear |
18 | BuildArch: noarch | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | An interface for creating urlTea URL's with their API as well as | |
23 | looking up destinations of given urlTea URL's. | |
24 | ||
25 | In PEAR status of this package is: %{_status}. | |
26 | ||
27 | %description -l pl.UTF-8 | |
7f05bc67 ER |
28 | Pakiet ten udostępnia interfejs do tworzenia adresów URL urlTea z |
29 | wykorzystaniem ich API, jak również umożliwia odczytywanie adresu | |
d3f8bf57 | 30 | docelowego podanego adresu urlTea. |
38330b5d AG |
31 | |
32 | Ta klasa ma w PEAR status: %{_status}. | |
33 | ||
34 | %package tests | |
35 | Summary: Tests for PEAR::%{_pearname} | |
36 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
37 | Group: Development/Languages/PHP | |
38330b5d AG |
38 | Requires: %{name} = %{version}-%{release} |
39 | AutoProv: no | |
7f05bc67 | 40 | AutoReq: no |
38330b5d AG |
41 | |
42 | %description tests | |
43 | Tests for PEAR::%{_pearname}. | |
44 | ||
45 | %description tests -l pl.UTF-8 | |
46 | Testy dla PEAR::%{_pearname}. | |
47 | ||
48 | %prep | |
49 | %pear_package_setup | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
54 | %pear_package_install | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc install.log | |
62 | %{php_pear_dir}/.registry/*.reg | |
63 | %{php_pear_dir}/Services/urlTea | |
64 | %{php_pear_dir}/Services/urlTea.php | |
65 | ||
66 | %files tests | |
67 | %defattr(644,root,root,755) | |
68 | %{php_pear_dir}/tests/Services_urlTea |