77;20202;0ccatbodySummary: Smarty is a template engine for PHP Name: smarty Version: 2.6.3 Release: 1 License: LGPL Group: Development/Languages URL: http://smarty.php.net/ Source0: Smarty-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch %description Smarty is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation. This is best described in a situation where the application programmer and the template designer play different roles, or in most cases are not the same person. %prep %setup -q -n Smarty-%{version} %build %install rm -rf ${RPM_BUILD_ROOT} %__mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}/php4/smarty %__cp -rp \ ${RPM_BUILD_DIR}/Smarty-%{version}/libs/* \ ${RPM_BUILD_ROOT}/%{_libdir}/php4/smarty pushd ${RPM_BUILD_ROOT} find . -type f | sed 's/^\.//'g > ${RPM_BUILD_DIR}/Smarty-%{version}/smarty-filelist popd %clean rm -rf ${RPM_BUILD_ROOT} %files -f smarty-filelist %defattr(-,root,root,-) %doc BUGS COPYING.lib ChangeLog FAQ INSTALL NEWS README RELEASE_NOTES TODO %changelog * Sat Jul 3 2004 - Initial build.