packages: php-pear-Text_CAPTCHA_Numeral/php-pear-Text_CAPTCHA_Numeral.spec ...

glen glen at pld-linux.org
Sun Aug 22 12:16:11 CEST 2010


Author: glen                         Date: Sun Aug 22 10:16:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Text/CAPTCHA dir moved to php-pear; rel 3

---- Files affected:
packages/php-pear-Text_CAPTCHA_Numeral:
   php-pear-Text_CAPTCHA_Numeral.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/php-pear-Text_CAPTCHA_Numeral/php-pear-Text_CAPTCHA_Numeral.spec
diff -u packages/php-pear-Text_CAPTCHA_Numeral/php-pear-Text_CAPTCHA_Numeral.spec:1.4 packages/php-pear-Text_CAPTCHA_Numeral/php-pear-Text_CAPTCHA_Numeral.spec:1.5
--- packages/php-pear-Text_CAPTCHA_Numeral/php-pear-Text_CAPTCHA_Numeral.spec:1.4	Sun Aug 22 10:51:41 2010
+++ packages/php-pear-Text_CAPTCHA_Numeral/php-pear-Text_CAPTCHA_Numeral.spec	Sun Aug 22 12:16:05 2010
@@ -1,14 +1,12 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_class		Text
-%define		_subclass	CAPTCHA_Numeral
 %define		_status		stable
 %define		_pearname	Text_CAPTCHA_Numeral
 Summary:	%{_pearname} - generation of numeral maths captchas
 Summary(pl.UTF-8):	%{_pearname} - generowanie matematycznych captcha
 Name:		php-pear-%{_pearname}
 Version:	1.2.0
-Release:	2
+Release:	3
 License:	BSD License
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -17,7 +15,7 @@
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
-Requires:	php-pear
+Requires:	php-pear >= 4:1.3-5
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,9 +35,9 @@
 Summary:	Tests for PEAR::%{_pearname}
 Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
 Group:		Development/Languages/PHP
-AutoReq:	no
 Requires:	%{name} = %{version}-%{release}
 AutoProv:	no
+AutoReq:	no
 
 %description tests
 Tests for PEAR::%{_pearname}.
@@ -50,20 +48,27 @@
 %prep
 %pear_package_setup
 
+mv docs/Text_CAPTCHA_Numeral/examples .
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc install.log docs/Text_CAPTCHA_Numeral/examples
+%doc install.log
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/Text/CAPTCHA/Numeral
 %{php_pear_dir}/Text/CAPTCHA/Numeral.php
+%{php_pear_dir}/Text/CAPTCHA/Numeral
+
+%{_examplesdir}/%{name}-%{version}
 
 %files tests
 %defattr(644,root,root,755)
@@ -75,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/08/22 10:16:05  glen
+- Text/CAPTCHA dir moved to php-pear; rel 3
+
 Revision 1.4  2010/08/22 08:51:41  glen
 - ensure rpmbuild macros present
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Text_CAPTCHA_Numeral/php-pear-Text_CAPTCHA_Numeral.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list