]>
Commit | Line | Data |
---|---|---|
6eacc3ee ER |
1 | %define status stable |
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 | |
6 | Version: 1.0.0 | |
7 | Release: 1 | |
8 | License: LGPL | |
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 | |
efc9fe16 | 21 | Requires: php-pear >= 4:1.3.6-2 |
6eacc3ee ER |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | The Horde_History API provides a way to track changes on arbitrary | |
27 | pieces of data in Horde applications. | |
28 | ||
29 | In PEAR status of this package is: %{status}. | |
30 | ||
31 | %prep | |
32 | %pear_package_setup | |
33 | ||
34 | %build | |
35 | packagexml2cl package.xml > ChangeLog | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
40 | %pear_package_install | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
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 |