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