]> git.pld-linux.org Git - packages/php-pear-Services_Technorati.git/blob - php-pear-Services_Technorati.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Services_Technorati.git] / php-pear-Services_Technorati.spec
1 %define         _class          Services
2 %define         _subclass       Technorati
3 %define         _status         beta
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}
8 Version:        0.7.1beta
9 Release:        0.1
10 License:        PHP License
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
18 Requires:       php-pear
19 Requires:       php-pear-HTTP_Request
20 Requires:       php-pear-PEAR >= 1.4.0b1
21 Obsoletes:      php-pear-Services_Technorati-tests
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 # exclude optional dependencies
26 %define         _noautoreq      'pear(Cache/Lite.*)'
27
28 %description
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.
34
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.
38
39 As of version 0.7.0 this package is PHP5 only, and requires simplexml.
40
41 In PEAR status of this package is: %{_status}.
42
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.
50
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.
55
56 Ta klasa ma w PEAR status: %{_status}.
57
58 %prep
59 %pear_package_setup
60 %patch0 -p1
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{php_pear_dir}
65 %pear_package_install
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
72         cat %{_docdir}/%{name}-%{version}/optional-packages.txt
73 fi
74
75 %files
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
This page took 0.229983 seconds and 4 git commands to generate.