Accepting request 78175 from home:TheBlackCat
Another update to this package, this time to (hopefully) fix license labeling issues. As before, please review this as soon as possible so it can be submitted to openSUSE:Factory before the deadline in a couple of days. OBS-URL: https://build.opensuse.org/request/show/78175 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/freetds?expand=0&rev=6
This commit is contained in:
parent
ffc1d81561
commit
50466996bb
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 6 11:48:21 UTC 2011 - toddrme2178@gmail.com
|
||||
|
||||
- Split into library and tools (binary) packages
|
||||
- Fixed license labeling.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 4 09:43:30 UTC 2011 - coolo@novell.com
|
||||
|
||||
|
42
freetds.spec
42
freetds.spec
@ -22,7 +22,6 @@ Version: 0.9.1rc2
|
||||
Release: 10
|
||||
%define dirver 0.91.dev.20110715RC2
|
||||
%define filever 0.91rc
|
||||
|
||||
License: LGPL
|
||||
Summary: A free re-implementation of the TDS (Tabular DataStream) protocol
|
||||
Url: http://www.freetds.org/
|
||||
@ -44,10 +43,35 @@ protocol. TDS is used by Sybase and Microsoft for client to database server
|
||||
communications. FreeTDS includes call level interfaces for DB-Lib, CT-Lib,
|
||||
and ODBC.
|
||||
|
||||
%package -n libfreetds
|
||||
Summary: A free re-implementation of the TDS (Tabular DataStream) protocol
|
||||
Provides: %{name} = %{version}
|
||||
Obsoletes: %{name} < %{version}
|
||||
|
||||
%description -n libfreetds
|
||||
FreeTDS is a project to document and implement the TDS (Tabular DataStream)
|
||||
protocol. TDS is used by Sybase and Microsoft for client to database server
|
||||
communications. FreeTDS includes call level interfaces for DB-Lib, CT-Lib,
|
||||
and ODBC.
|
||||
|
||||
%package tools
|
||||
Summary: Applications for working with the TDS (Tabular DataStream) protocol
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
License: GPL, LGPL
|
||||
|
||||
%description tools
|
||||
FreeTDS is a project to document and implement the TDS (Tabular DataStream)
|
||||
protocol. TDS is used by Sybase and Microsoft for client to database server
|
||||
communications. FreeTDS includes call level interfaces for DB-Lib, CT-Lib,
|
||||
and ODBC.
|
||||
|
||||
This package provides application to allow users to make use of the protocol
|
||||
|
||||
%package devel
|
||||
Summary: Include files needed for development with FreeTDS
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: freetds = %{version}
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
The freetds-devel package contains the files necessary for development with
|
||||
@ -99,9 +123,9 @@ mv %{buildroot}%{_datadir}/doc/freetds-*/* %{buildroot}%{_docdir}/freetds/
|
||||
rm -rf %{buildroot}%{_docdir}/freetds-* %{buildroot}/%{_datadir}/doc/freetds-*
|
||||
%fdupes %{buildroot}/%{_docdir}/freetds/userguide
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libfreetds -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libfreetds -p /sbin/ldconfig
|
||||
|
||||
%post -n libtdsodbc0
|
||||
echo "[FreeTDS]
|
||||
@ -124,14 +148,18 @@ odbcinst -u -d -n 'SQL Server' > /dev/null 2>&1 || true
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%files -n libfreetds
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS BUGS COPYING* ChangeLog INSTALL NEWS README TODO
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man?/*
|
||||
%{_libdir}/libct.so.*
|
||||
%{_libdir}/libsybdb.so.*
|
||||
%config %{_sysconfdir}/*
|
||||
%{_mandir}/man5/*.5.gz
|
||||
|
||||
%files tools
|
||||
%defattr (-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*.1.gz
|
||||
|
||||
%files devel
|
||||
%defattr (-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user