]>
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 | |
857d912b | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
7f05bc67 | 17 | Requires: php-curl |
38330b5d AG |
18 | Requires: php-pear |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | An interface for creating urlTea URL's with their API as well as | |
24 | looking up destinations of given urlTea URL's. | |
25 | ||
26 | In PEAR status of this package is: %{_status}. | |
27 | ||
28 | %description -l pl.UTF-8 | |
7f05bc67 ER |
29 | Pakiet ten udostępnia interfejs do tworzenia adresów URL urlTea z |
30 | wykorzystaniem ich API, jak również umożliwia odczytywanie adresu | |
d3f8bf57 | 31 | docelowego podanego adresu urlTea. |
38330b5d AG |
32 | |
33 | Ta klasa ma w PEAR status: %{_status}. | |
34 | ||
35 | %package tests | |
36 | Summary: Tests for PEAR::%{_pearname} | |
37 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
38 | Group: Development/Languages/PHP | |
38330b5d AG |
39 | Requires: %{name} = %{version}-%{release} |
40 | AutoProv: no | |
7f05bc67 | 41 | AutoReq: no |
38330b5d AG |
42 | |
43 | %description tests | |
44 | Tests for PEAR::%{_pearname}. | |
45 | ||
46 | %description tests -l pl.UTF-8 | |
47 | Testy dla PEAR::%{_pearname}. | |
48 | ||
49 | %prep | |
50 | %pear_package_setup | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
55 | %pear_package_install | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc install.log | |
63 | %{php_pear_dir}/.registry/*.reg | |
64 | %{php_pear_dir}/Services/urlTea | |
65 | %{php_pear_dir}/Services/urlTea.php | |
66 | ||
67 | %files tests | |
68 | %defattr(644,root,root,755) | |
69 | %{php_pear_dir}/tests/Services_urlTea |