]> git.pld-linux.org Git - packages/CodeIgniter-lib-smarty.git/blob - CodeIgniter-lib-smarty.spec
- update to compatible with Smarty 3.1.x
[packages/CodeIgniter-lib-smarty.git] / CodeIgniter-lib-smarty.spec
1 %define         php_min_version 5.2.4
2 %define         shortname       smarty
3 %include        /usr/lib/rpm/macros.php
4 Summary:        Use smarty template engine in CodeIgniter
5 Name:           CodeIgniter-lib-%{shortname}
6 Version:        2
7 Release:        0.1
8 License:        GPL
9 Group:          Development/Languages/PHP
10 Source0:        Smarty_tpl.php
11 Requires:       CodeIgniter >= 2.0.0
12 Requires:       php-Smarty >= 3.1
13 Requires:       php-common >= 4:%{php_min_version}
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _appdir         %{_datadir}/CodeIgniter
18 %define         _noautoreq      pear(Smarty/Smarty.class.php)
19
20 %description
21 Use smarty template engine in CodeIgniter.
22
23 %prep
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT%{_appdir}/system/libraries
28 cp -p %{SOURCE0} $RPM_BUILD_ROOT%{_appdir}/system/libraries
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files
34 %defattr(644,root,root,755)
35 %{_appdir}/system/libraries/Smarty_tpl.php
This page took 0.075722 seconds and 3 git commands to generate.