packages: php-pear-XML_image2svg/php-pear-XML_image2svg.spec - up to 0.1.1

glen glen at pld-linux.org
Thu Aug 19 20:49:43 CEST 2010


Author: glen                         Date: Thu Aug 19 18:49:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.1.1

---- Files affected:
packages/php-pear-XML_image2svg:
   php-pear-XML_image2svg.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: packages/php-pear-XML_image2svg/php-pear-XML_image2svg.spec
diff -u packages/php-pear-XML_image2svg/php-pear-XML_image2svg.spec:1.23 packages/php-pear-XML_image2svg/php-pear-XML_image2svg.spec:1.24
--- packages/php-pear-XML_image2svg/php-pear-XML_image2svg.spec:1.23	Thu Jan 31 13:17:39 2008
+++ packages/php-pear-XML_image2svg/php-pear-XML_image2svg.spec	Thu Aug 19 20:49:38 2010
@@ -2,20 +2,17 @@
 %include	/usr/lib/rpm/macros.php
 %define		_class		XML
 %define		_subclass	image2svg
-%define		_status		stable
+%define		_status		beta
 %define		_pearname	%{_class}_%{_subclass}
-
 Summary:	%{_pearname} - image to SVG conversion
 Summary(pl.UTF-8):	%{_pearname} - konwersja rysunków do SVG
 Name:		php-pear-%{_pearname}
-Version:	0.1
-Release:	7
-Epoch:		0
+Version:	0.1.1
+Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	1881e3e89f552f7959ab4f0f7cf52cde
-Patch0:		%{name}-path_fix.patch
+# Source0-md5:	77c8e95bdfa451a0dab40f5fe6057307
 URL:		http://pear.php.net/package/XML_image2svg/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -24,6 +21,9 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# exclude optional dependencies
+%define		_noautoreq	pear(HTML/Template/IT.*)
+
 %description
 The class converts images, such as of the format JPEG, PNG and GIF to
 a standalone SVG representation. The image is being encoded by the PHP
@@ -50,9 +50,9 @@
 Summary:	Tests for PEAR::%{_pearname}
 Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
 Group:		Development/Languages/PHP
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-AutoReq:	no
+Requires:	%{name} = %{version}-%{release}
 AutoProv:	no
+AutoReq:	no
 
 %description tests
 Tests for PEAR::%{_pearname}.
@@ -62,8 +62,8 @@
 
 %prep
 %pear_package_setup
-cd ./%{php_pear_dir}/%{_class}
-%patch0 -p2
+
+rm .%{php_pear_dir}/package.php
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -73,9 +73,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
+	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
+fi
+
 %files
 %defattr(644,root,root,755)
-%doc install.log
+%doc install.log optional-packages.txt
 %{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
@@ -89,6 +94,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2010/08/19 18:49:38  glen
+- up to 0.1.1
+
 Revision 1.23  2008/01/31 12:17:39  glen
 - rel 7
 
================================================================

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



More information about the pld-cvs-commit mailing list