ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/sqlite.spec
(Generate patch)

Comparing COMP/CMSDIST/sqlite.spec (file contents):
Revision 1.16 by muzaffar, Mon Sep 3 15:28:46 2007 UTC vs.
Revision 1.24 by muzaffar, Tue Aug 10 15:14:05 2010 UTC

# Line 1 | Line 1
1 < ### RPM external sqlite 3.3.5-CMS8
2 < Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%{n}-%{realversion}.tar.gz
1 > ### RPM external sqlite 3.6.10
2 > Source: http://www.sqlite.org/sqlite-%{realversion}.tar.gz
3   Patch1: sqlite_%{realversion}_readline_for_32bit_on_64bit_build
4  
5   %prep
# Line 10 | Line 10 | Patch1: sqlite_%{realversion}_readline_f
10   # definitely should be reviewed at some point.
11   %patch1 -p1
12   mkdir .libs
13 < ln -s /usr/lib/libreadline.so.4.3 .libs/libreadline.so
13 > # Workaround for the lack of a 32bit readline-devel rpm for SL4
14 > # Given that the 64bit readline-devel is there, the headers are there,
15 > # the only thing missing is the libreadline.so symlink. This is not
16 > # a problem for SL5.
17 > case %cmsos in
18 >  slc4*ia32 )
19 >    ln -s /usr/lib/libreadline.so.4.3 .libs/libreadline.so
20 >  ;;
21 > esac
22  
23   %build
24   ./configure --prefix=%i --disable-tcl
# Line 18 | Line 26 | make %makeprocesses
26  
27   %install
28   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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines