%define status stable %define pearname Horde_Text_Flowed %include /usr/lib/rpm/macros.php Summary: %{pearname} - Horde API for flowed text as per RFC 3676 Name: php-horde-Horde_Text_Flowed Version: 1.0.0 Release: 1 License: LGPL Group: Development/Languages/PHP Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz # Source0-md5: 49e6bb391a0f919a9d6d43f320b6db13 URL: http://pear.horde.org/package/Horde_Text_Flowed/ 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_Util < 2.0.0 Requires: php-pear BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The Horde_Text_Flowed:: class provides common methods for manipulating text using the encoding described in RFC 3676 ('flowed' text). 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 # TODO: dir owner? %dir %{php_pear_dir}/Horde/Text %{php_pear_dir}/Horde/Text/Flowed.php