rpms/php-Smarty/devel php-Smarty.spec,1.3,1.4
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Wed Feb 21 22:27:27 UTC 2007
Author: xulchris
Update of /cvs/extras/rpms/php-Smarty/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32686
Modified Files:
php-Smarty.spec
Log Message:
Minor spec file changes
Index: php-Smarty.spec
===================================================================
RCS file: /cvs/extras/rpms/php-Smarty/devel/php-Smarty.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- php-Smarty.spec 9 Feb 2007 18:45:04 -0000 1.3
+++ php-Smarty.spec 21 Feb 2007 22:26:54 -0000 1.4
@@ -5,8 +5,9 @@
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.2.0-9
@@ -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,13 +48,17 @@
%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 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
More information about the scm-commits
mailing list