Author: glen Date: Tue Jun 17 05:43:05 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - use phpdoc dir
---- Files affected: SPECS: phpmailer.spec (1.4 -> 1.5) ---- Diffs: ================================================================ Index: SPECS/phpmailer.spec diff -u SPECS/phpmailer.spec:1.4 SPECS/phpmailer.spec:1.5 --- SPECS/phpmailer.spec:1.4 Tue Jun 17 07:29:17 2008 +++ SPECS/phpmailer.spec Tue Jun 17 07:43:00 2008 @@ -13,7 +13,10 @@ BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _appdir %{php_data_dir}/%{name} +# _phpdocdir / php_docdir / phpdoc_dir ? +%define _phpdocdir %{_docdir}/phpdoc + +%define _appdir %{php_data_dir}/%{name} %description PHP email transport class featuring multiple file attachments, SMTP @@ -31,6 +34,7 @@ Summary: Online manual for %{name} Summary(pl.UTF-8): Dokumentacja online do %{name} Group: Documentation +Requires: php-dirs %description phpdoc Documentation for %{name}. @@ -49,8 +53,8 @@ cp -a *.php $RPM_BUILD_ROOT%{_appdir} cp -a language/*.php $RPM_BUILD_ROOT%{_appdir}/language -install -d $RPM_BUILD_ROOT%{_docdir}/%{name} -cp -a phpdoc/* $RPM_BUILD_ROOT%{_docdir}/%{name} +install -d $RPM_BUILD_ROOT%{_phpdocdir}/%{name} +cp -a phpdoc/* $RPM_BUILD_ROOT%{_phpdocdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT @@ -62,7 +66,7 @@ %files phpdoc %defattr(644,root,root,755) -%{_docdir}/%{name} +%{_phpdocdir}/%{name} %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -70,6 +74,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.5 2008/06/17 05:43:00 glen +- use phpdoc dir + Revision 1.4 2008/06/17 05:29:17 glen - use %php_data_dir macro ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/phpmailer.spec?r1=1.4&r2=1.5&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit