Package unixODBC-compat: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | %define rname unixODBC Name: unixODBC-compat Version: 2.2.12 Release: alt11 Summary: Unix ODBC driver manager and database drivers Summary(ru_RU.UTF-8): Система управления драйверами ODBC для unix Group: Databases License: LGPL Url: http://www.unixODBC.org Requires: lib%rname = %version-%release Provides: MyODBC = %version-%release Obsoletes: unixODBC-contrib Source0: http://www.unixodbc.org/%rname-%version.tar.gz Source1: %rname-odbcinst.ini Source2: %rname-DataManager.desktop Source3: %rname-ODBCConfig.desktop Patch1: %rname-depcomp.patch Patch2: %rname-parserupdate.patch Patch3: %rname-2.2.11-stricmp.patch Patch4: %rname-2.2.11-symbols.patch Patch5: %rname-2.2.12-alt-ltdl.patch # Automatically added by buildreq on Mon Feb 14 2011 BuildRequires: flex gcc-c++ libltdl7-devel libqt3-devel libreadline-devel %description UnixODBC is a free/open and solution for ODBC. ODBC is an open specifican 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. %description -l ru_RU.UTF-8 UnixODBC - это свободное ODBC решение. ODBC представляет из себя открытую спецификацию для разработки приложений с универсальным API для доступа к базам данных. Базы данных включает в себя сервера SQL и другие источники данных, поддерживаемые ODBC драйверами. %package -n lib%{rname}1 Summary: Shared libraries for ODBC Summary(ru_RU.UTF-8): Разделяемые библиотеки для ODBC Group: Development/Databases Provides: lib%{rname} = %version-%release Obsoletes: lib%{rname} < %version-%release %description -n lib%{rname}1 unixODBC aims to provide a complete ODBC solution for the Linux platform. This package contains the shared libraries. %description -n lib%{rname}1 -l ru_RU.UTF-8 unixODBC представляет из себя полную спецификацию ODBC для Linux платформы. Этот пакет содержит в себе раделяемые библиотеки. %prep %setup -q -n %rname-%version rm -r libltdl %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build export QTDIR=%_qt3dir %autoreconf %configure \ --with-gnu-ld \ --enable-threads \ --enable-ltdllib \ --with-qt-libraries=%_qt3dir/lib \ --disable-static %make_build %install %makeinstall_std install -pD -m644 %SOURCE1 %buildroot%_sysconfdir/odbcinst.ini subst "s,@libdir@,%_libdir," %buildroot%_sysconfdir/odbcinst.ini install -pD -m644 %SOURCE2 %buildroot%_desktopdir/DataManager.desktop install -pD -m644 %SOURCE3 %buildroot%_desktopdir/ODBCConfig.desktop install -pD -m644 DataManager/LinuxODBC.xpm %buildroot%_niconsdir/LinuxODBC.xpm install -pD -m644 DataManager/ODBC.xpm %buildroot%_miconsdir/odbc.xpm find doc -name Makefile\* -delete %files -n lib%{rname}1 %_libdir/lib*.so.* %exclude %_libdir/libodbcpsql.so.2* %changelog * Mon Oct 05 2015 Andrey Cherepanov <cas@altlinux.org> 2.2.12-alt11 - rebuilt against gcc5-built qt3 * Mon Jun 17 2013 Andrey Cherepanov <cas@altlinux.org> 2.2.12-alt10 - Provide libunixODBC for smooth upgrade (ALT #29080) * Mon Jun 17 2013 Andrey Cherepanov <cas@altlinux.org> 2.2.12-alt9 - Remove wrong provides * Mon Jun 17 2013 Andrey Cherepanov <cas@altlinux.org> 2.2.12-alt8 - Fix file conflicts (ALT #29077) * Thu Jun 13 2013 Andrey Cherepanov <cas@altlinux.org> 2.2.12-alt7 - build compat package * Mon Feb 14 2011 Alexey Tourbin <at@altlinux.ru> 2.2.12-alt6 - rebuilt for debuginfo - fixed build with libtool-2.2/libltdl7 * Sun Nov 14 2010 Denis Smirnov <mithraen@altlinux.ru> 2.2.12-alt5.1.1 - rebuild (with the help of girar-nmu utility) * Thu Oct 28 2010 Denis Smirnov <mithraen@altlinux.ru> 2.2.12-alt5.1 - rebuild (with the help of girar-nmu utility) * Fri Aug 21 2009 Dmitry V. Levin <ldv@altlinux.org> 2.2.12-alt5 - Fixed build in new build environment by enforcing use of libtool-1.5. * Sat Nov 22 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.2.12-alt4 - removed obsolete %%post_ldconfig/%%postun_ldconfig calls * Wed Apr 25 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.12-alt3 - fixed MyODBC library name (close #11618) * Wed Apr 11 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.12-alt2 - fixed provides for x86_64 * Wed Feb 07 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.12-alt1 - update to 2.2.12 - replace old menu to freedesktop menu - spec cleanups - update build dependencies - disabled static - fixed %%_libdir in odbcinst.ini * Wed Apr 19 2006 Mikhail Zabaluev <mhz@altlinux.ru> 2.2.11-alt2.2 - NMU - Moved the versionless soname provides to libunixODBC (bug 9342 comment 1) * Fri Mar 31 2006 Mikhail Zabaluev <mhz@altlinux.ru> 2.2.11-alt2.1 - NMU - Corrected the app-lib dependency structure (bug 9342) - Added libodbcinst.so to the main package (bug 9343) - Got rid of ugly filelists, use %%exclude instead - Corrected library install scripts * Wed Jan 25 2006 Anton Farygin <rider@altlinux.ru> 2.2.11-alt2 - fixed build for x86_64 * Tue Nov 22 2005 Anton Farygin <rider@altlinux.ru> 2.2.11-alt1 - new version * Wed Jan 19 2005 ALT QA Team Robot <qa-robot@altlinux.org> 2.2.8-alt3.1 - Rebuilt with libstdc++.so.6. * Thu May 13 2004 Anton Farygin <rider@altlinux.ru> 2.2.8-alt3 - sync with RH: Backpatch fix for double-free error from upstream devel sources. * Tue May 11 2004 Anton Farygin <rider@altlinux.ru> 2.2.8-alt2 - packages conflict fixed (libltdl, bugzilla #4070) * Fri Apr 30 2004 Anton Farygin <rider@altlinux.ru> 2.2.8-alt1 - new version - added patches from RH - removed gui-gtk * Wed Sep 25 2002 AEN <aen@altlinux.ru> 2.2.3-alt1 - new version * Wed Sep 25 2002 AEN <aen@altlinux.ru> 2.2.1-alt2 - rebuilt with new Qt * Thu Jul 04 2002 AEN <aen@logic.ru> 2.2.1-alt1 - new version * Mon Apr 08 2002 AEN <aen@logic.ru> 2.2.0-alt4 - built odbc driver for MySQL * Thu Mar 28 2002 AEN <aen@logic.ru> 2.2.0-alt3 - libodbcinstQ -> gui-qt * Wed Feb 13 2002 AEN <aen@logic.ru> 2.2.0-alt2 - Typo in spec * Sat Feb 09 2002 Rider <rider@altlinux.ru> 2.2.0-alt1 - 2.2.0 * Thu Jan 03 2002 Rider <rider@altlinux.ru> 2.1.1-alt1 - build section from MDK - 2.1.1 - temporary removed QT based tools - russan summary and description * Thu Oct 11 2001 AEN <aen@logic.ru> 2.0.8-alt2 - rebuilt with libpng.so.3 * Sat Sep 08 2001 Rider <rider@altlinux.ru> 2.0.8-alt1 - buildreq fix - 2.0.8 * Fri May 04 2001 Rider <rider@altlinux.ru> 2.0.6-alt1 - libifications - 2.0.6 - devel-static package * Sat Feb 17 2001 AEN <aen@logic.ru> - group names fixed * Wed Jan 17 2001 AEN <aen@logic.ru> - RE adaptation - build with GUI - BuildReq : unixODBC * Tue Jan 16 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.0.3-1mdk - bump a new and shiny source into cooker. * Sat Nov 25 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.8.13-1mdk - new and shiny source bumped into cooker. * Fri Aug 25 2000 Giuseppe GhibР <ghibo@mandrakesoft.com> 1.8.12-1mdk - updated release. * Wed Aug 02 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 1.8.7-2mdk - macroszifications - BM - Geoff <snailtalk@mandrakesoft.com> -- fix the doc kludge * Thu Apr 20 2000 <ghibo@mandrakesoft.com> 1.8.7-1mdk - updated version. * Sat Apr 15 2000 <ghibo@mandrakesoft.com> 1.8.3-1mdk - updated to new version. - fixed group. * Tue Oct 19 1999 <lenny@mandrakesoft.com> - Specfile adaptation. - First pasckage for Mandrake |