1 %include /usr/lib/rpm/macros.php
3 %define _pearname Services_Delicious
4 Summary: %{_pearname} - Client for the del.icio.us web service
5 Summary(pl.UTF-8): %{_pearname} - Klient sieciowej usługi del.icio.us
6 Name: php-pear-%{_pearname}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5: 4990d978afed077bf6132e64dcade508
13 URL: http://pear.php.net/package/Services_Delicious/
14 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.300
19 Requires: php-pear-HTTP_Client
20 Requires: php-pear-HTTP_Request2
21 Requires: php-pear-PEAR-core
22 Requires: php-pear-XML_Serializer >= 0.12.0
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Services_Delicious is a client for the REST-based web service of
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.
35 Services_Delicious allows you to select, add and delete your bookmarks
38 In PEAR status of this package is: %{_status}.
40 %description -l pl.UTF-8
41 Servies_Delicious jest klientem opartej na REST usłudze sieciowej
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
50 Services_Delicious pozwala na wybór, dodanie oraz usuwanie zakładek z
53 Ta klasa ma w PEAR status: %{_status}.
58 mv docs/Services_Delicious/examples .
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{php_pear_dir}
65 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
66 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
68 # tests should not be packaged
69 rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
77 %doc docs/%{_pearname}/docs/*
78 %{php_pear_dir}/.registry/*.reg
79 %{php_pear_dir}/Services/Delicious.php
81 %{_examplesdir}/%{name}-%{version}