ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/libtiff.spec
Revision: 1.17
Committed: Thu May 29 20:00:05 2008 UTC (16 years, 11 months ago) by ratnik
Branch: MAIN
CVS Tags: MotT0_1_0_2, MotT0_1_0_1, MotT0_1_0_0, MotT0_100531_1, MotT0_100528_1, T0Mon_100518_1, T0Mon_100503_1, T0Mon_100316_1, T0Mon_100308_2, T0Mon_100308_1, T0Mon_100216_1, T0Mon_100210_1, T0Mon_100204_4, T0Mon_100204_3, T0Mon_100204_1, T0Mon_100127_1, T0Mon_091111_1, T0Mon_090828_1, T0Mon_090822_1, T0Mon_090715_1, T0Mon_090612_1, T0Mon_090611_1, T0Mon_090610_1, T0Mon_090601_1, T0Mon_090527_2, T0Mon_090527_1, T0Mon_090522_1, T0Mon_090519_2, T0Mon_090519_1, T0Mon_090517_1, T0Mon_090516_1, T0Mon_090515_4, T0Mon_090515_3, T0Mon_090515_2, T0Mon_090515_1, T0Mon_090510_1, T0Mon_090406_1, T0Mon_090326_1, T0Mon_090325_1, CMSSW_2_2_6_HLT_ONLINE1, nr090319_for226hltonl1, CMSSW_2_2_6_HLT_ONLINE, T0Mon_090318_1, T0Mon_090315_1, CMSSW_2_2_6_onlpatch1_ONLINE, CMSSW_2_2_6_ONLINE, nr090307for226_onlpatch1, nr090306onl226_tkonlsw_too_new, pe20090304b-30Xports-432, pe20090304a-30Xports-432, T0Mon_090303_1, pe20090226b-30Xports-432, pe20090226a-30Xports-432, pe20090224b-30Xports-432, pe20090224a-30Xports-432, 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_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, testofc, T0Mon_081107_1, T0Mon_081105_1, PRODAGENT_0_12_2, CMSSW_2_1_9_ONLINE, T0Mon_080926_1, T0Mon_080920_2, T0Mon_080920_1, T0Mon_080916_2, T0Mon_080905_1, T0Mon_080905_01, T0Mon_080902_2, T0Mon_080902_1, T0Mon_080824_1, T0Mon_080823_1, CMSSW_2_1_4_ONLINE1, buildset_V2_8, CMSSW_2_1_1_ONLINE1, CMSSW_2_1_0_ONLINE1, nr080806_for210onl, CMSSW_2_0_10_ONLINE1, nr080714_forCRAB, nr080624_for21x, nr080623_for21x, CMSSW_2_0_8_ONLINE1-cms2, CMSSW_2_0_8_ONLINE1, SiteDB_030608_1, nr080529_onl_cmsBuild
Changes since 1.16: +1 -1 lines
Log Message:
Finilize transition to cmsBuild for online: cleanup version suffices temporarily used for building online with cmsBuild.sh.

File Contents

# User Rev Content
1 ratnik 1.17 ### RPM external libtiff 3.8.2
2 eulisse 1.4
3 elmer 1.8 Source: http://dl.maptools.org/dl/libtiff/tiff-%{realversion}.zip
4 ratnik 1.13
5 ratnik 1.16 %if "%cmsplatf" != "slc4onl_ia32_gcc346"
6 ratnik 1.13 Requires: zlib
7     %endif
8    
9 ratnik 1.16 %if "%cmsplatf" == "slc4onl_ia32_gcc346"
10 ratnik 1.13 Requires: onlinesystemtools
11     %endif
12    
13 eulisse 1.1 Requires: libjpg
14    
15     %prep
16 elmer 1.8 %setup -n tiff-%{realversion}
17 eulisse 1.1 %build
18     ./configure --prefix=%{i} \
19     --with-zlib-lib-dir=$ZLIB_ROOT/lib \
20     --with-zlib-include-dir=$ZLIB_ROOT/include \
21 elmer 1.3 --with-jpeg-lib-dir=$LIBJPG_ROOT/lib \
22     --with-jpeg-include-dir=$LIBJPG_ROOT/include
23 eulisse 1.1
24     make %makeprocesses
25 muzaffar 1.10
26     %install
27     make install
28    
29     # SCRAM ToolBox toolfile
30     mkdir -p %i/etc/scram.d
31     cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
32     <doc type=BuildSystem::ToolDoc version=1.0>
33     <Tool name=%n version=%v>
34     <info url="http://www.libtiff.org/"></info>
35     <lib name=tiff>
36     <Client>
37     <Environment name=LIBTIFF_BASE default="%i"></Environment>
38     <Environment name=LIBDIR default="$LIBTIFF_BASE/lib"></Environment>
39     <Environment name=INCLUDE default="$LIBTIFF_BASE/include"></Environment>
40     </Client>
41     <use name=libjpg>
42     <use name=zlib>
43     </Tool>
44     EOF_TOOLFILE
45    
46 eulisse 1.5 %post
47     %{relocateConfig}lib/libtiff.la
48     %{relocateConfig}lib/libtiffxx.la
49 muzaffar 1.10 %{relocateConfig}etc/scram.d/%n