]>
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 | |
50bdac34 | 8 | Release: 5 |
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 |
50bdac34 | 17 | Requires: php(curl) |
38330b5d | 18 | Requires: php-pear |
8cf5502f | 19 | Obsoletes: php-pear-Services_urlTea-tests |
38330b5d AG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | An interface for creating urlTea URL's with their API as well as | |
25 | looking up destinations of given urlTea URL's. | |
26 | ||
27 | In PEAR status of this package is: %{_status}. | |
28 | ||
29 | %description -l pl.UTF-8 | |
7f05bc67 ER |
30 | Pakiet ten udostępnia interfejs do tworzenia adresów URL urlTea z |
31 | wykorzystaniem ich API, jak również umożliwia odczytywanie adresu | |
d3f8bf57 | 32 | docelowego podanego adresu urlTea. |
38330b5d AG |
33 | |
34 | Ta klasa ma w PEAR status: %{_status}. | |
35 | ||
38330b5d AG |
36 | %prep |
37 | %pear_package_setup | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
42 | %pear_package_install | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc install.log | |
50 | %{php_pear_dir}/.registry/*.reg | |
51 | %{php_pear_dir}/Services/urlTea | |
52 | %{php_pear_dir}/Services/urlTea.php |