packages: php-pear-Text_CAPTCHA/php-pear-Text_CAPTCHA.spec - Text/CAPTCHA d...

glen glen at pld-linux.org
Sun Aug 22 12:14:17 CEST 2010


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

---- Files affected:
packages/php-pear-Text_CAPTCHA:
   php-pear-Text_CAPTCHA.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: packages/php-pear-Text_CAPTCHA/php-pear-Text_CAPTCHA.spec
diff -u packages/php-pear-Text_CAPTCHA/php-pear-Text_CAPTCHA.spec:1.24 packages/php-pear-Text_CAPTCHA/php-pear-Text_CAPTCHA.spec:1.25
--- packages/php-pear-Text_CAPTCHA/php-pear-Text_CAPTCHA.spec:1.24	Sat Aug 21 21:08:32 2010
+++ packages/php-pear-Text_CAPTCHA/php-pear-Text_CAPTCHA.spec	Sun Aug 22 12:14:12 2010
@@ -1,23 +1,21 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_class		Text
-%define		_subclass	CAPTCHA
 %define		_status		alpha
-%define		_pearname	%{_class}_%{_subclass}
+%define		_pearname	Text_CAPTCHA
 Summary:	%{_pearname} - generation of CAPTCHA imgaes
 Summary(pl.UTF-8):	%{_pearname} - generowanie obrazów CAPTCHA
 Name:		php-pear-%{_pearname}
 Version:	0.4.0
-Release:	2
+Release:	3
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	fa0d57ba323330aa4a484ef97a2ff91f
-URL:		http://pear.php.net/package/Text_CAPTCHA/
+URL:		http://pear.php.net/package/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
-Requires:	php-pear
+BuildRequires:	rpmbuild(macros) >= 1.571
+Requires:	php-pear >= 4:1.3-5
 Requires:	php-pear-Text_Password
 Suggests:	php-gd
 Suggests:	php-pear-Image_Text
@@ -52,18 +50,16 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
-	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
-fi
+%post -p <lua>
+%pear_package_print_optionalpackages
 
 %files
 %defattr(644,root,root,755)
 %doc install.log optional-packages.txt
 %doc docs/%{_pearname}/*
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/Text/CAPTCHA.php
+%{php_pear_dir}/Text/CAPTCHA/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2010/08/22 10:14:12  glen
+- Text/CAPTCHA dir moved to php-pear; rel 3
+
 Revision 1.24  2010/08/21 19:08:32  glen
 - updated deps with pearize.sh
 - release 2
================================================================

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



More information about the pld-cvs-commit mailing list