SPECS: php-pear-XML_svg2image.spec - new pear packaging

glen glen at pld-linux.org
Mon Oct 3 15:03:14 CEST 2005


Author: glen                         Date: Mon Oct  3 13:03:14 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging

---- Files affected:
SPECS:
   php-pear-XML_svg2image.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/php-pear-XML_svg2image.spec
diff -u SPECS/php-pear-XML_svg2image.spec:1.9 SPECS/php-pear-XML_svg2image.spec:1.10
--- SPECS/php-pear-XML_svg2image.spec:1.9	Sat Dec  4 15:29:44 2004
+++ SPECS/php-pear-XML_svg2image.spec	Mon Oct  3 15:03:08 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - konwersja plików SVG do obrazków PNG/JPEG
 Name:		php-pear-%{_pearname}
 Version:	0.1
-Release:	2
+Release:	2.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	952ba13f07b57b24f54288b8e333b29d
 URL:		http://pear.php.net/package/XML_svg2image/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,21 +35,21 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/README*
-%doc %{_pearname}-%{version}/gvt.svg
+%doc install.log
+%doc docs/%{_pearname}/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -58,6 +58,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/10/03 13:03:08  glen
+- new pear packaging
+
 Revision 1.9  2004/12/04 14:29:44  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-XML_svg2image.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list