Author: glen Date: Thu Mar 9 23:53:25 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - config symlink killed - using system smarty
---- Files affected: SPECS: postnuke.spec (1.44 -> 1.45) ---- Diffs: ================================================================ Index: SPECS/postnuke.spec diff -u SPECS/postnuke.spec:1.44 SPECS/postnuke.spec:1.45 --- SPECS/postnuke.spec:1.44 Thu Mar 9 23:32:58 2006 +++ SPECS/postnuke.spec Fri Mar 10 00:53:20 2006 @@ -2,13 +2,26 @@ # TODO # - put pl language pack into separate package, such overwriting of # the original files is discriminating:) +# conflicting files list: +# $ tar tvf ../../../SOURCES/pn-0.760-pl.tar.gz |grep -v /pol/|grep -v '/$' +# html/docs/COPYING.txt +# html/includes/pnAPI.php +# html/includes/templates/dbconnectionerror.htm +# html/includes/templates/index.html +# html/includes/templates/siteoff.htm +# html/install/modify_config.php +# html/install/newdata.php +# html/install/upgrade.php +# html/language/languages.php +# html/modules/index.html # - contentexpress module is not installed # - use system Smarty and adodb +# - %%lang for install/lang/pol,fra,... messages? Summary: weblog/Content Management System (CMS) Summary(pl): System zarządzania treścią Name: postnuke Version: 0.762 -Release: 1.11 +Release: 1.15 License: GPL v2 Group: Applications/WWW Source0: http://downloads.postnuke.com/sf/postnuke/PostNuke-%{version}.tar.gz @@ -17,17 +30,20 @@ %define _ceversion 1.2.7.5 Source1: http://dl.sourceforge.net/xexpress/ce-%{_ceversion}.tar.gz # Source1-md5: 94840261251bbfa5b4b113d0f3c7faef -# Polish lang pack +# Polish lang hpack Source2: pn-0.760-pl.tar.gz # Source2-md5: 635f46d8a622a6cbff23da18ef19c95d Source3: %{name}-apache.conf Patch0: %{name}-pnTemp.patch +Patch1: %{name}-config.patch +Patch2: %{name}-smarty.patch URL: http://www.postnuke.com/ BuildRequires: rpmbuild(macros) >= 1.268 Requires: php-exif Requires: php-mysql >= 3:4.0.2 Requires: php-tokenizer Requires: webapps +Requires: Smarty >= 2.6.10-4 Obsoletes: postnuke-install BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -36,6 +52,7 @@ %define _webapp %{name} %define _sysconfdir %{_webapps}/%{_webapp} %define _appdir %{_datadir}/%{_webapp} +%define _smartyplugindir /usr/share/php/Smarty/plugins %description PostNuke is a weblog/Content Management System (CMS). It is far more @@ -91,24 +108,31 @@ %prep %setup -q -n PostNuke-%{version} -a1 -a2 -# undos the source +# dosi reavahetused maha. lihtsam pätsida. find . -type f -print0 | xargs -0 sed -i -e 's,\r$,,' %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +# pole mőtet seda vana faili sinna toppida > html/config-old.php +# roogime smarti välja +install -d smarty +mv html/includes/classes/Smarty/plugins/resource.{userdb,var}.php smarty +rm -rf html/includes/classes/Smarty + %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir},/var/lib/postnuke} +install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir},/var/lib/postnuke,%{_smartyplugindir}} cp -a html/* $RPM_BUILD_ROOT%{_appdir} mv $RPM_BUILD_ROOT%{_appdir}/config.php $RPM_BUILD_ROOT%{_sysconfdir} mv $RPM_BUILD_ROOT%{_appdir}/config-old.php $RPM_BUILD_ROOT%{_sysconfdir} mv $RPM_BUILD_ROOT%{_appdir}/pnTemp $RPM_BUILD_ROOT/var/lib/postnuke -ln -s %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_appdir} -ln -s %{_sysconfdir}/config-old.php $RPM_BUILD_ROOT%{_appdir} -install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf -install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf +install -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf +install -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf +install -p smarty/* $RPM_BUILD_ROOT%{_smartyplugindir} %clean rm -rf $RPM_BUILD_ROOT @@ -165,6 +189,7 @@ %{_appdir}/*.php %{_appdir}/*.txt %exclude %{_appdir}/install.php +%{_smartyplugindir}/* %defattr(644,http,http,755) /var/lib/postnuke @@ -181,6 +206,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.45 2006/03/09 23:53:20 glen +- config symlink killed +- using system smarty + Revision 1.44 2006/03/09 22:32:58 glen - webapps framework - renamed -install to -setup like other webapps do @@ -197,7 +226,7 @@ - typo Revision 1.40 2006/03/09 20:13:31 paszczus -- many changes, now works fine (thx sebastian at oclab.ano.pl) ; STBR +- many changes, now works fine (thx sebastian at oclab.ano.pl); STBR Revision 1.39 2006/02/26 19:53:33 paszczus - updated to 0.762 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/postnuke.spec?r1=1.44&r2=1.45&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
