Revision: | 1.20 |
Committed: | Mon Nov 24 22:29:14 2008 UTC (16 years, 5 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | pe20090218a-30Xports-432, pe20090216b-30Xports-432, pe20090216a-30Xports-432, WEBTOOLS-APPS_20090130, WEBTOOLS-APPS_20090129, pe20090127c-30Xports-432, pe20090127b-30Xports-432, pe20090127a-30Xports-432, pe20090125a-30Xports-432, PRODAGENT_0_12_10_20090122, PRODAGENT_0_12_10_pre1_MISC, sw_20090115a, sw_20090115, pe20090114c-ports, pe20090114b-ports, pe20090114a-ports, pe20081213c-30Xports-432, pe20081213c-30Xports, pe20081213b-30Xports, pe20081213a-30Xports, pe20081125d-30Xports-432, pe20081125d-30Xports, pe20081125c-30Xports-432, pe20081125c-30Xports, pe20081125b-30Xports, pe20081125b-30Xports-432, pe20081125a-30Xports, pe20081124d-30Xports, pe20081124c-30Xports |
Changes since 1.19: | +1 -1 lines |
Log Message: | Remove no longer relevant -CMSnn in version string. |
# | User | Rev | Content |
---|---|---|---|
1 | elmer | 1.20 | ### 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 |