1 %include /usr/lib/rpm/macros.php
2 %define _class Services
3 %define _subclass Facebook
5 %define _pearname Services_Facebook
6 Summary: %{_pearname} - PHP interface to Facebook's API
7 Summary(pl.UTF-8): %{_pearname} - interfejs PHP do API Facebook
8 Name: php-pear-%{_pearname}
11 License: New BSD License
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: a10593a2e0180bab54b5705e78aecb51
15 Patch0: %{name}-paths.patch
16 URL: http://pear.php.net/package/Services_Facebook/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 An interface for accessing Facebook's web services API at
25 http://api.facebook.com.
27 In PEAR status of this package is: %{_status}.
29 %description -l pl.UTF-8
30 Interfejs dostępowy do usług Facebook (http://api.facebook.com/).
32 Ta klasa ma w PEAR status: %{_status}.
35 Summary: Tests for PEAR::%{_pearname}
36 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
37 Group: Development/Languages/PHP
39 Requires: %{name} = %{version}-%{release}
43 Tests for PEAR::%{_pearname}.
45 %description tests -l pl.UTF-8
46 Testy dla PEAR::%{_pearname}.
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{php_pear_dir}/.registry/*.reg
64 %{php_pear_dir}/Services/Facebook
65 %{php_pear_dir}/Services/Facebook.php
68 %defattr(644,root,root,755)
69 %{php_pear_dir}/tests/Services_Facebook