]> git.pld-linux.org Git - SPECS.git/blob - php-horde-Horde_Db.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-horde-Horde_Db.spec
1 %define         status          stable
2 %define         pearname        Horde_Db
3 Summary:        %{pearname} - Horde Database Libraries
4 Name:           php-horde-Horde_Db
5 Version:        1.2.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:  1fda2914a6db7c6f1bbd4b62b1a7c8ec
11 URL:            https://github.com/horde/horde/tree/master/framework/Db/
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_Date <= 2.0.0
19 Requires:       php-horde-Horde_Exception <= 2.0.0
20 Requires:       php-horde-Horde_Support <= 2.0.0
21 Requires:       php-pear >= 4:1.3.6-2
22 Suggests:       php-horde-Horde_Autoloader
23 Suggests:       php-horde-Horde_Cache
24 Suggests:       php-horde-Horde_Log
25 Suggests:       php-mysql
26 Suggests:       php-mysqli
27 Suggests:       php-pdo
28 Conflicts:      php-horde-Horde_Date = 2.0.0
29 Conflicts:      php-horde-Horde_Exception = 2.0.0
30 Conflicts:      php-horde-Horde_Support = 2.0.0
31 BuildArch:      noarch
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 # exclude optional dependencies
35 %define         _noautoreq       pear(Horde/Autoloader.*) pear(Horde/Cache.*) pear(Horde/Log.*)
36
37 %description
38 Horde database/SQL abstraction layer
39
40 In PEAR status of this package is: %{status}.
41
42 %prep
43 %pear_package_setup
44
45 %build
46 packagexml2cl package.xml > ChangeLog
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
51 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
52 install -p ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
53 %pear_package_install
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post -p <lua>
59 %pear_package_print_optionalpackages
60
61 %files
62 %defattr(644,root,root,755)
63 %doc ChangeLog install.log
64 %doc optional-packages.txt
65 %doc docs/Horde_Db/*
66 %attr(755,root,root) %{_bindir}/horde-db-migrate-component
67 %{php_pear_dir}/.registry/.channel.*/*.reg
68 %{php_pear_dir}/Horde/Db.php
69 %{php_pear_dir}/Horde/Db
This page took 0.069631 seconds and 3 git commands to generate.