From 0a03539fe936d6c1df2df07c6c03c32571678e10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Jaros=C5=82aw=20Mozer?= Date: Sat, 22 Feb 2003 00:00:36 +0000 Subject: [PATCH 1/1] - new Changed files: Smarty.spec -> 1.1 --- Smarty.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 Smarty.spec diff --git a/Smarty.spec b/Smarty.spec new file mode 100644 index 0000000..5afbdf2 --- /dev/null +++ b/Smarty.spec @@ -0,0 +1,71 @@ +# $Id: Smarty.spec,v 1.1 2003-02-22 00:00:36 baseciq Exp $ +%define _doc_version 2.4.0 +Summary: Template engine for PHP +Summary(pl): System template'owy dla PHP +Name: Smarty +Version: 2.4.2 +Release: 1 +License: LGPL +Group: Development/Languages/PHP +Source0: http://smarty.php.net/distributions/%{name}-%{version}.tar.gz +Source1: http://smarty.php.net/distributions/manual/en/%{name}-%{_doc_version}-docs.tar.gz +Requires: php +Requires: php-pear +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Vendor: Rulez.PL + +%description +Smarty is a template engine for PHP. Smarty provides your basic +variable substitution and dynamic block functionality, and also takes +a step further to be a "smart" template engine, adding features such +as configuration files, template functions, variable modifiers, and +making all of this functionality as easy as possible to use for both +programmers and template designers. + +%description -l pl +Smarty jest systemem template'owum dla PHP. Smarty pozwala na +podstawowe podstawianie warto¶ci zmiennych i na zaawansowane operacje +na tablicach. + +%package -n Smarty-doc +Summary: Template engine for PHP - documentation +Summary(pl): System template'owy dla PHP - dokumentacja +Version: %{_doc_version} +Group: Development/Languages/PHP + +%description -n Smarty-doc +Documentation for Smarty template engine. + +%description -n Smarty-doc -l pl +Dokumentacja do systemu template'owego Smarty. + +%prep +%setup -q -a 0 +%setup -q -a 1 + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/pear/%{name} +install -d $RPM_BUILD_ROOT%{_datadir}/pear/%{name}/plugins + + +install {Config_File,Smarty{,_Compiler}}.class.php $RPM_BUILD_ROOT%{_datadir}/pear/%{name} +install debug.tpl $RPM_BUILD_ROOT%{_datadir}/pear/%{name} +install plugins/*.php $RPM_BUILD_ROOT%{_datadir}/pear/%{name}/plugins/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS BUGS COPYING.lib CREDITS ChangeLog FAQ INSTALL NEWS QUICKSTART README RELEASE_NOTES RESOURCES TESTIMONIALS TODO +%dir %{_datadir}/pear/%{name} +%dir %{_datadir}/pear/%{name}/plugins +%{_datadir}/pear/Smarty/*.class.php +%{_datadir}/pear/%{name}/debug.tpl +%{_datadir}/pear/%{name}/plugins/*.php + +%files -n Smarty-doc +%defattr(644,root,root,755) +%doc manual/* -- 2.44.0