1 %include /usr/lib/rpm/macros.php
2 %define _class Services
3 %define _subclass Delicious
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - Client for the del.icio.us web service
8 Summary(pl.UTF-8): %{_pearname} - Klient sieciowej usługi del.icio.us
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 78ee07f4ffd9e49db023d85af9604a72
16 URL: http://pear.php.net/package/Services_Delicious/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 BuildRequires: rpmbuild(macros) >= 1.300
21 Requires: php-pear-HTTP_Client
22 Requires: php-pear-HTTP_Request
23 Requires: php-pear-PEAR-core
24 Requires: php-pear-XML_Serializer >= 0.12.0
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Services_Delicious is a client for the REST-based web service of
32 del.icio.us is a social bookmarks manager. It allows you to easily add
33 sites you like to your personal collection of links, to categorize
34 those sites with keywords, and to share your collection not only
35 between your own browsers and machines, but also with others.
37 Services_Delicious allows you to select, add and delete your bookmarks
40 In PEAR status of this package is: %{_status}.
42 %description -l pl.UTF-8
43 Servies_Delicious jest klientem opartej na REST usłudze sieciowej
46 del.icio.us jest społecznym zarządcą zakładek. Pozwala na łatwe
47 dodawanie stron do osobistej kolekcji odnośników, klasyfikowanie stron
48 według słów kluczowych, oraz dzielenie się kolekcją nie tylko z
49 różnymi przeglądarkami na różnych maszynach, ale także z innymi
52 Services_Delicious pozwala na wybór, dodanie oraz usuwanie zakładek z
55 Ta klasa ma w PEAR status: %{_status}.
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{php_pear_dir}
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
71 %doc docs/%{_pearname}/*
72 %{php_pear_dir}/.registry/*.reg
73 %{php_pear_dir}/%{_class}/*.php