]>
Commit | Line | Data |
---|---|---|
87e18cb0 AG |
1 | %define _status alpha |
2 | %define _pearname Services_oEmbed | |
3 | Summary: %{_pearname} - A package for consuming oEmbed | |
4 | Summary(pl.UTF-8): %{_pearname} - pakiet do obsługi oEmebed | |
5 | Name: php-pear-%{_pearname} | |
ffdaa0db ER |
6 | Version: 0.2.1 |
7 | Release: 1 | |
87e18cb0 AG |
8 | License: New BSD License |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
ffdaa0db | 11 | # Source0-md5: fb43d6e6ab151cc33125e2bbb1eeec20 |
87e18cb0 | 12 | URL: http://pear.php.net/package/Services_oEmbed/ |
da15b348 | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
87e18cb0 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
9c1c9584 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
8d15a256 ER |
16 | Requires: php(curl) |
17 | Requires: php(json) | |
18 | Requires: php(pcre) | |
19 | Requires: php(simplexml) | |
20 | Requires: php(xml) | |
66622dc5 | 21 | #Requires: php-libxml |
87e18cb0 AG |
22 | Requires: php-pear |
23 | Requires: php-pear-HTTP_Request >= 1.4.3 | |
24 | Requires: php-pear-Net_URL2 >= 0.2.0 | |
25 | Requires: php-pear-PEAR >= 1.4.0b1 | |
e5d8a6fa | 26 | Requires: php-pear-Validate >= 0.8.4 |
25144e37 | 27 | Obsoletes: php-pear-Services_oEmbed-tests |
87e18cb0 AG |
28 | BuildArch: noarch |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | oEmbed (http://www.oembed.com) is an open specification for | |
33 | discovering more information about URI's. oEmbed services return | |
34 | structure meta-data about a URI (e.g. type of object, title, author | |
35 | information, thumbnail details, etc.). | |
36 | ||
37 | In PEAR status of this package is: %{_status}. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | oEmebed (http://www.oembed.com) to otwarta specyfikacja opisująca | |
41 | sposób odkrywania informacji o URI. Usługa oEmebed zwraca strukturę | |
42 | zawierającą metadane o URI (n.p. typ obiektu, tytuł, informacja o | |
43 | autorze, informacja o miniaturkach, itp.). | |
44 | ||
45 | Ta klasa ma w PEAR status: %{_status}. | |
46 | ||
87e18cb0 AG |
47 | %prep |
48 | %pear_package_setup | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
53 | %pear_package_install | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc install.log | |
61 | %{php_pear_dir}/.registry/*.reg | |
62 | %{php_pear_dir}/Services/oEmbed | |
63 | %{php_pear_dir}/Services/oEmbed.php |