Accepting request 102976 from devel:libraries:c_c++

- there is a GPL copying too, so add GPL-2.0+ too

- Remove redundant tags/sections
- Resolve dependency indirection

OBS-URL: https://build.opensuse.org/request/show/102976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freetds?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2012-02-10 16:13:32 +00:00 committed by Git OBS Bridge
commit 987f98a772
2 changed files with 23 additions and 10 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Feb 7 08:05:54 UTC 2012 - coolo@suse.com
- there is a GPL copying too, so add GPL-2.0+ too
-------------------------------------------------------------------
Sun Feb 5 20:21:09 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections
- Resolve dependency indirection
-------------------------------------------------------------------
Wed Oct 12 10:19:44 UTC 2011 - tabraham@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package freetds
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,22 +16,21 @@
#
Name: freetds
Version: 0.91
Release: 1
Release: 0
%define dirver 0.91
%define filever 0.91
License: LGPL
Summary: A free re-implementation of the TDS (Tabular DataStream) protocol
URL: http://www.freetds.org/
License: LGPL-2.1+ and GPL-2.0+
Group: Productivity/Databases/Clients
Url: http://www.freetds.org/
Source: %{name}-%{filever}.tar.bz2
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: unixODBC
BuildRequires: unixODBC-devel
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
@ -46,6 +45,7 @@ and ODBC.
%package -n libfreetds
Summary: A free re-implementation of the TDS (Tabular DataStream) protocol
License: LGPL-2.1+
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
@ -58,9 +58,9 @@ and ODBC.
%package tools
Summary: Applications for working with the TDS (Tabular DataStream) protocol
License: LGPL-2.1+ and GPL-2.0+
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
License: GPL, LGPL
Requires: libfreetds = %version
%description tools
FreeTDS is a project to document and implement the TDS (Tabular DataStream)
@ -72,8 +72,9 @@ This package provides application to allow users to make use of the protocol
%package devel
Summary: Include files needed for development with FreeTDS
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: libfreetds = %version
%description devel
The freetds-devel package contains the files necessary for development with
@ -81,6 +82,7 @@ the FreeTDS libraries.
%package -n libtdsodbc0
Summary: FreeTDS ODBC Driver for unixODBC
License: LGPL-2.1+
Group: Productivity/Databases/Clients
Requires: unixODBC >= 2.0.0
@ -89,6 +91,7 @@ The freetds-unixodbc package contains ODBC driver build for unixODBC.
%package doc
Summary: User documentation for FreeTDS
License: LGPL-2.1+ and GPL-2.0+
Group: Productivity/Databases/Clients
%description doc
@ -108,7 +111,6 @@ if test ! -r "$ODBCDIR/include/sql.h"; then
fi
autoreconf --force --install
%configure \
--prefix=/usr \
--with-unixodbc="$ODBCDIR" \
--enable-threadsafe \
--sysconfdir=%{_sysconfdir} \