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 Wed Oct 12 10:19:44 UTC 2011 - tabraham@novell.com

View File

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