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

Comparing COMP/CMSDIST/uuid.spec (file contents):
Revision 1.2 by eulisse, Wed May 17 15:26:41 2006 UTC vs.
Revision 1.9 by elmer, Thu Dec 27 20:28:33 2007 UTC

# Line 1 | Line 1
1 < ### RPM external uuid 1.38
1 > ### RPM external uuid 1.38-CMS19
2   # Patches by Lassi A. Tuura <lat@iki.fi> (FIXME: contribute to e2fsprogs)
3 < Source: http://switch.dl.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-%v.tar.gz
3 > Source: http://switch.dl.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-%realversion.tar.gz
4  
5   #Patch0: uuid
6   #Patch1: uuid-osx
7  
8   %prep
9 < %setup -n e2fsprogs-%v
9 > %setup -n e2fsprogs-%realversion
10   #%patch0
11   #%ifos darwin
12   #%patch1
# Line 23 | Line 23 | mkdir -p %i/lib
23   mkdir -p %i/include
24   cd lib/uuid
25   make install
26 +
27 + # SCRAM ToolBox toolfile
28 + mkdir -p %i/etc/scram.d
29 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
30 + <doc type=BuildSystem::ToolDoc version=1.0>
31 + <Tool name=%n version=%v>
32 + <lib name=uuid>
33 + <Client>
34 + <Environment name=UUID_BASE default="%i"></Environment>
35 + <Environment name=LIBDIR default="$UUID_BASE/lib"></Environment>
36 + <Environment name=INCLUDE default="$UUID_BASE/include"></Environment>
37 + </Client>
38 + <use name=sockets>
39 + </Tool>
40 + EOF_TOOLFILE
41 +
42   %post
43   ln -sf $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libuuid.so.1.2 $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libuuid.so
44 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines