Author: arekm                        Date: Thu Aug 25 18:50:13 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- nothing; not available yet

---- Files affected:
SPECS:
   php-pecl-cpdf.spec (NONE -> 1.1)  (NEW), php-pecl-dio.spec (NONE -> 1.1)  
(NEW)

---- Diffs:

================================================================
Index: SPECS/php-pecl-cpdf.spec
diff -u /dev/null SPECS/php-pecl-cpdf.spec:1.1
--- /dev/null   Thu Aug 25 20:50:13 2005
+++ SPECS/php-pecl-cpdf.spec    Thu Aug 25 20:50:08 2005
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+%define                _modname        cpdf
+%define                _status         stable
+
+Summary:       %{_modname} - extension module for PHP
+Summary(pl):   %{_modname} - moduł dla php
+Name:          php-pecl-%{_modname}
+Version:       2.0.0
+Release:       1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
+# Source0-md5: ee90a55b753975faac607f4230ece2b4
+URL:           http://pecl.php.net/package/cpdf/
+BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: php-devel >= 3:5.0.0
+Requires:      php-common >= 3:5.0.0
+Obsoletes:     php-pear-%{_modname}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sysconfdir     /etc/php
+%define                extensionsdir   %{_libdir}/php
+
+%description
+This is a dynamic shared object (DSO) for PHP that will add PDF
+support through libcpdf library.
+
+In PECL status of this extension is: %{_status}.
+
+%description -l pl
+Moduł PHP dodający obsługę plików PDF poprzez bibliotekę libcpdf.
+
+To rozszerzenie ma w PECL status: %{_status}.
+
+%prep
+%setup -q -c
+
+%build
+cd %{_modname}-%{version}
+phpize
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{extensionsdir}
+
+install %{_modname}-%{version}/modules/%{_modname}.so 
$RPM_BUILD_ROOT%{extensionsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/php-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
+
+%preun
+if [ "$1" = "0" ]; then
+       %{_sbindir}/php-module-install remove %{_modname} 
%{_sysconfdir}/php-cgi.ini
+fi
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{extensionsdir}/%{_modname}.so
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/25 18:50:08  arekm
+- nothing; not available yet
+

================================================================
Index: SPECS/php-pecl-dio.spec
diff -u /dev/null SPECS/php-pecl-dio.spec:1.1
--- /dev/null   Thu Aug 25 20:50:13 2005
+++ SPECS/php-pecl-dio.spec     Thu Aug 25 20:50:08 2005
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+%define                _modname        dio
+%define                _status         stable
+
+Summary:       %{_modname} - Direct I/O functions
+Name:          php-pecl-%{_modname}
+Version:       not-yet
+Release:       1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
+# Source0-md5: ee90a55b753975faac607f4230ece2b4
+URL:           http://pecl.php.net/package/dio/
+BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: php-devel >= 3:5.0.0
+Requires:      php-common >= 3:5.0.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sysconfdir     /etc/php
+%define                extensionsdir   %{_libdir}/php
+
+%description
+PHP supports the direct io functions as described in the Posix
+Standard (Section 6) for performing I/O functions at a lower level
+than the C-Language stream I/O functions (fopen(), fread(),..). The
+use of the DIO functions should be considered only when direct control
+of a device is needed. In all other cases, the standard filesystem
+functions are more than adequate.
+
+In PECL status of this extension is: %{_status}.
+
+%prep
+%setup -q -c
+
+%build
+cd %{_modname}-%{version}
+phpize
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{extensionsdir}
+
+install %{_modname}-%{version}/modules/%{_modname}.so 
$RPM_BUILD_ROOT%{extensionsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/php-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
+
+%preun
+if [ "$1" = "0" ]; then
+       %{_sbindir}/php-module-install remove %{_modname} 
%{_sysconfdir}/php-cgi.ini
+fi
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{extensionsdir}/%{_modname}.so
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/25 18:50:08  arekm
+- nothing; not available yet
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to