Skip to Content.
Sympa Menu

freetds - [freetds] [gnome-db] Gnome DB 0.9 / FreeTDS 0.60 fixes (fwd)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] [gnome-db] Gnome DB 0.9 / FreeTDS 0.60 fixes (fwd)
  • Date: Mon, 30 Dec 2002 08:30:44 -0500 (EST)


Here's a patch to the spec file that appeared on the gnome-db list. Also raises an interesting point about how other packages should detect the presence on freetds. Maybe we should develop an m4 macro?
Brian

---------- Forwarded message ----------
Date: Mon, 30 Dec 2002 01:17:43 -0500
From: David T Hollis <dhollis AT davehollis.com>
To: gnome-db-list AT gnome.org
Subject: [gnome-db] Gnome DB 0.9 / FreeTDS 0.60 fixes

Here are some patches I created to get the 0.9 SRPMS (RH8) to compile correctly on my system. I tweaked the FreeTDS spec file to put the .a files (static-link libs) in the -devel package for cleanliness and had to create a patch for the configure script for libgda to find the FreeTDS headers in the right place (/usr/include/freetds).

--- freetds.spec 2002-12-12 09:51:17.000000000 -0500
+++ freetds.spec.new 2002-12-30 00:57:39.000000000 -0500
@@ -3,16 +3,19 @@

Name: %{name}
Version: %{version}
-Release: 1
+Release: 2
Vendor: www.freetds.org
Copyright: LGPL
Group: System Environment/Libraries
Source:
ftp://ftp.metalab.unc.edu/pub/Linux/ALPHA/freetds/%{name}-%{version}.tgz
-BuildRoot: /var/tmp/%{name}-buildroot
-Summary: FreeTDS is a free re-implementation of the TDS (Tabular DataStream)
protocol that is used by Sybase and Microsoft for their database products.
+BuildRoot: %{_tmppath}/%{name}-buildroot
+Summary: FreeTDS is a free re-implementation of the TDS (Tabular DataStream)
protocol that is used by Sybase and Microsoft for their database products.

%description
-FreeTDS is a project to document and implement the TDS (Tabular DataStream)
protocol. TDS is used by Sybase and Microsoft for client to database server
communications. FreeTDS includes call level interfaces for DB-Lib, CT-Lib,
and ODBC.
+FreeTDS is a project to document and implement the TDS (Tabular DataStream)
+protocol. TDS is used by Sybase and Microsoft for client to database server
+communications. FreeTDS includes call level interfaces for DB-Lib, CT-Lib,
+and ODBC.

%package devel
Group: Development/Libraries
@@ -20,7 +23,8 @@
Requires: freetds = %{version}

%description devel
-The freetds-devel package contains the files necessary for development with
with the Free TDS libraries.
+The freetds-devel package contains the files necessary for development
+with with the Free TDS libraries.

%prep
%setup
@@ -59,18 +63,13 @@
%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO
-%{_libdir}/libct.a
-%{_libdir}/libct.so*
-%{_libdir}/libsybdb.a
-%{_libdir}/libsybdb.so*
-%{_libdir}/libtds.a
-%{_libdir}/libtds.so*
-%{_libdir}/libtdsodbc.a
-%{_libdir}/libtdsodbc.so*
+%{_libdir}/lib*.so*
%config %{_sysconfdir}/freetds.conf

%files devel
%defattr (-,root,root)
+%{_libdir}/lib*.a
+%{_libdir}/lib*.la
%{_includedir}/freetds/bkpublic.h
%{_includedir}/freetds/cstypes.h
%{_includedir}/freetds/cspublic.h
@@ -89,9 +88,14 @@
%{_includedir}/freetds/tds_configs.h

%changelog
+* Sun Dec 30 2002 David Hollis <dhollis AT davehollis.com>
+- 0.60 tweaked. Move .a & .la files to -devel package
+
* Thu Dec 20 2001 Brian Bruns <camber AT ais.org>
- Modifications for 0.53 ver and removing interfaces file
+
* Wed Jun 28 2001 Brian Bruns <camber AT ais.org>
- Modifications for 0.52 ver and ODBC drivers
+
* Wed Feb 14 2001 David Hollis <dhollis AT emagisoft.com>
- First stab at RPM for 0.51 ver


  • [freetds] [gnome-db] Gnome DB 0.9 / FreeTDS 0.60 fixes (fwd), Brian Bruns, 12/30/2002

Archive powered by MHonArc 2.6.24.

Top of Page