2 %define pearname Horde_History
3 %include /usr/lib/rpm/macros.php
4 Summary: %{pearname} - API for tracking the history of an object
5 Name: php-horde-Horde_History
9 Group: Development/Languages/PHP
10 Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
11 # Source0-md5: b7cf809e88f969f5d0099ca45e7fa7b3
12 URL: http://pear.horde.org/package/Horde_History/
13 BuildRequires: php-channel(pear.horde.org)
14 BuildRequires: php-packagexml2cl
15 BuildRequires: php-pear-PEAR >= 1:1.7.0
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.610
18 Requires: php-channel(pear.horde.org)
19 Requires: php-horde-Horde_Db < 2.0.0
20 Requires: php-horde-Horde_Exception < 2.0.0
21 Requires: php-pear >= 4:1.3.6-2
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The Horde_History API provides a way to track changes on arbitrary
27 pieces of data in Horde applications.
29 In PEAR status of this package is: %{status}.
35 packagexml2cl package.xml > ChangeLog
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{php_pear_dir}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc ChangeLog install.log
48 %{php_pear_dir}/.registry/.channel.*/*.reg
49 %{php_pear_dir}/Horde/History.php
50 %{php_pear_dir}/Horde/History
51 %{php_pear_dir}/data/Horde_History