packages: php-pecl-cairo/php-pecl-cairo.spec - add -devel; rel 3

glen glen at pld-linux.org
Thu Jun 3 18:26:38 CEST 2010


Author: glen                         Date: Thu Jun  3 16:26:38 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add -devel; rel 3

---- Files affected:
packages/php-pecl-cairo:
   php-pecl-cairo.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/php-pecl-cairo/php-pecl-cairo.spec
diff -u packages/php-pecl-cairo/php-pecl-cairo.spec:1.4 packages/php-pecl-cairo/php-pecl-cairo.spec:1.5
--- packages/php-pecl-cairo/php-pecl-cairo.spec:1.4	Wed Jun  2 17:52:39 2010
+++ packages/php-pecl-cairo/php-pecl-cairo.spec	Thu Jun  3 18:26:33 2010
@@ -1,23 +1,22 @@
 # $Revision$, $Date$
-%define		_modname	cairo
-%define		_status		alpha
+%define		modname	cairo
+%define		status		alpha
 Summary:	Cairo Graphics Library Extension
 Summary(pl.UTF-8):	Rozszerzenie biblioteki Cairo
-Name:		php-pecl-%{_modname}
+Name:		php-pecl-%{modname}
 Version:	0.2.0
-Release:	2
+Release:	3
 License:	PHP 3.01
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/Cairo-%{version}.tgz
 # Source0-md5:	e35ac0eda37e5cd4370858aebe08f0f8
 URL:		http://pecl.php.net/package/Cairo/
 BuildRequires:	cairo-devel
-BuildRequires:	php-devel >= 3:5.0.0
+BuildRequires:	php-devel >= 3:5.0.4
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.344
 BuildRequires:	which
 %{?requires_php_extension}
-Requires:	php-common >= 4:5.0.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -26,14 +25,19 @@
 System, Quartz, Win32, image buffers, PostScript, PDF, and SVG file
 output.
 
-In PECL status of this extension is: %{_status}.
+In PECL status of this extension is: %{status}.
 
-#%description -l pl.UTF-8 
-# 
-#To rozszerzenie ma w PECL status: %{_status}.
+%package devel
+Summary:	Header files for Cairo PECL extension
+Group:		Development/Libraries
+BuildRequires:	php-devel >= 3:5.0.4
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for Cairo PECL extension.
 
 %prep
-%setup -q -c
+%setup -qc
 mv Cairo-%{version}/* .
 
 %build
@@ -48,9 +52,9 @@
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT \
 	EXTENSION_DIR=%{php_extensiondir}
-cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
-; Enable %{_modname} extension module
-extension=%{_modname}.so
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+; Enable %{modname} extension module
+extension=%{modname}.so
 EOF
 
 %clean
@@ -67,8 +71,13 @@
 %files
 %defattr(644,root,root,755)
 %doc README SYMBOLS TODO
-%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_modname}.ini
-%attr(755,root,root) %{php_extensiondir}/%{_modname}.so
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
+%attr(755,root,root) %{php_extensiondir}/%{modname}.so
+
+%files devel
+%defattr(644,root,root,755)
+%dir %{php_includedir}/ext/cairo
+%{php_includedir}/ext/cairo/php_cairo_api.h
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -76,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/06/03 16:26:33  glen
+- add -devel; rel 3
+
 Revision 1.4  2010/06/02 15:52:39  glen
 - release 2
 
================================================================

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



More information about the pld-cvs-commit mailing list