]> git.pld-linux.org Git - SPECS.git/blob - php-pear-Services_Akismet.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / php-pear-Services_Akismet.spec
1 %define         _status         stable
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}
6 Version:        1.0.1
7 Release:        3
8 License:        MIT
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
16 Requires:       php-pear
17 Suggests:       php-curl
18 Obsoletes:      php-pear-Services_Akismet-tests
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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
27 use this package.
28
29 Akismet is free for personal use and a license may be purchased for
30 commercial or high-volume applications.
31
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.
34
35 In PEAR status of this package is: %{_status}.
36
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/ .
44
45 Akismet jest darmowe dla prywatnego użytku, licencję można nabyć dla
46 serwisów komercyjnych lub o dużym natężeniu ruchu.
47
48 Pakiet ten jest wzorowany na napisanej dla PHP 4 klasie miPHP Akismet,
49 której autorem jest Bret Kuhns.
50
51 Ta klasa ma w PEAR status: %{_status}.
52
53 %prep
54 %pear_package_setup
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{php_pear_dir}
59 %pear_package_install
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc install.log
67 %{php_pear_dir}/.registry/*.reg
68 %{php_pear_dir}/Services/Akismet
69 %{php_pear_dir}/Services/Akismet.php
This page took 1.071239 seconds and 3 git commands to generate.