Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-freetds-091112-static
dba-freetds-091112-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-freetds-091112-static.spec of Package dba-freetds-091112-static
%define real_name freetds %define prefix /DBA/%{real_name}/%{version} %define version 0.91.112 %define vers 091112 Name: dba-%{real_name}-%{vers}-static Summary: FreeTDS is a free re-implementation of the TDS (Tabular DataStream) protocol Version: %{version} Release: 1 Group: System Environment/Libraries License: LGPL URL: http://www.freetds.org/ Source: ftp://ftp.freetds.org/pub/%{real_name}/stable/%{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{real_name}-%{version}-build BuildRequires: autoconf libtool automake BuildRequires: unixODBC-devel unixODBC %if 0%{?suse_version} Requires: glibc-locale %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description 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. %prep %setup -q -n %{real_name}-%{version} %build export CFLAGS="%{optflags}" ODBCDIR=`odbc_config --prefix || true` if test ! -r "$ODBCDIR/include/sql.h"; then ODBCDIR=/usr/local fi if test ! -r "$ODBCDIR/include/sql.h"; then ODBCDIR=/usr fi ./configure \ --prefix=%{prefix} \ --with-unixodbc="$ODBCDIR" \ --with-tdsver=4.2 \ --enable-threadsafe \ --disable-shared \ --enable-static \ --with-pic %{__make} %{?_smp_mflags} %install %{__make} DESTDIR=%{buildroot} install rm -f `find %{buildroot} -name *.la` %post %ifarch x86_64 cd %{prefix} %{__ln_s} -f lib lib64 %endif %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Thu Apr 9 2015 Holger Manthey <holger.manthey@bertelsmann.de> - add symlink for lib to lib64 * Tue Apr 7 2015 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor