rpms/php-pecl-pdo/devel php-pecl-pdo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthias Saou (thias) fedora-extras-commits at redhat.com
Tue May 31 14:23:26 UTC 2005


Author: thias

Update of /cvs/extras/rpms/php-pecl-pdo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21724/devel

Modified Files:
	.cvsignore sources 
Added Files:
	php-pecl-pdo.spec 
Log Message:
auto-import php-pecl-pdo-0.3-1 on branch devel from php-pecl-pdo-0.3-1.src.rpm


--- NEW FILE php-pecl-pdo.spec ---
%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)

Summary: PECL package for PHP Data Objects Interface
Name: php-pecl-pdo
Version: 0.3
Release: 1
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/PDO
Source: http://pecl.php.net/get/PDO-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: php >= 5.0.3
BuildRequires: php, php-devel >= 5.0.3
# Required by phpize
BuildRequires: autoconf, automake, libtool, gcc-c++

%description
PDO provides a uniform data access interface, sporting advanced features such
as prepared statements and bound parameters. PDO drivers are dynamically
loadable and may be developed independently from the core, but still accessed
using the same API.
Read the documentation at http://www.php.net/pdo for more information.


%package devel
Summary: Headers required to develop PDO modules
Group: Development/Libraries
Requires: %{name} = %{version}, php-devel

%description devel
PDO provides a uniform data access interface, sporting advanced features such
as prepared statements and bound parameters. PDO drivers are dynamically
loadable and may be developed independently from the core, but still accessed
using the same API.
Read the documentation at http://www.php.net/pdo for more information.

This package contains the headers required to develop PDO modules.


%prep 
phpize
%setup -n PDO-%{version}


%build
%configure
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf %{buildroot}
%{__make} install INSTALL_ROOT=%{buildroot}

# Drop in the bit of configuration
%{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d
%{__cat} > %{buildroot}%{_sysconfdir}/php.d/pdo.ini << 'EOF'
; Enable PDO extension module
extension=pdo.so
EOF


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-, root, root, 0755)
%doc CREDITS README TODO
%config(noreplace) %{_sysconfdir}/php.d/pdo.ini
%{php_extdir}/pdo.so

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/php/ext/pdo/

%changelog
* Tue May  3 2005 Matthias Saou <http://freshrpms.net/> 0.3-1
- Initial RPM release.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-pdo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	31 May 2005 14:22:55 -0000	1.1
+++ .cvsignore	31 May 2005 14:23:24 -0000	1.2
@@ -0,0 +1 @@
+PDO-0.3.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-pdo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	31 May 2005 14:22:55 -0000	1.1
+++ sources	31 May 2005 14:23:24 -0000	1.2
@@ -0,0 +1 @@
+5a0ad6ce920091798b2656244cad71a9  PDO-0.3.tgz




More information about the fedora-extras-commits mailing list