ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/sqlite.spec
Revision: 1.17
Committed: Tue Oct 9 04:59:57 2007 UTC (17 years, 6 months ago) by dlange
Branch: MAIN
CVS Tags: CMSSW_1_7_7, dl080227for176, CMSSW_1_7_5_ONLINE1, CMSSW_1_7_5, CMSSW_1_7_5_g491, CMSSW_1_7_5_ONLINE, nr080115onl175, dl080111, ge20080109-webconddb, ge20080109-sitedb, CMSSW_1_7_4, CMSSW_1_7_3_g490p1, dl071212t2, dl071212, CMSSW_1_7_3, CMSSW_1_7_2, CMSSW_1_7_1, nr071121onl170_xdaq5, nr071120_fwlite170_1, CMSSW_1_7_0_ONLINE, CMSSW_1_7_0, nr071116onlpre13, CMSSW_1_7_0_pre13, dl071114, ap20071113, CMSSW_1_7_0_pre12, CMSSW_1_7_0_pre10_ONLINE, CMSSW_1_7_0_pre11, nr071105a, pe20071102a-ports, CMSSW_1_7_0_pre10, CMSSW_1_7_0_pre9, CMSSW_1_7_0_pre8, CMSSW_1_7_0_pre7, dl071028, dl071024, nr071023_fwlite170p6, pe20071023-170p6-amd64, forTony_001, pe20071021-170p6-zlib, dl071021t2, dl071021, pe20071021a-ports, dl071020, CMSSW_1_7_0_pre6, pe20071015-xrootd, pe20071014-ports, dl071014, dl071010t2, dl071010, dl071009t2, dl071009
Changes since 1.16: +1 -1 lines
Log Message:
update frontier and sqlite versions

File Contents

# User Rev Content
1 dlange 1.17 ### RPM external sqlite 3.4.0
2 muzaffar 1.16 Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%{n}-%{realversion}.tar.gz
3 eulisse 1.14 Patch1: sqlite_%{realversion}_readline_for_32bit_on_64bit_build
4 elmer 1.11
5     %prep
6     %setup -n %n-%{realversion}
7 elmer 1.12 # The following hack and patch are there because the libreadline.so soft
8     # link is missing from the 32-bit compatibility area on the 64-bit build
9     # machines and apparently they don't have a -devel build with it. It
10     # definitely should be reviewed at some point.
11 eulisse 1.14 %patch1 -p1
12 elmer 1.12 mkdir .libs
13     ln -s /usr/lib/libreadline.so.4.3 .libs/libreadline.so
14 elmer 1.11
15 eulisse 1.1 %build
16     ./configure --prefix=%i --disable-tcl
17 eulisse 1.2 make %makeprocesses
18 muzaffar 1.16
19     %install
20     make install
21     # SCRAM ToolBox toolfile
22     mkdir -p %i/etc/scram.d
23     cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
24     <doc type=BuildSystem::ToolDoc version=1.0>
25     <Tool name=%n version=%v>
26     <lib name=sqlite3>
27     <Client>
28     <Environment name=SQLITE_BASE default="%i"></Environment>
29     <Environment name=LIBDIR default="$SQLITE_BASE/lib"></Environment>
30     <Environment name=BINDIR default="$SQLITE_BASE/bin"></Environment>
31     <Environment name=INCLUDE default="$SQLITE_BASE/include"></Environment>
32     </Client>
33     <Runtime name=PATH value="$BINDIR" type=path>
34     </Tool>
35     EOF_TOOLFILE
36    
37     %post
38     %{relocateConfig}etc/scram.d/%n