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