SPECS: sqlrelay.spec - pl - separated -client-static - some packag...
qboosh
qboosh at pld-linux.org
Sun Oct 8 16:20:37 CEST 2006
Author: qboosh Date: Sun Oct 8 14:20:37 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl
- separated -client-static
- some packaging fixes (missing dir, moved scripts and R() to proper packages)
---- Files affected:
SPECS:
sqlrelay.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/sqlrelay.spec
diff -u SPECS/sqlrelay.spec:1.12 SPECS/sqlrelay.spec:1.13
--- SPECS/sqlrelay.spec:1.12 Tue Sep 12 17:26:50 2006
+++ SPECS/sqlrelay.spec Sun Oct 8 16:20:32 2006
@@ -1,32 +1,33 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without gtk # GTK frontend
+%bcond_without gtk # GTK+ frontend
# Database options:
# ================
-%bcond_with db2 # DB2 connection
-%bcond_with freetds # FreeTDS connection
+%bcond_with db2 # DB2 connection
+%bcond_with freetds # FreeTDS connection
%bcond_with interbase # Interbase connection
%bcond_with mdbtools # MDB Tools connection
-%bcond_with msql # mSQL connection
-%bcond_without mysql # MySQL connection
-%bcond_with odbc # ODBC connection
-%bcond_with oracle # Oracle connection
+%bcond_with msql # mSQL connection
+%bcond_without mysql # MySQL connection
+%bcond_with odbc # ODBC connection
+%bcond_with oracle # Oracle connection
%bcond_with postgresql # PostgreSQL connection
-%bcond_with sqlite # SQLite connection
-%bcond_with sybase # Sybase connection
+%bcond_with sqlite # SQLite connection
+%bcond_with sybase # Sybase connection
#
# Language options:
# ================
-%bcond_with java # Java API
-%bcond_without perl # Perl API
-%bcond_without php # PHP API
-%bcond_without python # Python API
-%bcond_without ruby # Ruby API
-%bcond_with tcl # TCL API
-%bcond_with zope # Zope API
+%bcond_with java # Java API
+%bcond_without perl # Perl API
+%bcond_without php # PHP API
+%bcond_without python # Python API
+%bcond_without ruby # Ruby API
+%bcond_with tcl # Tcl API
+%bcond_with zope # Zope API
#
Summary: Persistent database connection system
+Summary(pl): System stałego połączenia z bazą danych
Name: sqlrelay
Version: 0.37.1
Release: 0.36
@@ -41,26 +42,21 @@
Patch2: %{name}-defaults.patch
URL: http://sqlrelay.sourceforge.net
BuildRequires: autoconf
-%{?with_gtk:BuildRequires: gtk+-devel}
+%{?with_gtk:BuildRequires: gtk+-devel}
BuildRequires: libtool
%{?with_mysql:BuildRequires: mysql-devel}
BuildRequires: ncurses-devel
%{?with_php:BuildRequires: php-devel >= 4:5:0}
-%{?with_postgresql:BuildRequires: postgresql-devel}
+%{?with_postgresql:BuildRequires: postgresql-devel}
%{?with_python:BuildRequires: python-devel}
BuildRequires: readline-devel >= 4.1
BuildRequires: rpmbuild(macros) >= 1.268
-%{?with_ruby:BuildRequires: ruby-devel}
+%{?with_ruby:BuildRequires: ruby-devel}
BuildRequires: rudiments-devel >= 0.28.1
-%{?with_tcl:BuildRequires: tcl-devel}
-%{?with_odbc:BuildRequires: unixODBC-devel}
+%{?with_tcl:BuildRequires: tcl-devel}
+%{?with_odbc:BuildRequires: unixODBC-devel}
+Requires(post): /sbin/ldconfig
Requires(post,preun): /sbin/chkconfig
-Requires(postun): /usr/sbin/groupdel
-Requires(postun): /usr/sbin/userdel
-Requires(pre): /bin/id
-Requires(pre): /usr/bin/getgid
-Requires(pre): /usr/sbin/groupadd
-Requires(pre): /usr/sbin/useradd
Requires: %{name}-client-runtime = %{version}-%{release}
Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -83,41 +79,92 @@
databases, distributing access to replicated databases and throttling
database access.
+%description -l pl
+SQL Relay to system utrzymywania, przekazywania i równoważenia
+obciążenia stałego połączenia z bazą danych dla Uniksa i Linuksa z
+obsługą baz danych ODBC, Oracle, MySQL, mSQL, PostgreSQL, Sybase, MS
+SQL Server, IBM DB2, Interbase, Lago i SQLite oraz API C, C++, Perla,
+Perl-DBD, Pythona, Python-DB, Zope, PHP, Ruby'ego, Javy i Tcl-a.
+Zawiera także klientów działających z linii poleceń, graficzne
+narzędzie do konfiguracji oraz wyczerpującą dokumentację. API
+obsługują zaawansowane operacje na bazach danych, takie jak powiązane
+zmienne, pobrania wielowierszowe, buforowanie wyników po stronie
+klienta oraz transakcje zawieszone. System ten jest idealny do
+przyspieszania aplikacji WWW opartych o bazy danych, dostępu do baz
+danych z nieobsługiwanych platform, migracji między bazami danych,
+rozpraszania dostępu do zreplikowanych baz danych oraz tłumienia
+dostępu do baz danych.
+
%package devel
Summary: Development libraries for SQL Relay
+Summary(pl): Biblioteki programistyczne dla SQL Relay
Group: Development/Libraries
Requires: %{name}-client-devel = %{version}-%{release}
%description devel
Static libraries for SQL Relay.
+%description devel -l pl
+Statyczne biblioteki SQL Relay.
+
%package clients
Summary: Command line applications for accessing databases through SQL Relay
+Summary(pl): Aplikacje linii poleceń do dostępu do baz danych poprzez SQL Relay
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description clients
Command line applications for accessing databases through SQL Relay.
+%description clients -l pl
+Aplikacje linii poleceń do dostępu do baz danych poprzez SQL Relay.
+
%package client-runtime
Summary: Runtime libraries for SQL Relay clients
+Summary(pl): Biblioteki uruchomieniowe dla klientów SQL Relay
Group: Libraries
-Requires(post,postun): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires(postun): /usr/sbin/groupdel
+Requires(postun): /usr/sbin/userdel
+Requires(pre): /bin/id
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
%description client-runtime
-Runtime dependencies for SQL Relay clients
+Runtime dependencies for SQL Relay clients.
+
+%description client-runtime -l pl
+Biblioteki uruchomieniowe dla klientów SQL Relay.
%package client-devel
Summary: Development files for developing programs in C/C++ that use SQL Relay
+Summary(pl): Pliki programistyczne do tworzenia programów C/C++ używających SQL Relay
Group: Development/Libraries
Requires: %{name}-client-runtime = %{version}-%{release}
%description client-devel
-Header files and static libraries to use for developing programs in
-C/C++ that use SQL Relay.
+Header files to use for developing programs in C/C++ that use SQL
+Relay.
+
+%description client-devel -l pl
+Pliki nagłówkowe do tworzenia programów w C/C++ używających SQL Relay.
+
+%package client-static
+Summary: Static libraries for SQL Relay clients
+Summary(pl): Statyczne biblioteki dla klientów SQL Relay
+Group: Development/Libraries
+Requires: %{name}-client-devel = %{version}-%{release}
+
+%package client-static
+Static libraries for SQL Relay clients.
+
+%package client-static -l pl
+Statyczne biblioteki dla klientów SQL Relay.
%package client-mysql
Summary: Drop in replacement library allowing MySQL clients to use SQL Relay instead
+Summary(pl): Biblioteka do podmiany pozwalająca klientom MySQL używać SQL Relay
Group: Libraries
Requires: %{name}-client-runtime = %{version}-%{release}
@@ -125,104 +172,157 @@
Drop in replacement library allowing MySQL clients to use SQL Relay
instead.
+%description client-mysql -l pl
+Biblioteka do podmiany pozwalająca klientom MySQL używać SQL Relay
+zamiast bezpośrednio MySQL-a.
+
%package db2
Summary: SQL Relay connection daemon for IBM DB2
+Summary(pl): Demon połączenia SQL Relay dla IBM DB2
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description db2
SQL Relay connection daemon for IBM DB2.
+%description db2 -l pl
+Demon połączenia SQL Relay dla IBM DB2.
+
%package freetds
Summary: SQL Relay connection daemon for FreeTDS (Sybase and MS SQL Server)
+Summary(pl): Demon połączenia SQL Relay dla FreeTDS (Sybase i MS SQL Server)
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description freetds
SQL Relay connection daemon for FreeTDS (Sybase and MS SQL Server).
+%description freetds -l pl
+Demon połączenia SQL Relay dla FreeTDS (Sybase i MS SQL Server).
+
%package interbase
Summary: SQL Relay connection daemon for Interbase
+Summary(pl): Demon połączenia SQL Relay dla Interbase
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description interbase
SQL Relay connection daemon for Interbase.
+%description interbase -l pl
+Demon połączenia SQL Relay dla Interbase.
+
%package mdbtools
Summary: SQL Relay connection daemon for MDB Tools (Microsoft Access)
+Summary(pl): Demon połączenia SQL Relay dla MDB Tools (Microsoft Access)
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description mdbtools
SQL Relay connection daemon for MDB Tools (Microsoft Access).
+%description mdbtools -l pl
+Demon połączenia SQL Relay dla MDB Tools (Microsoft Access).
+
%package msql
Summary: SQL Relay connection daemon for mSQL
+Summary(pl): Demon połączenia SQL Relay dla mSQL-a
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description msql
SQL Relay connection daemon for mSQL.
+%description msql -l pl
+Demon połączenia SQL Relay dla mSQL-a.
+
%package mysql
Summary: SQL Relay connection daemon for MySQL
+Summary(pl): Demon połączenia SQL Relay dla MySQL-a
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description mysql
SQL Relay connection daemon for MySQL.
+%description mysql -l pl
+Demon połączenia SQL Relay dla MySQL-a.
+
%package odbc
Summary: SQL Relay connection daemon for ODBC
+Summary(pl): Demon połączenia SQL Relay dla ODBC
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description odbc
SQL Relay connection daemon for ODBC.
+%description odbc -l pl
+Demon połączenia SQL Relay dla ODBC.
+
%package oracle7
Summary: SQL Relay connection daemon for Oracle 7
+Summary(pl): Demon połączenia SQL Relay dla Oracle 7
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description oracle7
SQL Relay connection daemon for Oracle 7.
+%description oracle7 -l pl
+Demon połączenia SQL Relay dla Oracle 7.
+
%package oracle8
Summary: SQL Relay connection daemon for Oracle 8
+Summary(pl): Demon połączenia SQL Relay dla Oracle 8
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description oracle8
SQL Relay connection daemon for Oracle 8.
+%description oracle8 -l pl
+Demon połączenia SQL Relay dla Oracle 8.
+
%package postgresql
Summary: SQL Relay connection daemon for PostgreSQL
+Summary(pl): Demon połączenia SQL Relay dla PostgreSQL-a
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description postgresql
SQL Relay connection daemon for PostgreSQL.
+%description postgresql -l pl
+Demon połączenia SQL Relay dla PostgreSQL-a.
+
%package sqlite
Summary: SQL Relay connection daemon for SQLite
+Summary(pl): Demon połączenia SQL Relay dla SQLite
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description sqlite
SQL Relay connection daemon for SQLite.
+%description sqlite -l pl
+Demon połączenia SQL Relay dla SQLite.
+
%package sybase
Summary: SQL Relay connection daemon for Sybase
+Summary(pl): Demon połączenia SQL Relay dla Sybase
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
%description sybase
SQL Relay connection daemon for Sybase.
+%description sybase -l pl
+Demon połączenia SQL Relay dla Sybase.
+
%package -n perl-DBD-SQLRelay
Summary: SQL Relay modules for Perl
+Summary(pl): Moduły SQL Relay dla Perla
Group: Development/Languages
Requires: %{name}-client-runtime = %{version}-%{release}
Requires: perl-DBI
@@ -230,8 +330,12 @@
%description -n perl-DBD-SQLRelay
SQL Relay modules for Perl.
+%description -n perl-DBD-SQLRelay -l pl
+Moduły SQL Relay dla Perla.
+
%package -n php-%{name}
Summary: SQL Relay modules for PHP
+Summary(pl): Moduły SQL Relay dla PHP
Group: Development/Languages
Requires: %{name}-client-runtime = %{version}-%{release}
Requires: php-pear-DB
@@ -239,36 +343,55 @@
%description -n php-%{name}
SQL Relay modules for PHP.
+%description -n php-%{name} -l pl
+Moduły SQL Relay dla PHP.
+
%package -n python-%{name}
Summary: SQL Relay modules for Python
+Summary(pl): Moduły SQL Relay dla Pythona
Group: Development/Languages
Requires: %{name}-client-runtime = %{version}-%{release}
%description -n python-%{name}
SQL Relay modules for Python.
+%description -n python-%{name} -l pl
+Moduły SQL Relay dla Pythona.
+
%package -n ruby-DBD-SQLRelay
Summary: SQL Relay modules for Ruby
+Summary(pl): Moduły SQL Relay dla języka Ruby
Group: Development/Languages
Requires: %{name}-client-runtime = %{version}-%{release}
%description -n ruby-DBD-SQLRelay
SQL Relay modules for Ruby.
+%description -n ruby-DBD-SQLRelay -l pl
+Moduły SQL Relay dla języka Ruby.
+
%package gtk
Summary: SQL Relay GUI configuration tool
+Summary(pl): Graficzne narzędzie konfiguracyjne dla SQL Relay
Group: Applications/Databases
Requires: %{name}-client-runtime = %{version}-%{release}
%description gtk
GTK-based configuration tool for SQL Relay.
+%description gtk -l pl
+Graficzne narzędzie konfiguracyjne dla SQL Relay.
+
%package doc
-Summary: Documentation for SQLRelay
+Summary: Documentation for SQL Relay
+Summary(pl): Dokumentacja dla SQL Relay
Group: Documentation
%description doc
-Documentation for SQLRelay.
+Documentation for SQL Relay.
+
+%description doc -l pl
+Dokumentacja dla SQL Relay.
%prep
%setup -q
@@ -343,10 +466,6 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%pre client-runtime
-%groupadd -g 176 sqlrelay
-%useradd -u 176 -c "SQL Relay" -s /bin/false -r -d %{_localstatedir}/sqlrelay -g sqlrelay sqlrelay
-
%post
/sbin/ldconfig
/sbin/chkconfig --add sqlrelay
@@ -360,6 +479,12 @@
%postun -p /sbin/ldconfig
+%pre client-runtime
+%groupadd -g 176 sqlrelay
+%useradd -u 176 -c "SQL Relay" -s /bin/false -r -d %{_localstatedir}/sqlrelay -g sqlrelay sqlrelay
+
+%post client-runtime -p /sbin/ldconfig
+
%postun client-runtime
/sbin/ldconfig
if [ "$1" = "0" ]; then
@@ -367,6 +492,9 @@
%groupremove sqlrelay
fi
+%post client-mysql -p /sbin/ldconfig
+%postun client-mysql -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%dir %{_sysconfdir}
@@ -380,9 +508,9 @@
%attr(755,root,root) %{_bindir}/sqlr-start*
%attr(755,root,root) %{_bindir}/sqlr-stop
%{_libdir}/libsqlrconnection*
+# XXX: shouldn't it be -client-postgresql?
%attr(755,root,root) %{_libdir}/libpqsqlrelay-*.*.*.so.1.0.0
%{_libdir}/libsqlrutil*
-%dir %{_localstatedir}/sqlrelay
%attr(775,root,sqlrelay) %{_localstatedir}/sqlrelay/tmp
%attr(775,root,sqlrelay) %{_localstatedir}/sqlrelay/debug
%attr(660,root,sqlrelay) %ghost %{_localstatedir}/sqlrelay/sockseq
@@ -399,6 +527,9 @@
%files devel
%defattr(644,root,root,755)
+# XXX: headers? separate -static?
+# isn't it some PostgreSQL driver?
+%attr(755,root,root) %{_libdir}/libpqsqlrelay.so
%{_libdir}/libpqsqlrelay.a
%{_libdir}/libpqsqlrelay.la
@@ -415,30 +546,36 @@
%files client-runtime
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libsqlrclient-*.so.*
+%attr(755,root,root) %{_libdir}/libsqlrclient-*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libsqlrclientwrapper-*.so.*.*.*
+%dir %{_localstatedir}/sqlrelay
%attr(770,root,sqlrelay) %{_localstatedir}/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
+%attr(755,root,root) %{_libdir}/libsqlrclient.so
+%attr(755,root,root) %{_libdir}/libsqlrclientwrapper.so
+%{_libdir}/libsqlrclient.la
%{_libdir}/libsqlrclientwrapper.la
-%{_libdir}/libsqlrclientwrapper.so
+%dir %{_includedir}/sqlrelay
+%{_includedir}/sqlrelay/private
+%{_includedir}/sqlrelay/sqlrclient.h
+%{_includedir}/sqlrelay/sqlrclientwrapper.h
%{_pkgconfigdir}/sqlrelay-c.pc
+%{_pkgconfigdir}/sqlrelay-c++.pc
+
+%files client-static
+%defattr(644,root,root,755)
+%{_libdir}/libsqlrclient.a
+%{_libdir}/libsqlrclientwrapper.a
%files client-mysql
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libmysql*sqlrelay-*.so.*
-%{_libdir}/libmysql*sqlrelay.so
+%attr(755,root,root) %{_libdir}/libmysql*sqlrelay-*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libmysql*sqlrelay.so
+# XXX: kill or separate -devel, -static?
%{_libdir}/libmysql*sqlrelay.a
%{_libdir}/libmysql*sqlrelay.la
@@ -563,6 +700,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2006/10/08 14:20:32 qboosh
+- pl
+- separated -client-static
+- some packaging fixes (missing dir, moved scripts and R() to proper packages)
+
Revision 1.12 2006/09/12 15:26:50 glen
- add gtk
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/sqlrelay.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list