]> git.pld-linux.org Git - SPECS.git/blob - php-horde-Horde_View.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / php-horde-Horde_View.spec
1 %define         status          stable
2 %define         pearname        Horde_View
3 Summary:        %{pearname} - Horde View API
4 Name:           php-horde-Horde_View
5 Version:        1.0.1
6 Release:        1
7 License:        LGPL
8 Group:          Development/Languages/PHP
9 Source0:        http://pear.horde.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5:  ca2948aac29882d1a9a8ba0ca6ebde7a
11 URL:            https://github.com/horde/horde/tree/master/framework/View/
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-horde-Horde_Util < 2.0.0
21 Requires:       php-pear >= 4:1.3.6-2
22 Suggests:       php-horde-Horde_Controller
23 Suggests:       php-horde-Horde_Routes
24 Suggests:       php-json
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 # exclude optional dependencies
29 %define         _noautoreq       pear(Horde/Controller.*) pear(Horde/Routes.*)
30
31 %description
32 The Horde_View library provides a simple View pattern implementation.
33
34 In PEAR status of this package is: %{status}.
35
36 %prep
37 %pear_package_setup
38
39 mv docs/Horde_View/examples .
40
41 %build
42 packagexml2cl package.xml > ChangeLog
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 %pear_package_install
48
49 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post -p <lua>
56 %pear_package_print_optionalpackages
57
58 %files
59 %defattr(644,root,root,755)
60 %doc ChangeLog install.log
61 %doc optional-packages.txt
62 %doc docs/Horde_View/*
63 %{php_pear_dir}/.registry/.channel.*/*.reg
64 %{php_pear_dir}/Horde/View.php
65 %{php_pear_dir}/Horde/View
66 %{_examplesdir}/%{name}-%{version}
This page took 0.180322 seconds and 3 git commands to generate.