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

Comparing COMP/CMSDIST/mimetic.spec (file contents):
Revision 1.7 by elmer, Wed Jun 27 12:50:44 2007 UTC vs.
Revision 1.13 by andreasp, Tue May 19 09:01:05 2009 UTC

# Line 1 | Line 1
1 < ### RPM external mimetic 0.8.9-CMS3
1 > ### RPM external mimetic 0.8.9-CMS19
2   Source: http://codesink.org/download/%{n}-%{realversion}.tar.gz
3 + Patch0: mimetic-0.8.9-gcc412
4 + Patch1: mimetic-0.8.9-leopard
5  
6   %prep
7   %setup -n %n-%{realversion}
8 + %patch0 -p1
9 +
10 + %if "%(echo %{cmsos} | cut -d_ -f 1 | sed -e 's|osx.*|osx|')" == "osx"
11 + %patch1 -p1
12 + %endif
13  
14   %build
15   ./configure --prefix=%i
# Line 10 | Line 17 | make
17  
18   %install
19   make install
20 + # SCRAM ToolBox toolfile
21 + mkdir -p %i/etc/scram.d
22 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
23 + <doc type=BuildSystem::ToolDoc version=1.0>
24 + <Tool name=mimetic version=%v>
25 + <lib name=mimetic>
26 + <Client>
27 + <Environment name=MIMETIC_BASE default="%i"></Environment>
28 + <Environment name=LIBDIR default="$MIMETIC_BASE/lib"></Environment>
29 + <Environment name=INCLUDE default="$MIMETIC_BASE/include"></Environment>
30 + </Client>
31 + </Tool>
32 + EOF_TOOLFILE
33  
34 + %post
35 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines