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

Comparing COMP/CMSDIST/bz2lib.spec (file contents):
Revision 1.3 by eulisse, Tue May 2 09:03:58 2006 UTC vs.
Revision 1.11 by elmer, Wed Jun 27 12:50:44 2007 UTC

# Line 1 | Line 1
1 < ### RPM external bz2lib 1.0.2
1 > ### RPM external bz2lib 1.0.2-CMS3
2   # Build system patches by Lassi A. Tuura <lat@iki.fi>
3 < Source: ftp://sources.redhat.com/pub/bzip2/v%(echo %v | tr -d .)/bzip2-%v.tar.gz
3 > Source: ftp://sources.redhat.com/pub/bzip2/v%(echo %realversion | tr -d .)/bzip2-%realversion.tar.gz
4 > %define cpu %(echo %cmsplatf | cut -f2 -d_)
5   Provides: libbz2.so.1
6 + %if "%cpu" == "amd64"
7 + Provides: libbz2.so.1()(64bit)
8 + %endif
9  
10   %prep
11 < %setup -n bzip2-%v
11 > %setup -n bzip2-%realversion
12   sed -e 's/ -shared/ -dynamiclib/' \
13      -e 's/ -Wl,-soname -Wl,[^ ]*//' \
14      -e 's/libbz2\.so/libbz2.dylib/g' \
# Line 17 | Line 21 | make %makeprocesses -f Makefile-libbz2_$
21   %install
22   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
23   make install PREFIX=%i
24 < cp libbz2.$so.%v %i/lib
25 < ln -s libbz2.$so.%v %i/lib/libbz2.$so
26 < ln -s libbz2.$so.%v %i/lib/libbz2.$so.`echo %v | cut -d. -f 1,2`
27 < ln -s libbz2.$so.%v %i/lib/libbz2.$so.`echo %v | cut -d. -f 1`
24 > cp libbz2.$so.%realversion %i/lib
25 > ln -s libbz2.$so.%realversion %i/lib/libbz2.$so
26 > ln -s libbz2.$so.%realversion %i/lib/libbz2.$so.`echo %realversion | cut -d. -f 1,2`
27 > ln -s libbz2.$so.%realversion %i/lib/libbz2.$so.`echo %realversion | cut -d. -f 1`
28 >
29 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines