2 %define _pearname Services_Akismet
3 Summary: %{_pearname} - PHP client for the Akismet REST API
4 Summary(pl.UTF-8): %{_pearname} - Klient PHP do API REST Akismet
5 Name: php-pear-%{_pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5: 3340673e9b99e2171b9ecae7646f7903
12 URL: http://pear.php.net/package/Services_Akismet/
13 BuildRequires: php-pear-PEAR
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.300
18 Obsoletes: php-pear-Services_Akismet-tests
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This package provides an object-oriented interface to the Akismet REST
24 API. Akismet is used to detect and to filter spam comments posted on
25 weblogs. Though the use of Akismet is not specific to Wordpress, you
26 will need a Wordpress API key from http://wordpress.com/api-keys/ to
29 Akismet is free for personal use and a license may be purchased for
30 commercial or high-volume applications.
32 This package is derived from the miPHP Akismet class written by Bret
33 Kuhns for use in PHP 4. This package requires PHP 5.2.1.
35 In PEAR status of this package is: %{_status}.
37 %description -l pl.UTF-8
38 Pakiet ten dostarcza zorientowanego obiektowo interfejsu do API REST
39 Akismet, wykorzystywanego do wykrywania i filtorwania spamów w
40 komentarzach do wpisów na blogach. Chociaż wykorzystanie API jest
41 możliwe nie tylko z blogiem wordpress, do korzystania z tego pakietu
42 konieczne będzie pobranie klucza Wordpress API ze strony
43 http://wordpress.com/api-keys/ .
45 Akismet jest darmowe dla prywatnego użytku, licencję można nabyć dla
46 serwisów komercyjnych lub o dużym natężeniu ruchu.
48 Pakiet ten jest wzorowany na napisanej dla PHP 4 klasie miPHP Akismet,
49 której autorem jest Bret Kuhns.
51 Ta klasa ma w PEAR status: %{_status}.
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{php_pear_dir}
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %{php_pear_dir}/.registry/*.reg
68 %{php_pear_dir}/Services/Akismet
69 %{php_pear_dir}/Services/Akismet.php