- initial
authorZsolt Udvari <uzsolt@pld-linux.org>
Thu, 12 May 2011 14:28:38 +0000 (14:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- error: req pear(/usr/share/php/Smarty.class.php) not found

Changed files:
    CodeIgniter-lib-smarty.spec -> 1.1

CodeIgniter-lib-smarty.spec [new file with mode: 0644]

diff --git a/CodeIgniter-lib-smarty.spec b/CodeIgniter-lib-smarty.spec
new file mode 100644 (file)
index 0000000..09b6db5
--- /dev/null
@@ -0,0 +1,33 @@
+%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
This page took 0.52261 seconds and 4 git commands to generate.