Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
php5-pear-db
php5-pear-db.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-pear-db.spec of Package php5-pear-db
# # spec file for package php5-pear-db (Version 1.7.12) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: php5-pear-db BuildRequires: php5-pear %define peardir %{_datadir}/php5/PEAR %define xmldir /var/lib/pear License: Other uncritical OpenSource License; The PHP License, version 3.1 Group: Development/Libraries/PHP Version: 1.7.12 Release: 30 Summary: PEAR database abstraction layer Url: http://pear.php.net/package/DB PreReq: php5-pear Provides: php-pear-db Source0: http://pear.php.net/get/DB-%{version}.tgz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PEAR DB is a database abstraction layer providing: * an OO-style query API * portability features that make programs written for one DBMS work with other DBMS's * a DSN (data source name) format for specifying database servers * prepare/execute (bind) emulation for databases that don't support it natively * a result object for each query response * portable error codes * sequence emulation * sequential and non-sequential row fetching as well as bulk fetching * formats fetched rows as associative arrays, ordered arrays or objects * row limit support * transactions support * table information interface * DocBook and phpDocumentor API documentation Authors: -------- Stig Bakken <stig@php.net> Thomas V.V.Cox <cox@idecnet.com> Daniel Convissor Lukas Smith <smith@pooteeweet.org> %prep %setup -c -T pear -v -c pearrc \ -d php_dir=%{peardir} \ -d doc_dir=/docs \ -d bin_dir=%{_bindir} \ -d data_dir=%{peardir}/data \ -d test_dir=%{peardir}/tests \ -s %build %install pear -c pearrc install --offline --nodeps --packagingroot %{buildroot} %{SOURCE0} # Clean up unnecessary files %{__rm} pearrc %{__rm} %{buildroot}/%{peardir}/.filemap %{__rm} %{buildroot}/%{peardir}/.lock %{__rm} -rf %{buildroot}/%{peardir}/.registry %{__rm} -rf %{buildroot}%{peardir}/.channels %{__rm} %{buildroot}%{peardir}/.depdb %{__rm} %{buildroot}%{peardir}/.depdblock %{__mv} %{buildroot}/docs . # Install XML package description %{__mkdir_p} %{buildroot}%{xmldir} %{__tar} -xzf %{SOURCE0} package.xml %{__cp} -p package.xml %{buildroot}%{xmldir}/DB.xml %clean %{__rm} -rf %{buildroot} %post pear install --offline --nodeps --soft --force --register-only %{xmldir}/DB.xml %postun if [ "$1" -eq "0" ]; then pear uninstall --offline --nodeps --ignore-errors --register-only pear.php.net/DB fi %files %defattr(-,root,root) %doc docs/DB/* %{peardir}/* %{xmldir}/DB.xml %changelog * Fri Oct 12 2007 - crrodriguez@suse.de - ensure this package does not phone home any longer [#214338] * Wed Jul 25 2007 - mmarek@suse.cz - updated to 1.7.12 * fixes an issue that prevented PostgreSQL users from escaping values with PHP 5.2 * Sat Jun 23 2007 - judas_iscariote@shorewall.net - update to pear-db 1.7.11 [#278175] - adapt package to new pear package format * Thu Oct 26 2006 - anosek@suse.cz - fixed: pear is pulling packages from the network during autobuild [#214347] * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Thu Jan 19 2006 - mmarek@suse.de - fix filelist, remove temporary files created by pear installer - unify php5-pear-*.spec files - increase php's memory_limit during installation (parsing xml needs more than default 8M sometimes) * Mon Jan 16 2006 - mmarek@suse.cz - created package to satisfy horde dependencies
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor