blob: 76e9c24db27ccf685b7be95f520a80aaecd9414a (
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
|
%define status stable
%define pearname Horde_Scribe
Summary: %{pearname} - Scribe
Name: php-horde-Horde_Scribe
Version: 1.0.2
Release: 1
License: Apache v2.0
Group: Development/Languages/PHP
Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
# Source0-md5: 229459304b4f44b23de97e8251168d30
URL: https://github.com/horde/horde/tree/master/framework/Scribe/
BuildRequires: php-channel(pear.horde.org)
BuildRequires: php-packagexml2cl
BuildRequires: php-pear-PEAR >= 1:1.7.0
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.610
Requires: php-channel(pear.horde.org)
Requires: php-horde-Horde_Thrift
Requires: php-pear >= 4:1.3.6-2
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Packaged version of the PHP Scribe client.
In PEAR status of this package is: %{status}.
%prep
%pear_package_setup
mv docs/Horde_Scribe/examples .
%build
packagexml2cl package.xml > ChangeLog
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc ChangeLog install.log
%{php_pear_dir}/.registry/.channel.*/*.reg
%{php_pear_dir}/Horde/Scribe.php
%{php_pear_dir}/Horde/Scribe
%{_examplesdir}/%{name}-%{version}
# ??? external scribe library bundled with Horde_Thrift
%{php_pear_dir}/Horde/Thrift
|