Author: glen Date: Wed Aug 29 17:10:26 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - update to 7.4a, separate template class
---- Files affected: SPECS: phplib.spec (1.9 -> 1.10) ---- Diffs: ================================================================ Index: SPECS/phplib.spec diff -u SPECS/phplib.spec:1.9 SPECS/phplib.spec:1.10 --- SPECS/phplib.spec:1.9 Tue Feb 13 09:06:40 2007 +++ SPECS/phplib.spec Wed Aug 29 19:10:21 2007 @@ -2,35 +2,46 @@ Summary: A library for PHP development Summary(pl.UTF-8): Biblioteka do rozwijania aplikacji PHP Name: phplib -Version: 7.2d +Version: 7.4a Release: 1 -Group: Libraries License: LGPL -Source0: http://dl.sourceforge.net/phplib/%{name}-%{version}.tar.bz2 -# Source0-md5: b927af46a619a703325038696dd49d8c +Group: Development/Languages/PHP +Source0: http://dl.sourceforge.net/phplib/%{name}-%{version}.tar.gz +# Source0-md5: 0dfc72f77d1503d562fa3cbbad066b48 URL: http://phplib.sourceforge.net/ Requires: php-common +Requires: %{name}-template = %{version}-%{release} BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _phpsharedir %{_datadir}/php +%define _appdir %{_datadir}/php %description -phplib is a library that will help you to write medium to large sized +PHPLIB is a library that will help you to write medium to large sized data-driven web applications with PHP. %description -l pl.UTF-8 -phplib to biblioteka, która ułatwi ci pisanie średnich i dużych +PHPLIB to biblioteka, która ułatwi ci pisanie średnich i dużych aplikacji web bazujących na PHP. +%package template +Summary: PHPLIB template engine +Group: Development/Languages/PHP + +%description template +The template class allows you to keep your HTML code in some external files +which are completely free of PHP code, but contain replacement fields. The +class provides you with functions which can fill in the replacement fields with +arbitrary strings. These strings can become very large, e.g. entire tables. + %prep %setup -q %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_phpsharedir}/%{name} +install -d $RPM_BUILD_ROOT%{_appdir}/%{name} -install php/* $RPM_BUILD_ROOT%{_phpsharedir}/%{name} +install php/* $RPM_BUILD_ROOT%{_appdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT @@ -38,7 +49,14 @@ %files %defattr(644,root,root,755) %doc doc/*.html doc/FAQ.ps doc/README* CHANGES CREDITS HELP TODO pages -%{_phpsharedir}/%{name} +%dir %{_appdir}/%{name} +%{_appdir}/%{name}/* +%exclude %{_appdir}/%{name}/template.inc + +%files template +%defattr(644,root,root,755) +%dir %{_appdir}/%{name} +%{_appdir}/%{name}/template.inc %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -46,6 +64,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.10 2007/08/29 17:10:21 glen +- update to 7.4a, separate template class + Revision 1.9 2007/02/13 08:06:40 glen - tabs in preamble ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/phplib.spec?r1=1.9&r2=1.10&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
