]> git.pld-linux.org Git - packages/php-horde-Horde_Data.git/blob - php-horde-Horde_Data.spec
0a8fe20e88bc285d5eeecf1a82100110437782d8
[packages/php-horde-Horde_Data.git] / php-horde-Horde_Data.spec
1 # TODO
2 # - system locale dir
3 %define         status          stable
4 %define         pearname        Horde_Data
5 %include        /usr/lib/rpm/macros.php
6 Summary:        %{pearname} - Horde Data API
7 Name:           php-horde-Horde_Data
8 Version:        1.0.0
9 Release:        1
10 License:        LGPL
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.horde.org/get/%{pearname}-%{version}.tgz
13 # Source0-md5:  3fa6c32762ebe8d125dec04b0bd89608
14 URL:            http://pear.horde.org/package/Horde_Data/
15 BuildRequires:  php-channel(pear.horde.org)
16 BuildRequires:  php-packagexml2cl
17 BuildRequires:  php-pear-PEAR >= 1:1.7.0
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 BuildRequires:  rpmbuild(macros) >= 1.610
20 Requires:       php-channel(pear.horde.org)
21 Requires:       php-horde-Horde_Browser < 2.0.0
22 Requires:       php-horde-Horde_Exception < 2.0.0
23 Requires:       php-horde-Horde_Icalendar < 2.0.0
24 Requires:       php-horde-Horde_Mime < 2.0.0
25 Requires:       php-horde-Horde_Translation < 2.0.0
26 Requires:       php-horde-Horde_Util < 2.0.0
27 Requires:       php-pear >= 4:1.3.6-2
28 Suggests:       php-horde-Horde_Util
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 # exclude optional dependencies
33 %define         _noautoreq       pear(Horde/Util.*)
34
35 %description
36 This package provides a data import and export API, with backends for:
37 - CSV
38 - TSV
39 - iCalendar
40 - vCard
41 - vNote
42 - vTodo
43
44 In PEAR status of this package is: %{status}.
45
46 %prep
47 %pear_package_setup
48
49 %build
50 packagexml2cl package.xml > ChangeLog
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}
55 %pear_package_install
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post -p <lua>
61 %pear_package_print_optionalpackages
62
63 %files
64 %defattr(644,root,root,755)
65 %doc ChangeLog install.log
66 %doc optional-packages.txt
67 %doc docs/Horde_Data/*
68 %{php_pear_dir}/.registry/.channel.*/*.reg
69 %{php_pear_dir}/Horde/Data.php
70 %{php_pear_dir}/Horde/Data
71 %{php_pear_dir}/data/Horde_Data
This page took 0.037631 seconds and 2 git commands to generate.