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