don't create an empty package unixODBC-GUI-Qt, it can be made from a different source package now [release 2.3.0-2mamba;Fri Dec 24 2010]
This commit is contained in:
parent
62d0679d85
commit
9c2ba9ac67
@ -1,2 +1,5 @@
|
||||
# libodbc
|
||||
|
||||
ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources.
|
||||
Data Sources include SQL Servers and any Data Source with an ODBC Driver.
|
||||
|
||||
|
11
libodbc-2.2.11-lex.patch
Normal file
11
libodbc-2.2.11-lex.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- unixODBC-2.2.11/sqp/lex.l 2001-10-17 18:40:32.000000000 +0200
|
||||
+++ unixODBC-2.2.11/sqp/lex.l 2005-12-21 17:18:45.000000000 +0100
|
||||
@@ -237,7 +237,7 @@
|
||||
{
|
||||
sprintf( g_szError, "%s processing '%s' on line %d", s, yytext, g_nLineNo );
|
||||
|
||||
- YY_FLUSH_BUFFER;
|
||||
+ yy_flush_buffer(YY_CURRENT_BUFFER);
|
||||
}
|
||||
|
||||
/**********************************************************************
|
101
libodbc.spec
Normal file
101
libodbc.spec
Normal file
@ -0,0 +1,101 @@
|
||||
Name: libodbc
|
||||
Version: 2.3.0
|
||||
Release: 2mamba
|
||||
Summary: Open specification for providing a predictable API to access Data Sources.
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.unixodbc.org/
|
||||
Source: http://www.unixodbc.org/unixODBC-%{version}.tar.gz
|
||||
Patch: %{name}-2.2.11-lex.patch
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libltdl-devel
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libreadline-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Provides: libodbcinst.so, libodbc.so
|
||||
|
||||
%description
|
||||
ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources.
|
||||
Data Sources include SQL Servers and any Data Source with an ODBC Driver.
|
||||
|
||||
%package devel
|
||||
Summary: Devel package for libodbc
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources.
|
||||
Data Sources include SQL Servers and any Data Source with an ODBC Driver.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%prep
|
||||
%setup -q -n unixODBC-%{version}
|
||||
#%patch -p1 -b .lex
|
||||
#rm odbcinstQ4/mC*.cpp
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--sysconfdir=%{_sysconfdir}/odbc \
|
||||
--with-qt-dir=%{_qt4_prefix} \
|
||||
--with-qt-includes=%{_qt4_headerdir} \
|
||||
MOC=%{_qt4_bindir}/moc \
|
||||
UIC=%{_qt4_bindir}/uic
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
# .so here because libodbcinst.so and libodbc.so are required
|
||||
# by Java precompiled binaries
|
||||
%{_libdir}/*.so
|
||||
%{_bindir}/dltest
|
||||
%{_bindir}/iusql
|
||||
%{_bindir}/isql
|
||||
%{_bindir}/odbcinst
|
||||
%{_bindir}/odbc_config
|
||||
%dir %{_sysconfdir}/odbc
|
||||
%{_sysconfdir}/odbc/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.la
|
||||
%{_includedir}/*.h
|
||||
|
||||
%changelog
|
||||
* Fri Dec 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-2mamba
|
||||
- don't create an empty package unixODBC-GUI-Qt, it can be made from a different source package now
|
||||
|
||||
* Sun Oct 03 2010 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
||||
- update to 2.3.0
|
||||
|
||||
* Sat May 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.14-1mamba
|
||||
- update to 2.2.14
|
||||
|
||||
* Fri Dec 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.13-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Jun 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.12-1mamba
|
||||
- update to 2.2.12
|
||||
|
||||
* Mon Dec 19 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.2.11-1qilnx
|
||||
- update to version 2.2.11 by autospec
|
||||
- specfile updated and fixed
|
||||
- unixODBC-qt-gui subpackage excluded from bootstrap builds
|
||||
- added lex patch
|
||||
|
||||
* Mon Oct 13 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.6-1qilnx
|
||||
- first build
|
Loading…
Reference in New Issue
Block a user