diff --git a/freetds-0.91.112.tar.gz b/freetds-0.91.112.tar.gz deleted file mode 100644 index 12215e2..0000000 --- a/freetds-0.91.112.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:be4f04ee57328c32e7e7cd7e2e1483e535071cec6101e46b9dd15b857c5078ed -size 2374916 diff --git a/freetds-0.95.8.tar.gz b/freetds-0.95.8.tar.gz new file mode 100644 index 0000000..c210831 --- /dev/null +++ b/freetds-0.95.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e31eec13907e0bb5e8fb86237b59f4b3cb44d6a91652a1bc8b0d86aaa0ba5ab5 +size 4516120 diff --git a/freetds.changes b/freetds.changes index 611d60f..787f177 100644 --- a/freetds.changes +++ b/freetds.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Sep 11 08:35:10 UTC 2015 - mpluskal@suse.com + +- Update to 0.95.8 + - See NEWS for complete list of changes +- Update dependencies +- Enable gnutls support + ------------------------------------------------------------------- Sat Apr 11 08:22:48 UTC 2015 - tchvatal@suse.com diff --git a/freetds.spec b/freetds.spec index 3baed61..03afccb 100644 --- a/freetds.spec +++ b/freetds.spec @@ -17,7 +17,7 @@ Name: freetds -Version: 0.91.112 +Version: 0.95.8 Release: 0 Summary: A free re-implementation of the TDS (Tabular Data Stream) protocol License: LGPL-2.1+ and GPL-2.0+ @@ -27,9 +27,15 @@ Source: ftp://ftp.freetds.org/pub/freetds/stable/%{name}-%{version}.tar. BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: readline-devel BuildRequires: unixODBC-devel Requires: glibc-locale BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} >= 1310 +BuildRequires: libgcrypt-devel +BuildRequires: libgnutls-devel +%endif %description FreeTDS is a project to document and implement the TDS (Tabular Data Stream) @@ -127,23 +133,29 @@ and can be installed even if FreeTDS main package is not installed %build %configure \ - --with-unixodbc=%{_prefix} \ - --enable-threadsafe \ - --sysconfdir=%{_sysconfdir} \ - --with-tdsver=4.2 \ - --disable-static \ - --with-pic + --with-unixodbc=%{_prefix} \ + --enable-threadsafe \ + --sysconfdir=%{_sysconfdir} \ + --with-tdsver=4.2 \ + --disable-static \ +%if 0%{?suse_version} >= 1310 + --with-gnutls \ +%endif + --with-pic make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" %install -%make_install +make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print # Fix docu location -mkdir -p %{buildroot}%{_docdir}/freetds/ -mv %{buildroot}%{_datadir}/doc/freetds-*/* %{buildroot}%{_docdir}/freetds/ -rm -rf %{buildroot}%{_docdir}/freetds-* %{buildroot}/%{_datadir}/doc/freetds-* -cp AUTHORS "%{buildroot}/%{_defaultdocdir}/%{name}/" +install -d %{buildroot}%{_docdir}/freetds +mv %{buildroot}%{_datadir}/doc/freetds/* %{buildroot}%{_docdir}/freetds/ +rm -rf %{buildroot}%{_docdir}/freetds* %{buildroot}%{_datadir}/doc/freetds-* +install -D AUTHORS %{buildroot}%{_defaultdocdir}/%{name}/AUTHORS +# Fix permissions +find %{buildroot}%{_datadir} -type f -print0 | xargs -0 chmod -x +find %{buildroot}%{_sysconfdir} -type f -print0 | xargs -0 chmod -x %fdupes %{buildroot}/%{_prefix}