packages: php-pecl-cpdf/php-pecl-cpdf.spec - put svn trunk snap - Obsoletes...

qboosh qboosh at pld-linux.org
Fri Oct 29 21:08:02 CEST 2010


Author: qboosh                       Date: Fri Oct 29 19:08:02 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- put svn trunk snap
- Obsoletes: php-cpdf instead of never existing php-pear-cpdf

---- Files affected:
packages/php-pecl-cpdf:
   php-pecl-cpdf.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/php-pecl-cpdf/php-pecl-cpdf.spec
diff -u packages/php-pecl-cpdf/php-pecl-cpdf.spec:1.11 packages/php-pecl-cpdf/php-pecl-cpdf.spec:1.12
--- packages/php-pecl-cpdf/php-pecl-cpdf.spec:1.11	Mon Feb 12 23:09:12 2007
+++ packages/php-pecl-cpdf/php-pecl-cpdf.spec	Fri Oct 29 21:07:57 2010
@@ -1,22 +1,27 @@
 # $Revision$, $Date$
 %define		_modname	cpdf
-%define		_status		stable
+%define		_status		beta
 Summary:	%{_modname} - extension module for PHP
 Summary(pl.UTF-8):	%{_modname} - moduł dla PHP
 Name:		php-pecl-%{_modname}
-Version:	2.0.0
-Release:	0.1
+Version:	5.0
+%define	subver	rc1
+%define	svnver	297236
+Release:	0.%{subver}.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5:	ee90a55b753975faac607f4230ece2b4
+# not yet
+#Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
+# svn checkout http://svn.php.net/repository/pecl/cpdf/trunk cpdf
+Source0:	%{_modname}-%{version}%{subver}-%{svnver}.tgz
+# Source0-md5:	de7b9ac1a9b270036bafd85fa8130315
 URL:		http://pecl.php.net/package/cpdf/
-#BuildRequires:	libxml2-devel
+BuildRequires:	libcpdf-devel >= 2
 BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	rpmbuild(macros) >= 1.344
 %{?requires_php_extension}
 Requires:	php-common >= 4:5.0.4
-Obsoletes:	php-pear-%{_modname}
+Obsoletes:	php-cpdf
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,7 +39,7 @@
 %setup -q -c
 
 %build
-cd %{_modname}-%{version}
+cd %{_modname}
 phpize
 %configure
 %{__make}
@@ -43,7 +48,7 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
 
-install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
+install %{_modname}/modules/%{_modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
 ; Enable %{_modname} extension module
 extension=%{_modname}.so
@@ -71,6 +76,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/10/29 19:07:57  qboosh
+- put svn trunk snap
+- Obsoletes: php-cpdf instead of never existing php-pear-cpdf
+
 Revision 1.11  2007/02/12 22:09:12  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-cpdf/php-pecl-cpdf.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list