packages: php-pear-Image_Tools/php-pear-Image_Tools.spec - up to 1.0.0RC1

glen glen at pld-linux.org
Thu Aug 19 15:50:25 CEST 2010


Author: glen                         Date: Thu Aug 19 13:50:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.0.0RC1

---- Files affected:
packages/php-pear-Image_Tools:
   php-pear-Image_Tools.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/php-pear-Image_Tools/php-pear-Image_Tools.spec
diff -u packages/php-pear-Image_Tools/php-pear-Image_Tools.spec:1.18 packages/php-pear-Image_Tools/php-pear-Image_Tools.spec:1.19
--- packages/php-pear-Image_Tools/php-pear-Image_Tools.spec:1.18	Thu Jan 31 13:16:07 2008
+++ packages/php-pear-Image_Tools/php-pear-Image_Tools.spec	Thu Aug 19 15:50:20 2010
@@ -4,16 +4,17 @@
 %define		_subclass	Tools
 %define		_status		beta
 %define		_pearname	%{_class}_%{_subclass}
-
+%define		subver	RC1
+%define		rel		1
 Summary:	%{_pearname} - tool collection for images
 Summary(pl.UTF-8):	%{_pearname} - zestaw narzędzi do obrazków
 Name:		php-pear-%{_pearname}
-Version:	0.4.2
-Release:	2
+Version:	1.0.0
+Release:	0.%{subver}.%{rel}
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	9a342b432fff620fccaff456efdb4803
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
+# Source0-md5:	8db5b93e8a2d61d7e494ccef8fef4e7b
 URL:		http://pear.php.net/package/Image_Tools/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -21,7 +22,7 @@
 Requires:	php(gd)
 Requires:	php-pear
 Requires:	php-pear-Image_Color >= 1.0.1
-Requires:	php-pear-PEAR-core >= 1:1.3.3
+Requires:	php-pear-PEAR-core >= 1:1.4.0
 Requires:	php-pear-PHP_Compat >= 1.4.1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,29 +40,37 @@
 %prep
 %pear_package_setup
 
+mv docs/%{_pearname}/docs/demo examples
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_examplesdir}/%{name}-%{version}}
 %pear_package_install
 
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc install.log
-%doc docs/%{_pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/%{_class}/%{_subclass}
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
 
+%{_examplesdir}/%{name}-%{version}
+
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2010/08/19 13:50:20  glen
+- up to 1.0.0RC1
+
 Revision 1.18  2008/01/31 12:16:07  glen
 - rel 2
 
================================================================

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



More information about the pld-cvs-commit mailing list