Author: glen                         Date: Tue Sep 12 06:54:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- based on 
http://cvs.rutgers.edu/cgi-bin/viewcvs.cgi/*checkout*/SPECS/sqlrelay.spec?rev=1.2

---- Files affected:
SPECS:
   sqlrelay.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/sqlrelay.spec
diff -u /dev/null SPECS/sqlrelay.spec:1.1
--- /dev/null   Tue Sep 12 08:54:00 2006
+++ SPECS/sqlrelay.spec Tue Sep 12 08:53:55 2006
@@ -0,0 +1,233 @@
+# $Revision$, $Date$
+Summary:       Persistent database connection system
+Name:          sqlrelay
+Version:       0.37.1
+Release:       0.1
+License:       GPL/LGPL and Others
+Group:         Daemons
+Source0:       http://dl.sourceforge.net/sqlrelay/%{name}-%{version}.tar.gz
+# Source0-md5: 4628782233e548a1436c6149f913fd89
+URL:           http://sqlrelay.sourceforge.net
+BuildRequires: mysql-devel
+BuildRequires: php-devel >= 4:5:0
+BuildRequires: python >= 1:2.3
+BuildRequires: rudiments-devel >= 0.28.1
+Requires:      readline >= 4.1
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                phpextdir       %(php-config --extension-dir 
2>/dev/null)
+
+%description
+SQL Relay is a persistent database connection pooling, proxying and
+load balancing system for Unix and Linux supporting ODBC, Oracle,
+MySQL, mSQL, PostgreSQL, Sybase, MS SQL Server, IBM DB2, Interbase,
+Lago and SQLite with C, C++, Perl, Perl-DBD, Python, Python-DB, Zope,
+PHP, Ruby, Java and TCL APIs, command line clients, a GUI
+configuration tool and extensive documentation. The APIs support
+advanced database operations such as bind variables, multi-row
+fetches, client side result set caching and suspended transactions. It
+is ideal for speeding up database-driven web-based applications,
+accessing databases from unsupported platforms, migrating between
+databases, distributing access to replicated databases and throttling
+database access.
+
+%package devel
+Summary:       Development libraries for SQL Relay
+Group:         Development/Libraries
+
+%description devel
+Static libraries for SQL Relay.
+
+%package clients
+Summary:       Command line applications for accessing databases through SQL 
Relay
+Group:         Applications/Databases
+
+%description clients
+Command line applications for accessing databases through SQL Relay.
+
+%package client-runtime
+Summary:       Runtime libraries for SQL Relay clients
+Group:         Libraries
+
+%description client-runtime
+Runtime dependencies for SQL Relay clients
+
+%package client-devel
+Summary:       Development files for developing programs in C/C++ that use SQL 
Relay
+Group:         Development/Libraries
+
+%description client-devel
+Header files and static libraries to use for developing programs in
+C/C++ that use SQL Relay.
+
+%package client-mysql
+Summary:       Drop in replacement library allowing MySQL clients to use SQL 
Relay instead
+Group:         Libraries
+
+%description client-mysql
+Drop in replacement library allowing MySQL clients to use SQL Relay
+instead.
+
+%package mysql
+Summary:       SQL Relay connection daemon for MySQL
+Group:         Applications/Databases
+
+%description mysql
+SQL Relay connection daemon for MySQL.
+
+%package perl
+Summary:       SQL Relay modules for Perl
+Group:         Development/Languages
+
+%description perl
+SQL Relay modules for Perl.
+
+%package php
+Summary:       SQL Relay modules for PHP
+Group:         Development/Languages
+
+%description php
+SQL Relay modules for PHP.
+
+%package python
+Summary:       SQL Relay modules for Python
+Group:         Development/Languages
+
+%description python
+SQL Relay modules for Python.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       --disable-gtk \
+       --disable-db2 \
+       --disable-freetds \
+       --disable-interbase \
+       --disable-lago \
+       --disable-mdbtools \
+       --disable-msql \
+       --disable-odbc \
+       --disable-oracle \
+       --disable-postgresql \
+       --disable-sqlite \
+       --disable-sybase \
+       --disable-java \
+       --disable-tcl \
+       --disable-ruby \
+       --disable-zope
+       --enable-python \
+       --enable-mysql \
+       --enable-php \
+       --enable-perl \
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%config %attr(600,root,root) %{_sysconfdir}/sqlrelay.conf.example
+%config %attr(600,root,root) %{_sysconfdir}/sqlrelay.dtd
+%attr(755,root,root) %{_bindir}/sqlr-cachemanager*
+%attr(755,root,root) %{_bindir}/sqlr-listener*
+%attr(755,root,root) %{_bindir}/sqlr-scaler*
+%attr(755,root,root) %{_bindir}/sqlr-start*
+%attr(755,root,root) %{_bindir}/sqlr-stop
+%{_libdir}/libsqlrconnection*
+%attr(755,root,root) %{_libdir}/libpqsqlrelay-*.*.*.so.1.0.0
+%{_libdir}/libsqlrutil*
+/var/sqlrelay/tmp
+/var/sqlrelay/debug
+%{_datadir}
+%{_mandir}
+%attr(754,root,root) /etc/rc.d/init.d/sqlrelay
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sqlrelay
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libpqsqlrelay.a
+%{_libdir}/libpqsqlrelay.la
+
+%files clients
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/backupschema
+%attr(755,root,root) %{_bindir}/fields
+%attr(755,root,root) %{_bindir}/query
+%attr(755,root,root) %{_bindir}/sqlr-export
+%attr(755,root,root) %{_bindir}/sqlr-import
+%attr(755,root,root) %{_bindir}/sqlrsh
+
+%files client-runtime
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsqlrclient-*.so.*
+/var/sqlrelay/cache
+%attr(755,root,root) %{_libdir}/libsqlrclientwrapper-*.so.*
+
+%files client-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/sqlrclient-config
+%{_includedir}/sqlrelay/sqlrclient.h
+%{_includedir}/sqlrelay/private
+%{_libdir}/libsqlrclient.a
+%{_libdir}/libsqlrclient.la
+%{_libdir}/libsqlrclient.so
+%{_pkgconfigdir}/sqlrelay-c++.pc
+%attr(755,root,root) %{_bindir}/sqlrclientwrapper-config
+%{_includedir}/sqlrelay/sqlrclientwrapper.h
+%{_libdir}/libsqlrclientwrapper.a
+%{_libdir}/libsqlrclientwrapper.la
+%{_libdir}/libsqlrclientwrapper.so
+%{_pkgconfigdir}/sqlrelay-c.pc
+
+%files client-mysql
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmysql*sqlrelay-*.so.*
+%{_libdir}/libmysql*sqlrelay.so
+%{_libdir}/libmysql*sqlrelay.a
+%{_libdir}/libmysql*sqlrelay.la
+
+%files mysql
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/sqlr-connection-mysql*
+
+%files perl
+%defattr(644,root,root,755)
+%{perl_sitelib}/DBD/SQLRelay.pm
+%{perl_sitearch}/auto/DBD/SQLRelay
+%{perl_sitearch}/SQLRelay/Connection.pm
+%{perl_sitearch}/SQLRelay/Cursor.pm
+%{perl_sitearch}/auto/SQLRelay/Connection
+%{perl_sitearch}/auto/SQLRelay/Cursor
+
+%files php
+%defattr(644,root,root,755)
+%attr(755,root,root) %{phpextdir}/sql_relay.so
+
+%files python
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/SQLRelay
+%attr(755,root,root) %{py_sitedir}/SQLRelay/CSQLRelay.so
+%{py_sitedir}/SQLRelay/PySQLRClient.py
+%{py_sitedir}/SQLRelay/PySQLRDB.py
+%{py_sitedir}/SQLRelay/__init__.py
+
+%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  2006/09/12 06:53:55  glen
+- based on 
http://cvs.rutgers.edu/cgi-bin/viewcvs.cgi/*checkout*/SPECS/sqlrelay.spec?rev=1.2
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to