SPECS: phpmailer.spec - -phpdoc should strictly be @phpdoc (move examples t...

glen glen at pld-linux.org
Tue Aug 26 23:49:44 CEST 2008


Author: glen                         Date: Tue Aug 26 21:49:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -phpdoc should strictly be @phpdoc (move examples to examplesdir)
- lang tag language files

---- Files affected:
SPECS:
   phpmailer.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/phpmailer.spec
diff -u SPECS/phpmailer.spec:1.8 SPECS/phpmailer.spec:1.9
--- SPECS/phpmailer.spec:1.8	Tue Aug 26 22:08:58 2008
+++ SPECS/phpmailer.spec	Tue Aug 26 23:49:39 2008
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 # TODO:
-# - better requires with proper php modules. 
+# - better requires with proper php modules.
 Summary:	Full featured email transfer class for PHP
 Summary(pl.UTF-8):	W pełni funkcjonalna klasa PHP do przesyłania e-maili
 Name:		phpmailer
@@ -57,7 +57,8 @@
 cp -a *.php $RPM_BUILD_ROOT%{_appdir}
 cp -a language/*.php $RPM_BUILD_ROOT%{_appdir}/language
 cp -a phpdoc/* $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
-cp -a examples  $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,7 +66,35 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog.txt README LICENSE docs/*
-%{_appdir}
+%dir %{_appdir}
+%{_appdir}/class.phpmailer.php
+%{_appdir}/class.pop3.php
+%{_appdir}/class.smtp.php
+
+%dir %{_appdir}/language
+%{_appdir}/language/phpmailer.lang-en.php
+%lang(br) %{_appdir}/language/phpmailer.lang-br.php
+%lang(ca) %{_appdir}/language/phpmailer.lang-ca.php
+%lang(cz) %{_appdir}/language/phpmailer.lang-cz.php
+%lang(de) %{_appdir}/language/phpmailer.lang-de.php
+%lang(dk) %{_appdir}/language/phpmailer.lang-dk.php
+%lang(es) %{_appdir}/language/phpmailer.lang-es.php
+%lang(et) %{_appdir}/language/phpmailer.lang-et.php
+%lang(fi) %{_appdir}/language/phpmailer.lang-fi.php
+%lang(fo) %{_appdir}/language/phpmailer.lang-fo.php
+%lang(fr) %{_appdir}/language/phpmailer.lang-fr.php
+%lang(hu) %{_appdir}/language/phpmailer.lang-hu.php
+%lang(it) %{_appdir}/language/phpmailer.lang-it.php
+%lang(ja) %{_appdir}/language/phpmailer.lang-ja.php
+%lang(nl) %{_appdir}/language/phpmailer.lang-nl.php
+%lang(no) %{_appdir}/language/phpmailer.lang-no.php
+%lang(pl) %{_appdir}/language/phpmailer.lang-pl.php
+%lang(ro) %{_appdir}/language/phpmailer.lang-ro.php
+%lang(ru) %{_appdir}/language/phpmailer.lang-ru.php
+%lang(se) %{_appdir}/language/phpmailer.lang-se.php
+%lang(tr) %{_appdir}/language/phpmailer.lang-tr.php
+
+%{_examplesdir}/%{name}-%{version}
 
 %files phpdoc
 %defattr(644,root,root,755)
@@ -77,6 +106,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008/08/26 21:49:39  glen
+- -phpdoc should strictly be @phpdoc (move examples to examplesdir)
+- lang tag language files
+
 Revision 1.8  2008/08/26 20:08:58  qboosh
 - dropped php4 todo, no sense in supporting obsolete version without strong reason
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/phpmailer.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list