rpms/php-Smarty/FC-6 php-Smarty.spec,1.3,1.4
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Mon Apr 30 04:00:29 UTC 2007
Author: xulchris
Update of /cvs/extras/rpms/php-Smarty/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14208
Modified Files:
php-Smarty.spec
Log Message:
sync with devel
Index: php-Smarty.spec
===================================================================
RCS file: /cvs/extras/rpms/php-Smarty/FC-6/php-Smarty.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- php-Smarty.spec 21 Feb 2007 21:17:20 -0000 1.3
+++ php-Smarty.spec 30 Apr 2007 03:59:54 -0000 1.4
@@ -1,15 +1,16 @@
Name: php-Smarty
Summary: Template/Presentation Framework for PHP
Version: 2.6.16
-Release: 1%{?dist}
+Release: 2%{?dist}
Source0: http://smarty.php.net/distributions/Smarty-%{version}.tar.gz
License: LGPL
-URL: http://smarty.php.net/
+URL: http://smarty.php.net
Group: Development/Libraries
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-Requires: php >= 5.1.6-3.4
+Requires: php >= 5.2.0-9
%description
Although Smarty is known as a "Template Engine", it would be more accurately
@@ -23,20 +24,23 @@
%prep
-%setup -q -n Smarty-%{version}
+%setup -qn Smarty-%{version}
%build
+# empty build section, nothing required
%install
rm -rf $RPM_BUILD_ROOT
+# install smarty libs
install -d $RPM_BUILD_ROOT%{_datadir}/php/Smarty
cp -a libs/* $RPM_BUILD_ROOT%{_datadir}/php/Smarty/
+# install icons
install -d $RPM_BUILD_ROOT%{_var}/www/icons
-install -m644 misc/smarty_icon.gif $RPM_BUILD_ROOT%{_var}/www/icons/
+install -pm 644 misc/smarty_icon.gif $RPM_BUILD_ROOT%{_var}/www/icons/
%clean
@@ -44,14 +48,18 @@
%files
-%defattr(-,root,root)
-%doc BUGS ChangeLog COPYING.lib demo FAQ NEWS QUICK_START README RELEASE_NOTES TODO
-%{_datadir}/php/Smarty/
+%defattr(-,root,root,-)
+%doc BUGS ChangeLog COPYING.lib demo FAQ NEWS QUICK_START README
+%doc RELEASE_NOTES TODO
+%{_datadir}/php/Smarty
%{_var}/www/icons/*
%changelog
-* Wed Feb 21 2007 Orion Poplawski <orion at cora.nwra.com> 2.6.16-1
+* Wed Feb 21 2007 Christopher Stone <chris.stone at gmail.com> 2.6.16-2
+- Minor spec file changes/cleanups
+
+* Fri Feb 09 2007 Orion Poplawski <orion at cora.nwra.com> 2.6.16-1
- Update to 2.6.16
- Install in /usr/share/php/Smarty
- Update php version requirement
More information about the fedora-extras-commits
mailing list