]>
Commit | Line | Data |
---|---|---|
6eacc3ee ER |
1 | %define status stable |
2 | %define pearname Horde_History | |
6eacc3ee ER |
3 | Summary: %{pearname} - API for tracking the history of an object |
4 | Name: php-horde-Horde_History | |
6ff69dab | 5 | Version: 1.0.1 |
6eacc3ee ER |
6 | Release: 1 |
7 | License: LGPL | |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
6ff69dab | 10 | # Source0-md5: 5c88e5bef2d62e187f93f9d77d090efc |
78bf1c9b | 11 | URL: https://github.com/horde/horde/tree/master/framework/History/ |
6eacc3ee ER |
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_Db < 2.0.0 | |
19 | Requires: php-horde-Horde_Exception < 2.0.0 | |
efc9fe16 | 20 | Requires: php-pear >= 4:1.3.6-2 |
6eacc3ee ER |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | The Horde_History API provides a way to track changes on arbitrary | |
26 | pieces of data in Horde applications. | |
27 | ||
28 | In PEAR status of this package is: %{status}. | |
29 | ||
30 | %prep | |
31 | %pear_package_setup | |
32 | ||
33 | %build | |
34 | packagexml2cl package.xml > ChangeLog | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
39 | %pear_package_install | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc ChangeLog install.log | |
47 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
48 | %{php_pear_dir}/Horde/History.php | |
49 | %{php_pear_dir}/Horde/History | |
50 | %{php_pear_dir}/data/Horde_History |