%define pear_name File Name: pear-%pear_name Version: 1.3.0 Release: alt1 Summary: Common file and directory routines, also CSV handling License: PHP Group: Development/Other Url: http://pear.php.net/package/%pear_name Packager: Vitaly Lipatov <lav@altlinux.ru> Source: http://pear.php.net/get/%pear_name-%version.tar.bz2 BuildArch: noarch Requires: pear-core BuildRequires: pear-core rpm-build-pear %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 %_peardir/%pear_name.php %_peardir/%pear_name/ %_pearxmldir/%pear_name.xml %_peartestdir/%pear_name %changelog * Fri Jan 04 2008 Vitaly Lipatov <lav@altlinux.ru> 1.3.0-alt1 - Initial build for ALT Linux