Name: php-Smarty Summary: Template/Presentation Framework for PHP Version: 3.1.21 Release: 5%{?dist} Source0: http://www.smarty.net/files/Smarty-%{version}.tar.gz URL: http://www.smarty.net License: LGPLv2+ Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Provides: php-composer(smarty/smarty) = %{version} Requires: php-ctype php-date php-pcre php-mbstring php-spl %description Although Smarty is known as a "Template Engine", it would be more accurately described as a "Template/Presentation Framework." That is, it provides the programmer and template designer with a wealth of tools to automate tasks commonly dealt with at the presentation layer of an application. I stress the word Framework because Smarty is not a simple tag-replacing template engine. Although it can be used for such a simple purpose, its focus is on quick and painless development and deployment of your application, while maintaining high-performance, scalability, security and future growth. %prep %setup -qn Smarty-%{version} sed -e "s/Smarty-3.1.21-dev/Smarty-3.1.21/" -i libs/Smarty.class.php %build # empty build section, nothing required %install rm -rf $RPM_BUILD_ROOT # install smarty libs install -d $RPM_BUILD_ROOT%{_datadir}/php/Smarty cp -a libs/* $RPM_BUILD_ROOT%{_datadir}/php/Smarty/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING.lib demo README change_log.txt SMARTY*.txt %{_datadir}/php/Smarty %changelog * Sat Feb 11 2017 Fedora Release Engineering - 3.1.21-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 3.1.21-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 3.1.21-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Oct 23 2014 Johan Cwiklinski - 3.1.21-2 - Fix requires * Thu Oct 23 2014 Johan Cwiklinski - 3.1.21-1 - New upstream release - Fix version constant * Wed Oct 15 2014 Johan Cwiklinski - 3.1.20-1 - New upstream release * Thu Jul 31 2014 Johan Cwiklinski - 3.1.19-2 - Add composer provides * Wed Jul 30 2014 Johan Cwiklinski - 3.1.19-1 - Last upstream release * Sat Jun 07 2014 Fedora Release Engineering - 3.1.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat May 10 2014 Johan Cwiklinski - 3.1.18-1 - Last upstream release * Sun Dec 22 2013 Johan Cwiklinski - 3.1.16-1 - Last upstream release * Sun Dec 08 2013 Johan Cwiklinski - 3.1.15-1 - Last upstream release * Thu Aug 08 2013 Johan Cwiklinski - 3.1.14-1 - Last upstream release * Sun Aug 04 2013 Fedora Release Engineering - 3.1.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Feb 12 2013 Johan Cwiklinski - 3.1.13-1 - Last upstream release - Missing mbstring require * Sun Nov 25 2012 Johan Cwiklinski - 3.1.12-2 - Really fix requires (see bz #700179 comment #30) * Sun Nov 25 2012 Johan Cwiklinski - 3.1.12-1 - Update to 3.1.12 - Remove CVE-2012-4437 patch that has been included in that release - Requires php-common instead of php * Thu Sep 20 2012 Jon Ciesla - 3.1.11-1 - Update to 3.1.11, patch for CVE-2012-4437, BZ 858989. * Fri Jul 20 2012 Fedora Release Engineering - 3.1.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 22 2012 Johan Cwiklinski - 3.1.10-1 - Update to 3.1.10 * Mon May 07 2012 Jon Ciesla - 3.1.8-1 - Update to 3.1.8, BZ 819162. * Sat Jan 14 2012 Fedora Release Engineering - 2.6.26-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 2.6.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Oct 11 2009 Christopher Stone 2.6.26-1 - Upstream sync - Update %%source0 and %%URL * Sun Jul 26 2009 Fedora Release Engineering - 2.6.25-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon May 25 2009 Christopher Stone 2.6.25-1 - Upstream sync * Thu Feb 26 2009 Fedora Release Engineering - 2.6.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Nov 02 2008 Christopher Stone 2.6.20-2 - Add security patch (bz #469648) - Add RHL dist tag conditional for Requires * Mon Oct 13 2008 Christopher Stone 2.6.20-1 - Upstream sync * Wed Feb 20 2008 Christopher Stone 2.6.19-1 - Upstream sync - Update %%license - Fix file encoding * Sun Apr 29 2007 Christopher Stone 2.6.18-1 - Upstream sync * Wed Feb 21 2007 Christopher Stone 2.6.16-2 - Minor spec file changes/cleanups * Fri Feb 09 2007 Orion Poplawski 2.6.16-1 - Update to 2.6.16 - Install in /usr/share/php/Smarty - Update php version requirement * Tue May 16 2006 Orion Poplawski 2.6.13-1 - Update to 2.6.13 * Tue Nov 1 2005 Orion Poplawski 2.6.10-2 - Fix Source0 URL. * Thu Oct 13 2005 Orion Poplawski 2.6.10-1 - Initial Fedora Extras version