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