Logoj0ke.net Open Build Service > Projects > internetx:php5:EL5:5.3.26:extensions > php-smarty > php-Smarty.spec
Sign Up | Log In

File php-Smarty.spec of Package php-smarty

 
1
Name:           php-Smarty
2
Summary:        Template/Presentation Framework for PHP
3
Version:        2.6.20
4
Release:        1
5
6
Source0:        Smarty-%{version}.tar.gz
7
License:        LGPLv2+
8
Group:          Development/Libraries
9
10
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11
BuildArch:      noarch
12
Requires:       php
13
14
%description
15
Although Smarty is known as a "Template Engine", it would be more accurately
16
described as a "Template/Presentation Framework." That is, it provides the
17
programmer and template designer with a wealth of tools to automate tasks
18
commonly dealt with at the presentation layer of an application. I stress the
19
word Framework because Smarty is not a simple tag-replacing template engine.
20
Although it can be used for such a simple purpose, its focus is on quick and
21
painless development and deployment of your application, while maintaining
22
high-performance, scalability, security and future growth.
23
24
25
%prep
26
%setup -qn Smarty-%{version}
27
iconv -f iso8859-1 -t utf-8 NEWS > NEWS.conv && mv -f NEWS.conv NEWS
28
iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
29
30
31
%build
32
# empty build section, nothing required
33
34
35
%install
36
rm -rf $RPM_BUILD_ROOT
37
38
# install smarty libs
39
install -d $RPM_BUILD_ROOT%{_datadir}/php/Smarty
40
cp -a libs/* $RPM_BUILD_ROOT%{_datadir}/php/Smarty/
41
42
# install icons
43
install -d $RPM_BUILD_ROOT%{_var}/www/icons
44
install -pm 644 misc/smarty_icon.gif $RPM_BUILD_ROOT%{_var}/www/icons/
45
46
47
%clean
48
rm -rf $RPM_BUILD_ROOT
49
50
51
%files
52
%defattr(-,root,root,-)
53
%doc BUGS ChangeLog COPYING.lib demo FAQ NEWS QUICK_START README
54
%doc RELEASE_NOTES TODO
55
%{_datadir}/php/Smarty
56
%{_var}/www/icons/*
57
58
59
%changelog
60
* Mon Oct 13 2008 Christopher Stone <chris.stone@gmail.com> 2.6.20-1
61
- Upstream sync
62
63
* Wed Feb 20 2008 Christopher Stone <chris.stone@gmail.com> 2.6.19-1
64
- Upstream sync
65
- Update %%license
66
- Fix file encoding
67
68
* Sun Apr 29 2007 Christopher Stone <chris.stone@gmail.com> 2.6.18-1
69
- Upstream sync
70
71
* Wed Feb 21 2007 Christopher Stone <chris.stone@gmail.com> 2.6.16-2
72
- Minor spec file changes/cleanups
73
74
* Fri Feb 09 2007 Orion Poplawski <orion@cora.nwra.com> 2.6.16-1
75
- Update to 2.6.16
76
- Install in /usr/share/php/Smarty
77
- Update php version requirement
78
79
* Tue May 16 2006 Orion Poplawski <orion@cora.nwra.com> 2.6.13-1
80
- Update to 2.6.13
81
82
* Tue Nov  1 2005 Orion Poplawski <orion@cora.nwra.com> 2.6.10-2
83
- Fix Source0 URL.
84
85
* Thu Oct 13 2005 Orion Poplawski <orion@cora.nwra.com> 2.6.10-1
86
- Initial Fedora Extras version
87