steffen: server/php-smarty Makefile, 1.2, 1.3 php-smarty.spec, 1.3, 1.4
cvs at intevation.de
cvs at intevation.de
Mon Oct 3 05:03:13 CEST 2005
Author: steffen
Update of /kolabrepository/server/php-smarty
In directory doto:/tmp/cvs-serv28587
Modified Files:
Makefile php-smarty.spec
Log Message:
Updated Smarty version
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/php-smarty/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile 2 Jul 2004 12:27:33 -0000 1.2
+++ Makefile 3 Oct 2005 03:03:11 -0000 1.3
@@ -1,7 +1,7 @@
RPM = /kolab/bin/openpkg rpm
NAME = Smarty
RPMNAME = php-smarty
-VERSION = 2.6.3
+VERSION = 2.6.10
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
@@ -9,8 +9,7 @@
all:
test -d $(KOLABRPMSRC)/$(RPMNAME) || mkdir $(KOLABRPMSRC)/$(RPMNAME)
- cd $(KOLABRPMSRC)/$(RPMNAME) && wget -c "http://smarty.php.net/distributions/$(NAME)-$(VERSION).tar.gz" \
- "http://smarty.php.net/distributions/manual/en/$(NAME)-$(VERSION)-docs.tar.gz"
+ cd $(KOLABRPMSRC)/$(RPMNAME) && wget -c "http://smarty.php.net/distributions/$(NAME)-$(VERSION).tar.gz"
cp $(RPMNAME).spec $(KOLABRPMSRC)/$(RPMNAME)
cd $(KOLABRPMSRC)/$(RPMNAME) && $(RPM) -ba $(RPMNAME).spec
Index: php-smarty.spec
===================================================================
RCS file: /kolabrepository/server/php-smarty/php-smarty.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- php-smarty.spec 2 Jul 2004 12:27:33 -0000 1.3
+++ php-smarty.spec 3 Oct 2005 03:03:11 -0000 1.4
@@ -1,14 +1,14 @@
# Versions
-%define V_php 4.0.6
-%define V_Smarty 2.6.3
+%define V_php 4.3.11
+%define V_Smarty 2.6.10
# Package Information
Name: php-smarty
Summary: Template engine for PHP
URL: http://smarty.php.net/
Packager: Steffen Hansen <steffen at klaralvdalens-datakonsult.se> (Klaraelvdalens Datakonsult AB)
-Version: 2.6.3
-Release: 20040702
+Version: 2.6.10
+Release: 20051003
Class: JUNK
License: LGPL
Group: Languages
@@ -16,7 +16,6 @@
# List of Sources
Source0: http://smarty.php.net/distributions/Smarty-%{version}.tar.gz
-Source1: http://smarty.php.net/distributions/manual/en/Smarty-%{version}-docs.tar.gz
# Build Info
Prefix: %{l_prefix}
@@ -36,32 +35,33 @@
programmers and template designers.
%prep
- %setup -q -n Smarty-%{version} -a 1
+ %setup -q -n Smarty-%{version}
%build
%install
rm -rf $RPM_BUILD_ROOT
- %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/core
+ %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/internals
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/plugins
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/share/php-smarty/manual/stylesheet-images
%{l_shtool} install -m 644 libs/{Config_File,Smarty{,_Compiler}}.class.php \
$RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty
%{l_shtool} install -m 644 libs/debug.tpl $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty
- %{l_shtool} install -m 644 libs/core/*.php $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/core
+ %{l_shtool} install -m 644 libs/internals/*.php $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/internals
%{l_shtool} install -m 644 libs/plugins/*.php $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/plugins
%{l_shtool} install -m 644 BUGS ChangeLog FAQ INSTALL NEWS README RELEASE_NOTES TODO \
$RPM_BUILD_ROOT%{l_prefix}/share/php-smarty
- %{l_shtool} install -m 644 manual/*\
- $RPM_BUILD_ROOT%{l_prefix}/share/php-smarty/manual
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
%doc %{l_prefix}/share/php-smarty/BUGS %{l_prefix}/share/php-smarty/ChangeLog \
%{l_prefix}/share/php-smarty/FAQ %{l_prefix}/share/php-smarty/INSTALL \
%{l_prefix}/share/php-smarty/NEWS %{l_prefix}/share/php-smarty/README \
- %{l_prefix}/share/php-smarty/RELEASE_NOTES %{l_prefix}/share/php-smarty/TODO \
- %{l_prefix}/share/php-smarty/manual/*
+ %{l_prefix}/share/php-smarty/RELEASE_NOTES %{l_prefix}/share/php-smarty/TODO
%clean
rm -rf $RPM_BUILD_ROOT
%files -f files
+
+%post
+ echo "Removing old compiled templates from %{l_prefix}/var/kolab/php/admin/templates_c"
+ rm -f %{l_prefix}/var/kolab/php/admin/templates_c/*
More information about the commits
mailing list