]> git.pld-linux.org Git - packages/freetds.git/blobdiff - freetds.spec
- rebuild with readline 5.0
[packages/freetds.git] / freetds.spec
index 1ee7a1b2b5b2e97703da302bf3f8432c550dbfd9..02a7a4808f1d7b09f0bd8a4281de0903a99c5c23 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _with_msdblib - use MS-style dblib
+%bcond_with    msdblib         # use MS-style dblib
 #
 # %%define tdsver - protocol version; valid versions:
 # 4.2 (used by Sybase SQLServer <= 10 and MS SQL Server 6.5)
 Summary:       Free implementation of Sybase's db-lib
 Summary(pl):   Wolnodostêpna implementacja db-lib firmy Sybase
 Name:          freetds
-Version:       0.60
-Release:       2
+Version:       0.63
+Release:       3
 License:       LGPL
 Group:         Libraries
-Source0:       ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/%{name}-%{version}.tgz
-Patch0:                %{name}-nolibnsl.patch
+Source0:       ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/%{name}-%{version}.tar.gz
+# Source0-md5: a0a5038cfb708180308b381f848baf75
 URL:           http://www.freetds.org/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: glib-devel
+BuildRequires: libltdl-devel
 BuildRequires: libtool
 BuildRequires: unixODBC-devel
 Requires(post):        /sbin/ldconfig
@@ -50,7 +50,7 @@ sko
 Summary:       FreeTDS header files
 Summary(pl):   Pliki nag³ówkowe FreeTDS
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 FreeTDS header files.
@@ -62,7 +62,7 @@ Pliki nag
 Summary:       FreeTDS static libraries
 Summary(pl):   Statyczne biblioteki FreeTDS
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 FreeTDS static libraries.
@@ -72,7 +72,6 @@ Statyczne biblioteki FreeTDS.
 
 %prep
 %setup -q
-%patch -p1
 
 %build
 %{__libtoolize}
@@ -81,8 +80,8 @@ Statyczne biblioteki FreeTDS.
 %{__automake}
 %configure \
        --with-tdsver=%{tdsver} \
-       %{?_with_msdblib:--with-msdblib} \
-       --with-unixodbc
+       %{?with_msdblib:--with-msdblib} \
+       --with-unixodbc=/usr
 
 %{__make}
 
@@ -92,6 +91,10 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        ETC=$RPM_BUILD_ROOT%{_sysconfdir}
 
+mv -f src/pool/BUGS BUGS.pool
+mv -f src/pool/README README.pool
+mv -f src/pool/TODO TODO.pool
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -105,12 +108,13 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS BUGS ChangeLog README* TODO
+%doc AUTHORS BUGS* ChangeLog NEWS README* TODO*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %attr(755,root,root) %{_bindir}/*
 %dir %{_sysconfdir}
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/freetds.conf
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/locales.conf
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pool.conf
 %{_mandir}/man1/*
 
 %files devel
This page took 0.08873 seconds and 4 git commands to generate.