]> git.pld-linux.org Git - SPECS.git/blob - php-horde-Horde_Http.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / php-horde-Horde_Http.spec
1 %define         status          stable
2 %define         pearname        Horde_Http
3 Summary:        %{pearname} - Horde HTTP libraries
4 Name:           php-horde-Horde_Http
5 Version:        1.1.1
6 Release:        1
7 License:        BSD
8 Group:          Development/Languages/PHP
9 Source0:        http://pear.horde.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5:  2e34f5965cc426571534684e4cbac576
11 URL:            https://github.com/horde/horde/tree/master/framework/Http/
12 BuildRequires:  php-channel(pear.horde.org)
13 BuildRequires:  php-packagexml2cl
14 BuildRequires:  php-pear-PEAR >= 1:1.7.0
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.610
17 Requires:       php-channel(pear.horde.org)
18 Requires:       php-horde-Horde_Exception < 2.0.0
19 Requires:       php-horde-Horde_Support < 2.0.0
20 Requires:       php-pear >= 4:1.3.6-2
21 Suggests:       php-curl
22 Suggests:       php-horde-Horde_Test
23 Suggests:       php-http
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This package provides a set of classes for making HTTP requests.
29
30 In PEAR status of this package is: %{status}.
31
32 %prep
33 %pear_package_setup
34
35 mv docs/Horde_Http/examples .
36
37 %build
38 packagexml2cl package.xml > ChangeLog
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{php_pear_dir}
43 %pear_package_install
44
45 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc ChangeLog install.log
54 %{php_pear_dir}/.registry/.channel.*/*.reg
55 %{php_pear_dir}/Horde/Http.php
56 %{php_pear_dir}/Horde/Http
57 %{_examplesdir}/%{name}-%{version}
This page took 0.905056 seconds and 3 git commands to generate.