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

Comparing COMP/CMSDIST/glimpse.spec (file contents):
Revision 1.8 by elmer, Tue Sep 19 19:52:39 2006 UTC vs.
Revision 1.14 by muzaffar, Mon Sep 3 15:28:45 2007 UTC

# Line 1 | Line 1
1 < ### RPM external glimpse 4.18.5
2 < Source: http://webglimpse.net/trial/glimpse-%{v}.tar.gz
1 > ### RPM external glimpse 4.18.5-CMS8
2 > Source: http://webglimpse.net/trial/glimpse-%{realversion}.tar.gz
3  
4   %prep
5 < %setup -n glimpse-%v
5 > %setup -n glimpse-%realversion
6   %build
7   ./configure --prefix=%{i}
8 + # Turn off this part, it causes problems for 32-bit-on-64-bit and is only
9 + # needed for webglimpse
10 + perl -p -i -e "s|dynfilters||g" Makefile
11   make
12  
13   %install
# Line 77 | Line 80 | esac
80   EOF_CMS_GLIMPSE
81   perl -p -i -e "s|\@CMSPLATF\@|%cmsplatf|g" %{i}/bin/cmsglimpse
82   chmod +x %{i}/bin/cmsglimpse
83 + # SCRAM ToolBox toolfile
84 + mkdir -p %i/etc/scram.d
85 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
86 + <doc type=BuildSystem::ToolDoc version=1.0>
87 + <Tool name=glimpse version=%v>
88 + <Client>
89 + <Environment name=GLIMPSE_BASE default="%i"></Environment>
90 + </Client>
91 + <Runtime name=PATH value="$GLIMPSE_BASE/bin" type=path>
92 + </Tool>
93 + EOF_TOOLFILE
94 +
95   %post
96   perl -p -i -e "s|\@INSTROOT\@|$RPM_INSTALL_PREFIX|g" $RPM_INSTALL_PREFIX/%{pkgrel}/bin/cmsglimpse
97 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines