packages: CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec (NEW) - initia...
uzsolt
uzsolt at pld-linux.org
Thu May 12 16:28:43 CEST 2011
Author: uzsolt Date: Thu May 12 14:28:43 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
- error: req pear(/usr/share/php/Smarty.class.php) not found
---- Files affected:
packages/CodeIgniter-lib-smarty:
CodeIgniter-lib-smarty.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec
diff -u /dev/null packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec:1.1
--- /dev/null Thu May 12 16:28:43 2011
+++ packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec Thu May 12 16:28:38 2011
@@ -0,0 +1,45 @@
+# $Revision$, $Date$
+%define php_min_version 5.2.4
+%include /usr/lib/rpm/macros.php
+%define shortname smarty
+Summary: Use smarty template engine in CodeIgniter
+Name: CodeIgniter-lib-%{shortname}
+Version: 1
+Release: 0.1
+License: GPL
+Group: Development/Languages/PHP
+Source0: Smarty_tpl.php
+Requires: CodeIgniter >= 2.0.0
+Requires: php-Smarty >= 3.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _appdir %{_datadir}/CodeIgniter
+
+%description
+Use smarty template engine in CodeIgniter.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}/system/libraries
+install %{SOURCE0} $RPM_BUILD_ROOT%{_appdir}/system/libraries
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_appdir}/system/libraries/Smarty_tpl.php
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/05/12 14:28:38 uzsolt
+- initial
+- error: req pear(/usr/share/php/Smarty.class.php) not found
+
================================================================
More information about the pld-cvs-commit
mailing list