Name: freetds Version: 0.62.4 Release: 16 URL: http://www.freetds.org License: LGPL Group: System Environment/Libraries Source: ftp://ftp.metalab.unc.edu/pub/Linux/ALPHA/freetds/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-buildroot Summary: A free re-implementation of the TDS protocol Packager: Stefan Sonnenberg-Carstens Vendor: http://www.freetds.org Distribution: Red Hat (FC3) %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. %package devel Group: Development/Libraries Summary: Include files needed for development with FreeTDS Requires: freetds = %{version}-%release %package unixodbc Group: System Environment/Libraries Summary: Driver ODBC for unixODBC Requires: freetds = %{version}-%release %package doc Group: Documentation Summary: User documentation for FreeTDS %description devel The freetds-devel package contains the files necessary for development with the FreeTDS libraries. %description unixodbc The freetds-unixodbc package contains ODBC driver build for unixODBC. %description doc The freetds-doc package contains the useguide and reference of FreeTDS and can be installed even if FreeTDS main package is not installed %prep %setup %build %configure --with-tdsver=4.2 --prefix=/usr --with-unixodbc=/usr/ --libdir=%{_libdir}/%name --includedir=%_prefix/include/%name --sysconfdir=%{_sysconfdir}/%name make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf "$RPM_BUILD_ROOT" make DESTDIR="$RPM_BUILD_ROOT" install rm -rf "$RPM_BUILD_ROOT/%{_docdir}/freetds-%{version}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS BUGS COPYING.LIB ChangeLog NEWS README TODO %{_bindir}/* %{_mandir}/man1/* %{_libdir}/%name/libct.so* %{_libdir}/%name/libsybdb.so* %{_libdir}/%name/libtds.so* %{_libdir}/%name/libtdssrv.so* %config %{_sysconfdir}/%name/* %files devel %defattr (-,root,root) %{_includedir}/%name/* %{_libdir}/%name/libct.a %{_libdir}/%name/libct.la %{_libdir}/%name/libsybdb.a %{_libdir}/%name/libsybdb.la %{_libdir}/%name/libtds.a %{_libdir}/%name/libtds.la %{_libdir}/%name/libtdsodbc.a %{_libdir}/%name/libtdsodbc.la %{_libdir}/%name/libtdssrv.a %{_libdir}/%name/libtdssrv.la %files unixodbc %defattr(-,root,root) %{_libdir}/%name/libtdsodbc.so* %files doc %defattr (-,root,root) %doc doc/doc/freetds-%{version}/userguide doc/images doc/doc/freetds-%{version}/reference %changelog * Tue Dec 21 2004 Stefan Sonnenberg-Carstens 0.62.4-16 - further improvements - allmost all errors should be fixed now, there is a dependency left - to unixODBC-devel - rpms are now properly signed and therefor you can verify them * Mon Dec 20 2004 Stefan Sonnenberg-Carstens - further cleanings after suggestions from fedora-devel ml to escape namespace polution with shared libs. Config files are now in separate sub-dir as in debian. * Fri Dec 17 2004 Stefan Sonnenberg-Carstens - cleaned up package, some fixes and update to latest stable 0.62.4 * Sun Mar 30 2003 Frediano Ziglio - add reference to doc package * Wed Feb 5 2003 Ian Grant - 0.61 tweaked. Added libtdssrv libraries and tools in /usr/bin + man pages * Sun Dec 30 2002 David Hollis - 0.60 tweaked. Move .a & .la files to -devel package * Thu Dec 20 2001 Brian Bruns - Modifications for 0.53 ver and removing interfaces file * Wed Jun 28 2001 Brian Bruns - Modifications for 0.52 ver and ODBC drivers * Wed Feb 14 2001 David Hollis - First stab at RPM for 0.51 ver