/[smeserver]/rpms/pear-db/sme7/pear-db.spec
ViewVC logotype

Contents of /rpms/pear-db/sme7/pear-db.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jun 12 16:45:11 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: pear-db-1_7_6-4_el4_sme
Import on branch sme7 of package pear-db-1.7.6-4.el4.sme.src.rpm

1 Summary: PEAR Database Abstraction Layer
2 %define name pear-db
3 %define version 1.7.6
4 %define release 4
5 Name: %{name}
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: PHP License
9 Group: Applications/Web
10 Source0: DB-%{version}.tgz
11 Url: http://pear.php.net/package/DB
12 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-%(id -u -n)-buildroot
13 BuildArchitectures: noarch
14 Requires: php
15
16 %changelog
17 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
18 - Clean up spec so package can be built by koji/plague
19
20 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
21 - Update to new release naming. No functional changes.
22 - Make Packager generic
23
24 * Mon May 09 2005 Charlie Brady <charlieb@e-smith.com> 1.7.6-03es
25 - Move files into the right heirarchy so they will be found.
26
27 * Wed May 04 2005 Charlie Brady <charlieb@e-smith.com> 1.7.6-02es
28 - Fix URL header.
29
30 * Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 1.7.6-01es
31 - Initial
32
33 %description
34 DB is a database abstraction layer providing:
35 * an OO-style query API
36 * portability features that make programs written for one DBMS work with other DBMS's
37 * a DSN (data source name) format for specifying database servers
38 * prepare/execute (bind) emulation for databases that don't support it natively
39 * a result object for each query response
40 * portable error codes
41 * sequence emulation
42 * sequential and non-sequential row fetching as well as bulk fetching
43 * formats fetched rows as associative arrays, ordered arrays or objects
44 * row limit support
45 * transactions support
46 * table information interface
47 * DocBook and phpDocumentor API documentation
48
49 DB layers itself on top of PHP's existing
50 database extensions.
51
52 Drivers for the following extensions pass
53 the complete test suite and provide
54 interchangeability when all of DB's
55 portability options are enabled:
56
57 fbsql, ibase, informix, msql, mssql,
58 mysql, mysqli, oci8, odbc, pgsql,
59 sqlite and sybase.
60
61 There is also a driver for the dbase
62 extension, but it can't be used
63 interchangeably because dbase doesn't
64 support many standard DBMS features.
65
66 DB is compatible with both PHP 4 and PHP 5.
67
68 %prep
69 %setup -q -n DB-%{version}
70
71 %build
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/DB
79 mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/doc/DB
80 mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/test/DB
81 cp -rp DB* $RPM_BUILD_ROOT/usr/share/pear-addons
82 cp -rp doc $RPM_BUILD_ROOT/usr/share/pear-addons/doc/DB
83 cp -rp tests $RPM_BUILD_ROOT/usr/share/pear-addons/test/DB
84
85 %files
86 %defattr(-,root,root)
87 %dir /usr/share/pear-addons
88 %dir /usr/share/pear-addons/DB
89 /usr/share/pear-addons/*

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed