ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/uuid.spec
Revision: 1.3
Committed: Wed Apr 18 23:46:02 2007 UTC (18 years ago) by ratnik
Branch: MAIN
CVS Tags: pe20070428a-ports, pe20070423b-ports, pe20070423a-ports
Changes since 1.2: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# User Rev Content
1 argiro 1.1 ### RPM external uuid 1.38
2 ratnik 1.3 Requires: gcc-wrapper
3 argiro 1.1 # Patches by Lassi A. Tuura <lat@iki.fi> (FIXME: contribute to e2fsprogs)
4     Source: http://switch.dl.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-%v.tar.gz
5    
6     #Patch0: uuid
7     #Patch1: uuid-osx
8    
9     %prep
10     %setup -n e2fsprogs-%v
11     #%patch0
12     #%ifos darwin
13     #%patch1
14     #endif
15    
16     %build
17 ratnik 1.3 ## IMPORT gcc-wrapper
18 argiro 1.1 ./configure $([ $(uname) != Darwin ] && echo --enable-elf-shlibs) --prefix=%i
19     make lib/ext2fs/ext2_types.h
20     cd lib/uuid
21     make
22    
23     %install
24     mkdir -p %i/lib
25     mkdir -p %i/include
26     cd lib/uuid
27     make install
28 eulisse 1.2 %post
29     ln -sf $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libuuid.so.1.2 $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libuuid.so