From b34e6f8a44f4a3bb0be38ae201945c619831b45b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 10 Apr 2011 21:38:05 +0000 Subject: [PATCH] - horde h4 pear packages Changed files: php-horde-Horde_Form.spec -> 1.1 --- php-horde-Horde_Form.spec | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 php-horde-Horde_Form.spec diff --git a/php-horde-Horde_Form.spec b/php-horde-Horde_Form.spec new file mode 100644 index 0000000..c1c9f5b --- /dev/null +++ b/php-horde-Horde_Form.spec @@ -0,0 +1,59 @@ +# TODO +# - system locale dir +%define status stable +%define pearname Horde_Form +%include /usr/lib/rpm/macros.php +Summary: %{pearname} - Horde Form API +Name: php-horde-Horde_Form +Version: 1.0.0 +Release: 1 +License: LGPL +Group: Development/Languages/PHP +Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz +# Source0-md5: 66a4dca870f00a355efe4600c75eb2a2 +URL: http://pear.horde.org/package/Horde_Form/ +BuildRequires: php-channel(pear.horde.org) +BuildRequires: php-packagexml2cl +BuildRequires: php-pear-PEAR >= 1:1.7.0 +BuildRequires: rpm-php-pearprov >= 4.4.2-11 +BuildRequires: rpmbuild(macros) >= 1.610 +Requires: php-channel(pear.horde.org) +Requires: php-horde-Horde_Core < 2.0.0 +Requires: php-horde-Horde_Date < 2.0.0 +Requires: php-horde-Horde_Exception < 2.0.0 +Requires: php-horde-Horde_Mime < 2.0.0 +Requires: php-horde-Horde_Nls < 2.0.0 +Requires: php-horde-Horde_Token < 2.0.0 +Requires: php-horde-Horde_Translation < 2.0.0 +Requires: php-horde-Horde_Util < 2.0.0 +Requires: php-pear +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The Horde_Form package provides form rendering, validation, and other +functionality for the Horde Application Framework. + +In PEAR status of this package is: %{status}. + +%prep +%pear_package_setup + +%build +packagexml2cl package.xml > ChangeLog + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{php_pear_dir} +%pear_package_install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog install.log +%{php_pear_dir}/.registry/.channel.*/*.reg +%{php_pear_dir}/Horde/Form.php +%{php_pear_dir}/Horde/Form +%{php_pear_dir}/data/Horde_Form -- 2.44.0