1 %define _class Services
2 %define _subclass Technorati
4 %define _pearname Services_Technorati
5 Summary: %{_pearname} - a class for interacting with the Technorati API
6 Summary(pl.UTF-8): %{_pearname} - klasa do interakcji z API Technorati
7 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5: 6abf7b9338a30828ed0a9118e02b378b
14 Patch0: %{name}-paths_fix.patch
15 URL: http://pear.php.net/package/Services_Technorati/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-pear-HTTP_Request
20 Requires: php-pear-PEAR >= 1.4.0b1
21 Obsoletes: php-pear-Services_Technorati-tests
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 # exclude optional dependencies
26 %define _noautoreq 'pear(Cache/Lite.*)'
29 Services_Technorati is a wrapper for the REST-based Technorati
30 webservices API. Technorati is a blog search engine that provides a
31 number of interfaces for interacting with recent blog entries, such as
32 searching for entries that link to a certain URL, are linked from a
33 certain URL, or have been given certain tags.
35 Services_Technorati provides an interface to all of the query types in
36 Technorati API version 1.0, and supports filesystem caching of query
37 data using Cache_Lite compatible cache objects.
39 As of version 0.7.0 this package is PHP5 only, and requires simplexml.
41 In PEAR status of this package is: %{_status}.
43 %description -l pl.UTF-8
44 Services_Technorati to wrapper dla opartego na technologii REST API
45 usług WWW Technorati. Technorati to wyspecjalizowana wyszukiwarka do
46 blogów udostępniająca dużą liczbę interfejsów do współpracy z wpisami
47 na blogach, np. wyszukiwanie wpisów zawierających odnośnik do zadanej
48 strony, wpisy do których jest odnośnik z zadanej strony bądź też
49 wpisy, który niedawno nadano określone tagi.
51 Pakiet Services_Technorati zawiera interfejs do wszystkich typów
52 zapytań udostępnionych przez API Technorati w wersji 1.0, oraz pozwala
53 na lokalne cache'owanie wyników zapytań za pomocą obiektów
54 kompatybilnych z Cache_Lite.
56 Ta klasa ma w PEAR status: %{_status}.
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{php_pear_dir}
68 rm -rf $RPM_BUILD_ROOT
71 if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
72 cat %{_docdir}/%{name}-%{version}/optional-packages.txt
76 %defattr(644,root,root,755)
77 %doc install.log optional-packages.txt
78 %{php_pear_dir}/.registry/*.reg
79 %{php_pear_dir}/Services/Technorati
80 %{php_pear_dir}/Services/Technorati.php