]>
Commit | Line | Data |
---|---|---|
aef95e7a | 1 | %define _status beta |
6e4ee725 | 2 | %define _pearname Services_Delicious |
aef95e7a | 3 | Summary: %{_pearname} - Client for the del.icio.us web service |
7654d1d2 | 4 | Summary(pl.UTF-8): %{_pearname} - Klient sieciowej usługi del.icio.us |
aef95e7a | 5 | Name: php-pear-%{_pearname} |
6e4ee725 | 6 | Version: 0.6.0 |
abc9bf3e | 7 | Release: 2 |
aef95e7a AG |
8 | License: PHP 2.02 |
9 | Group: Development/Languages/PHP | |
d4708b18 | 10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
6e4ee725 | 11 | # Source0-md5: 4990d978afed077bf6132e64dcade508 |
aef95e7a | 12 | URL: http://pear.php.net/package/Services_Delicious/ |
6e4ee725 | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
d31f294c | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
5559c883 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
abc9bf3e | 16 | Requires: php(openssl) |
aef95e7a | 17 | Requires: php-pear |
dc48cd36 | 18 | Requires: php-pear-HTTP_Client |
6e4ee725 | 19 | Requires: php-pear-HTTP_Request2 |
4590e88b | 20 | Requires: php-pear-PEAR-core |
c567dbf2 | 21 | Requires: php-pear-XML_Serializer >= 0.12.0 |
aef95e7a AG |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Services_Delicious is a client for the REST-based web service of | |
27 | del.icio.us. | |
28 | ||
29 | del.icio.us is a social bookmarks manager. It allows you to easily add | |
30 | sites you like to your personal collection of links, to categorize | |
31 | those sites with keywords, and to share your collection not only | |
32 | between your own browsers and machines, but also with others. | |
33 | ||
34 | Services_Delicious allows you to select, add and delete your bookmarks | |
35 | from any PHP script. | |
36 | ||
37 | In PEAR status of this package is: %{_status}. | |
38 | ||
e989d1e8 JR |
39 | %description -l pl.UTF-8 |
40 | Servies_Delicious jest klientem opartej na REST usłudze sieciowej | |
aef95e7a AG |
41 | del.icio.us. |
42 | ||
e989d1e8 JR |
43 | del.icio.us jest społecznym zarządcą zakładek. Pozwala na łatwe |
44 | dodawanie stron do osobistej kolekcji odnośników, klasyfikowanie stron | |
45 | według słów kluczowych, oraz dzielenie się kolekcją nie tylko z | |
46 | różnymi przeglądarkami na różnych maszynach, ale także z innymi | |
aef95e7a AG |
47 | osobami. |
48 | ||
e989d1e8 | 49 | Services_Delicious pozwala na wybór, dodanie oraz usuwanie zakładek z |
aef95e7a AG |
50 | poziomu skryptu PHP. |
51 | ||
52 | Ta klasa ma w PEAR status: %{_status}. | |
53 | ||
54 | %prep | |
d31f294c | 55 | %pear_package_setup |
aef95e7a | 56 | |
6e4ee725 ER |
57 | mv docs/Services_Delicious/examples . |
58 | ||
aef95e7a AG |
59 | %install |
60 | rm -rf $RPM_BUILD_ROOT | |
d31f294c ER |
61 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
62 | %pear_package_install | |
aef95e7a | 63 | |
6e4ee725 ER |
64 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
65 | cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
66 | ||
aef95e7a AG |
67 | %clean |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
d31f294c | 72 | %doc install.log |
6e4ee725 | 73 | %doc docs/%{_pearname}/docs/* |
d31f294c | 74 | %{php_pear_dir}/.registry/*.reg |
6e4ee725 ER |
75 | %{php_pear_dir}/Services/Delicious.php |
76 | ||
77 | %{_examplesdir}/%{name}-%{version} |