]> git.pld-linux.org Git - SPECS.git/blob - php-horde-Horde_Serialize.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-horde-Horde_Serialize.spec
1 %define         status          stable
2 %define         pearname        Horde_Serialize
3 Summary:        %{pearname} - Data Encapulation API
4 Name:           php-horde-Horde_Serialize
5 Version:        1.0.2
6 Release:        1
7 License:        LGPL
8 Group:          Development/Languages/PHP
9 Source0:        http://pear.horde.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5:  f306bf4571023900486aa62ea824a261
11 URL:            https://github.com/horde/horde/tree/master/framework/Serialize/
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_Util < 2.0.0
20 Requires:       php-pear >= 4:1.3.6-2
21 Suggests:       php(bz2)
22 Suggests:       php(json)
23 Suggests:       php(lzf)
24 Suggests:       php(wddx)
25 Suggests:       php(zlib)
26 Suggests:       php-horde-Horde_Imap_Client
27 Suggests:       php-horde-Horde_Mime
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 # exclude optional dependencies
32 %define         _noautoreq       pear(Horde/Imap/Client.*) pear(Horde/Mime.*)
33
34 %description
35 The Horde_Serialize library provides various methods of encapsulating
36 data.
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 %doc docs/Horde_Serialize/*
62 %{php_pear_dir}/.registry/.channel.*/*.reg
63 %{php_pear_dir}/Horde/Serialize.php
64 %{php_pear_dir}/Horde/Serialize
This page took 0.367654 seconds and 3 git commands to generate.