packages: freetds/freetds.spec, freetds/freetds-cvs-fixes.patch (REMOVED) -...

qboosh qboosh at pld-linux.org
Sun Aug 21 07:10:45 CEST 2011


Author: qboosh                       Date: Sun Aug 21 05:10:45 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.91
- removed obsolete cvs-fixes patch

---- Files affected:
packages/freetds:
   freetds.spec (1.30 -> 1.31) , freetds-cvs-fixes.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/freetds/freetds.spec
diff -u packages/freetds/freetds.spec:1.30 packages/freetds/freetds.spec:1.31
--- packages/freetds/freetds.spec:1.30	Sun May 16 02:25:54 2010
+++ packages/freetds/freetds.spec	Sun Aug 21 07:10:40 2011
@@ -2,30 +2,31 @@
 #
 # Conditional build:
 %bcond_with	msdblib		# use MS-style dblib instead of SYB-style
+%bcond_without	kerberos5	# Kerberos5 support (via Heimdal)
 #
 # %%define tdsver - default protocol version; valid versions:
 # 4.2 (used by Sybase SQLServer <= 10 and MS SQL Server 6.5)
 # 4.6
 # 5.0 (used by Sybase SQLServer >= 11)
 # 7.0 (used by MS SQL Server 7.0) [spec default]
-# 8.0
+# 7.1 (used by MS SQL Server 2000)
 
 %{!?tdsver:%define tdsver 7.0}
 
 Summary:	Free implementation of Sybase's db-lib
 Summary(pl.UTF-8):	Wolnodostępna implementacja db-lib firmy Sybase
 Name:		freetds
-Version:	0.82
-Release:	5
-License:	LGPL
+Version:	0.91
+Release:	1
+License:	LGPL v2+
 Group:		Libraries
 Source0:	ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/%{name}-%{version}.tar.gz
-# Source0-md5:	3df6b2e83fd420e90f1becbd1162990a
-Patch0:		%{name}-cvs-fixes.patch
+# Source0-md5:	b14db5823980a32f0643d1a84d3ec3ad
 URL:		http://www.freetds.org/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
 BuildRequires:	gettext-devel
+%{?with_kerberos5:BuildRequires:	heimdal-devel}
 BuildRequires:	libltdl-devel
 BuildRequires:	libtool
 BuildRequires:	openssl-devel
@@ -55,6 +56,7 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe FreeTDS
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+%{?with_kerberos5:Requires:	heimdal-devel}
 Requires:	openssl-devel
 
 %description devel
@@ -92,17 +94,15 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-# hack for libtool 2.2
-cp -f /usr/share/gettext/config.rpath .
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
+	%{?with_kerberos5:--enable-krb5=gssapi} \
 	--with-tdsver=%{tdsver} \
 	%{?with_msdblib:--with-msdblib} \
 	--with-openssl \
@@ -122,7 +122,7 @@
 mv -f src/pool/TODO TODO.pool
 
 # ODBC driver, dlopen()ed
-rm -f $RPM_BUILD_ROOT%{_libdir}/libtdsodbc.{la,a}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtdsodbc.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -154,7 +154,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS BUGS* ChangeLog NEWS README* TODO*
+%doc AUTHORS BUGS* ChangeLog NEWS README* TODO* doc/doc/%{name}-%{version}/userguide
 %attr(755,root,root) %{_bindir}/bsqldb
 %attr(755,root,root) %{_bindir}/datacopy
 %attr(755,root,root) %{_bindir}/defncopy
@@ -180,6 +180,7 @@
 
 %files devel
 %defattr(644,root,root,755)
+%doc doc/doc/%{name}-%{version}/reference
 %attr(755,root,root) %{_libdir}/libct.so
 %attr(755,root,root) %{_libdir}/libsybdb.so
 %{_libdir}/libct.la
@@ -207,6 +208,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2011/08/21 05:10:40  qboosh
+- updated to 0.91
+- removed obsolete cvs-fixes patch
+
 Revision 1.30  2010/05/16 00:25:54  sparky
 - replaced BR: gettext with BR: gettext-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/freetds/freetds.spec?r1=1.30&r2=1.31&f=u



More information about the pld-cvs-commit mailing list