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.1 by eulisse, Mon Feb 20 18:09:12 2006 UTC vs.
Revision 1.8 by elmer, Tue May 1 11:25:04 2007 UTC

# Line 1 | Line 1
1   ### RPM external bz2lib 1.0.2
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
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
# Line 11 | Line 16 | sed -e 's/ -shared/ -dynamiclib/' \
16  
17   %build
18   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
19 < make -f Makefile-libbz2_$so
19 > make %makeprocesses -f Makefile-libbz2_$so
20  
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 | sed 's/\.[0-9]*$//'`
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`
28 > # mimetic.spec
29 > #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines