Package sqlite3: 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 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 | Name: sqlite3 Version: 3.7.15.2 Release: alt1 Summary: An Embeddable SQL Database Engine License: Public Domain Group: Development/Databases URL: http://www.sqlite.org/ Requires: lib%name = %version-%release Source0: sqlite-%version.tar Patch1: sqlite3-alt-fts3.patch Patch2: sqlite3-alt-tcl.patch Patch3: sqlite3-alt-version-script.patch BuildRequires(Pre): tcl-devel BuildRequires: libreadline-devel %description SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. %package -n lib%name Summary: An Embeddable SQL Database Engine (shared library) Group: System/Libraries Provides: sqlite(SECURE_DELETE) sqlite(COLUMN_METADATA) sqlite(FTS3) sqlite(UNLOCK_NOTIFY) Provides: %name-fts3 = %version-%release Obsoletes: %name-fts3 < %version-%release %description -n lib%name SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. %package -n lib%name-devel Summary: An Embeddable SQL Database Engine (header files) Group: Development/Databases Requires: lib%name = %version-%release %description -n lib%name-devel SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. %package -n lib%name-devel-static Summary: An Embeddable SQL Database Engine (static library) Group: Development/Databases Requires: lib%name-devel = %version-%release %description -n lib%name-devel-static SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. %package tcl Summary: An Embeddable SQL Database Engine (TCL bindings) Group: Development/Tcl Requires: lib%name = %version-%release %description tcl SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. %package doc Summary: An Embeddable SQL Database Engine (documentation) Group: Development/Documentation Conflicts: %name < 3.3.8-alt1 BuildArch: noarch %description doc SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. %package -n lemon Summary: The Lemon Parser Generator Group: Development/Other %description -n lemon Lemon is an LALR(1) parser generator for C or C++. It does the same job as bison and yacc. But lemon is not another bison or yacc clone. It uses a different grammar syntax which is designed to reduce the number of coding errors. Lemon also uses a more sophisticated parsing engine that is faster than yacc and bison and which is both reentrant and thread-safe. Furthermore, Lemon implements features that can be used to eliminate resource leaks, making is suitable for use in long-running programs such as graphical user interfaces or embedded controllers. %prep %setup -q -n sqlite-%version %patch1 -p1 %patch2 -p1 %patch3 -p1 %build export TCLLIBDIR=%_tcllibdir export TCLDATADIR=%_tcldatadir/%name export CFLAGS="%optflags -DSQLITE_CORE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 " autoreconf -i %configure \ --enable-threadsafe \ --disable-amalgamation \ --enable-load-extension %make_build all %check subst 's|-DSQLITE_ENABLE_FTS3=1||' Makefile %make test %install %make_install install tcl_install DESTDIR=%buildroot install -pD -m644 %name.1 %buildroot%_man1dir/%name.1 install -pD -m755 lemon %buildroot%_bindir/lemon install -pD -m644 lempar.c %buildroot%_datadir/lemon/lempar.c # for perl-DBD-SQLite install -p -m644 ext/fts3/fts3.h ext/fts3/fts3_*.h %buildroot%_includedir/ %define pkgdocdir %_docdir/%name mkdir -p %buildroot%pkgdocdir cp -a doc %buildroot%pkgdocdir/html install -pD -m644 doc/lemon.html %buildroot%_docdir/lemon/lemon.html %files %_bindir/%name %_man1dir/%name.* %files -n lib%name %_libdir/lib%name.so.* %files -n lib%name-devel %_includedir/sqlite3.h %_includedir/sqlite3ext.h %_includedir/fts3.h %_includedir/fts3_*.h %_libdir/lib%name.so %_pkgconfigdir/%name.pc %files -n lib%name-devel-static %_libdir/lib%name.a %files tcl %_tcllibdir/libtcl%name.so* %dir %_tcldatadir/sqlite3 %_tcldatadir/sqlite3/pkgIndex.tcl %files doc %pkgdocdir %files -n lemon %dir %_docdir/lemon %_docdir/lemon/lemon.html %_bindir/lemon %_datadir/lemon %changelog * Tue Jan 15 2013 Valery Inozemtsev <shrek@altlinux.ru> 3.7.15.2-alt1 - 3.7.15.2 (closes: #27231) * Mon Apr 25 2011 Valery Inozemtsev <shrek@altlinux.ru> 3.7.6.2-alt2 - fixed fts3 patch * Mon Apr 25 2011 Valery Inozemtsev <shrek@altlinux.ru> 3.7.6.2-alt1 - 3.7.6.2 * Tue Feb 15 2011 Alexey Tourbin <at@altlinux.ru> 3.7.4-alt2 - rebuilt for debuginfo - disabled symbol versioning - packaged fts3 headers, for perl-DBD-SQLite * Tue Jan 25 2011 Valery Inozemtsev <shrek@altlinux.ru> 3.7.4-alt1 - 3.7.4 * Thu Nov 04 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.7.2-alt2 - rebuild * Tue Sep 07 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.7.2-alt1 - 3.7.2 * Thu Aug 12 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.7.0.1-alt1 - 3.7.0.1 * Thu Jul 01 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.6.23.1-alt3 - added provides sqlite(SECURE_DELETE), sqlite(COLUMN_METADATA), sqlite(FTS3), sqlite(UNLOCK_NOTIFY) * Wed Jun 23 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.6.23.1-alt2 - enabled unlock notify * Thu May 27 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.6.23.1-alt1 - 3.6.23.1 * Wed Jan 06 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.6.22-alt1 - 3.6.22 * Tue Dec 08 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.21-alt1 - 3.6.21 * Thu Nov 12 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.20-alt1 - 3.6.20 * Mon Oct 19 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.19-alt1 - 3.6.19 * Mon Sep 21 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.18-alt3 - don't hide "sqlite3[A-Z]*" symbols * Sun Sep 20 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.18-alt2 - enabled column metadata * Sun Sep 13 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.18-alt1 - 3.6.18 * Wed Sep 09 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.17-alt2 - moved "make test" to %%check section * Wed Aug 12 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.17-alt1 - 3.6.17 - enabled tests * Tue Jun 30 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.6.16-alt1 - 3.6.16 - full-text search extension compiled in library * Sun Oct 12 2008 Alexey Tourbin <at@altlinux.ru> 3.5.9-alt3 - backported from cvs: + fix for DISTINCT on indexes (RH#463061, deb#500792) + improved NaN testing for highly optimized GCC on x86 (deb#488864) + tclsqlite.test works reliably with tcl 8.5.4 - set correct version in pkgIndex.tcl (deb#483990) * Fri Jul 04 2008 Alexey Tourbin <at@altlinux.ru> 3.5.9-alt2 - sqlite3.pc: provide full version (#16268) - made sqlite3-doc package noarch * Sat May 24 2008 Alexey Tourbin <at@altlinux.ru> 3.5.9-alt1 - 3.4.2 -> 3.5.9 - upgraded fts2 subpackage to fts2 - merged new documentation from http://sqlite.org/docsrc/ * Fri Aug 17 2007 Alexey Tourbin <at@altlinux.ru> 3.4.2-alt1 - 3.4.1+cvs20070803 -> 3.4.2 * Sun Aug 05 2007 Alexey Tourbin <at@altlinux.ru> 3.4.1-alt2 - 3.4.1+cvs20070720 -> 3.4.1+cvs20070803 * Sat Jul 21 2007 Alexey Tourbin <at@altlinux.ru> 3.4.1-alt1 - 3.3.17+ -> 3.4.1+cvs20070720 (fixes multiple vulnerabilities discovered by the Google Security team) - changed src.rpm packaging to keep separate tarball with cvs snapshot * Fri Apr 27 2007 Alexey Tourbin <at@altlinux.ru> 3.3.17-alt1 - 3.3.15 -> 3.3.17+ * Tue Apr 10 2007 Alexey Tourbin <at@altlinux.ru> 3.3.15-alt1 - 3.3.14+ -> 3.3.15 - re-enabled exclusive2.test * Tue Apr 03 2007 Alexey Tourbin <at@altlinux.ru> 3.3.14-alt1 - 3.3.13+ -> 3.3.14+ - disabled -fno-strict-aliasing since the code has been fixed - disabled exclusive2.test and types3.test * Tue Feb 20 2007 Alexey Tourbin <at@altlinux.ru> 3.3.13-alt1 - 3.3.12 -> 3.3.13+ * Sun Jan 28 2007 Alexey Tourbin <at@altlinux.ru> 3.3.12-alt1 - 3.3.11 -> 3.3.12 * Tue Jan 23 2007 Alexey Tourbin <at@altlinux.ru> 3.3.11-alt1 - 3.3.10+ -> 3.3.11 - sqlite3-doc: packaged missing html files * Thu Jan 11 2007 Alexey Tourbin <at@altlinux.ru> 3.3.10-alt1 - 3.3.8+ -> 3.3.10+ * Wed Nov 15 2006 Alexey Tourbin <at@altlinux.ru> 3.3.8-alt2 - 3.3.8+ cvs snapshot - enabled full text search backend (sqlite3-fts2 package) * Sat Oct 21 2006 Alexey Tourbin <at@altlinux.ru> 3.3.8-alt1 - imported cvs sources with git-cvsimport; applied my changes to the source tree and built with gear - this release is based on sqlite version 3.3.8 - changed documentation packaging: introduced sqlite3-doc package; moved lemon.html to lemon package; added COPYING, which was compiled from various sources; sqlite is still public domain, with a few minor issues * Sun Aug 13 2006 Alexey Tourbin <at@altlinux.ru> 3.3.7-alt1 - 3.3.6 -> 3.3.7 * Wed Jun 07 2006 Alexey Tourbin <at@altlinux.ru> 3.3.6-alt1 - 3.3.5 -> 3.3.6 - compiled with -fno-strict-aliasing (debian #364196) - linked libtclsqlite3.so with libtcl.so * Sun Apr 16 2006 Alexey Tourbin <at@altlinux.ru> 3.3.5-alt1 - 3.3.4 -> 3.3.5; sync debian sqlite3_3.3.5-0.1 - urgency=high (for lib%name >= 3.3): hacked sqlite3_prepare() to keep old code work; try "sqlite3_prepare nBytes" web search for details - restricted list of symbols exported by the library; introduced symbol versioning - fixed libtcl%name linkage (eliminated internal lib%name copy) - improved temporary file handling - new package: lemon (LALR parser generator) * Thu Mar 09 2006 Denis Smirnov <mithraen@altlinux.ru> 3.3.4-alt1 - 3.2.6 -> 3.3.4 * Fri Dec 30 2005 ALT QA Team Robot <qa-robot@altlinux.org> 3.2.6-alt1.1 - Rebuilt with libreadline.so.5. * Sat Sep 24 2005 Alexey Tourbin <at@altlinux.ru> 3.2.6-alt1 - 3.2.5 -> 3.2.6; urgency=medium * Mon Aug 29 2005 Alexey Tourbin <at@altlinux.ru> 3.2.5-alt1 - 3.2.2 -> 3.2.5 * Fri Jun 24 2005 Alexey Tourbin <at@altlinux.ru> 3.2.2-alt1 - 3.2.1 -> 3.2.2 - enabled thread-safety (--enable-threadsafe configure option) - removed --enable-utf8 configure option (has no effect) * Wed Apr 06 2005 Alexey Tourbin <at@altlinux.ru> 3.2.1-alt1 - 3.1.3 -> 3.2.1 * Fri Mar 04 2005 Alexey Tourbin <at@altlinux.ru> 3.1.3-alt1 - 3.0.8 -> 3.1.3 * Fri Nov 26 2004 Alexey Tourbin <at@altlinux.ru> 3.0.8-alt1.1 - fixed tcl bindings (patch by Sergey Bolshakov) * Thu Oct 21 2004 Alexey Tourbin <at@altlinux.ru> 3.0.8-alt1 - 3.0.6 -> 3.0.8 - alt-makefile.patch merged upstream (sqlite ticket #903 for `mkdir -p', sqlite ticket #904 for libdir/lib64) - added post/postun ldconfig scripts * Thu Sep 16 2004 Alexey Tourbin <at@altlinux.ru> 3.0.6-alt1 - 3.0.4 -> 3.0.6 - hopefully should build on x86_64 * Fri Aug 13 2004 Alexey Tourbin <at@altlinux.ru> 3.0.4-alt1 - 2.8.13 -> 3.0.4 (beta), renamed to sqlite3 * Fri Jun 04 2004 Denis Smirnov <mithraen@altlinux.ru> 2.8.13-alt4 - Rebuild * Thu Jun 03 2004 Denis Smirnov <mithraen@altlinux.ru> 2.8.13-alt2 - Fix for correcting update * Mon May 31 2004 Denis Smirnov <mithraen@altlinux.ru> 2.8.13-alt1 - Some minor packaging fixes - Tcl binding bugfix * Sun Apr 11 2004 Denis Smirnov <mithraen@altlinux.ru> 2.8.5-alt3 - Tcl binding build * Sat Dec 13 2003 Ott Alex <ott@altlinux.ru> 2.8.5-alt2 - Remove .la files * Sun Jul 27 2003 Ott Alex <ott@altlinux.ru> 2.8.5-alt1 - New version * Tue Jul 22 2003 Ott Alex <ott@altlinux.ru> 2.8.4-alt1 - Initial build |