%define pear_name File Name: pear-File Version: 1.3.0 Release: alt2 Summary: Common file and directory routines, also CSV handling License: PHP Group: Development/Other Url: http://pear.php.net/package/File Packager: Vitaly Lipatov <lav@altlinux.ru> Source: http://pear.php.net/get/File-%version.tar.bz2 BuildArchitectures: noarch Requires: pear-core BuildRequires: pear-core rpm-build-pear Requires: pear-PEAR >= 1.5.3, pear-core >= 1.4.0b1 %description Provides easy access to read/write to files along with some common routines to deal with paths. Also provides interface for handling CSV files. %prep %setup -c -n %pear_name-%version %pear_prepare_module %install cd %pear_name-%version %pear_install_module %post %pear_install %preun %pear_uninstall %files %doc LICENSE CHANGELOG %pear_dir/File %pear_testdir/File/tests %pear_dir/File.php %pear_xmldir/%pear_name.xml %changelog * Sat Jan 05 2008 Vitaly Lipatov <lav@altlinux.ru> 1.3.0-alt2 - update spec for new rpm-build-pear 0.2 * Fri Jan 04 2008 Vitaly Lipatov <lav@altlinux.ru> 1.3.0-alt1 - Initial build for ALT Linux