]> git.pld-linux.org Git - SPECS.git/blob - php-horde-Horde_Perms.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / php-horde-Horde_Perms.spec
1 # TODO
2 # - system locale dir
3 %define         status          stable
4 %define         pearname        Horde_Perms
5 Summary:        %{pearname} - Horde Permissions System
6 Name:           php-horde-Horde_Perms
7 Version:        1.0.7
8 Release:        1
9 License:        LGPL
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.horde.org/get/%{pearname}-%{version}.tgz
12 # Source0-md5:  858d9ffe0fd1c71eedff31c4cbaee704
13 URL:            https://github.com/horde/horde/tree/master/framework/Perms/
14 BuildRequires:  php-channel(pear.horde.org)
15 BuildRequires:  php-packagexml2cl
16 BuildRequires:  php-pear-PEAR >= 1:1.7.0
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 BuildRequires:  rpmbuild(macros) >= 1.610
19 Requires:       php-channel(pear.horde.org)
20 Requires:       php-horde-Horde_Db < 2.0.0
21 Requires:       php-horde-Horde_Exception < 2.0.0
22 Requires:       php-horde-Horde_Group < 2.0.0
23 Requires:       php-horde-Horde_Translation < 2.0.0
24 Requires:       php-horde-Horde_Util < 2.0.0
25 Requires:       php-pear >= 4:1.3.6-2
26 Suggests:       php-horde-Horde_DataTree
27 Suggests:       php-horde-Horde_Tree
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 # exclude optional dependencies
32 %define         _noautoreq       pear(Horde/DataTree.*) pear(Horde/Tree.*)
33
34 %description
35 The Perms package provides an interface to the Horde permissions
36 system.
37
38 In PEAR status of this package is: %{status}.
39
40 %prep
41 %pear_package_setup
42
43 %build
44 packagexml2cl package.xml > ChangeLog
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 %pear_package_install
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post -p <lua>
55 %pear_package_print_optionalpackages
56
57 %files
58 %defattr(644,root,root,755)
59 %doc ChangeLog install.log
60 %doc optional-packages.txt
61 %{php_pear_dir}/.registry/.channel.*/*.reg
62 %{php_pear_dir}/Horde/Perms.php
63 %{php_pear_dir}/Horde/Perms
64 %{php_pear_dir}/data/Horde_Perms
This page took 0.567538 seconds and 3 git commands to generate.