ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/bz2lib.spec
Revision: 1.5
Committed: Thu Jul 6 13:08:38 2006 UTC (18 years, 9 months ago) by eulisse
Branch: MAIN
CVS Tags: nr_baran081_t1, for080_testfixes1, for080_testfixes, for081, for080, for080p4, for080pre3
Changes since 1.4: +1 -0 lines
Log Message:
Bumping revision to make sure they get built with the new install.sh.

File Contents

# Content
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 Provides: libbz2.so.1
5
6 %prep
7 %setup -n bzip2-%v
8 sed -e 's/ -shared/ -dynamiclib/' \
9 -e 's/ -Wl,-soname -Wl,[^ ]*//' \
10 -e 's/libbz2\.so/libbz2.dylib/g' \
11 < Makefile-libbz2_so > Makefile-libbz2_dylib
12
13 %build
14 case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
15 make %makeprocesses -f Makefile-libbz2_$so
16
17 %install
18 case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
19 make install PREFIX=%i
20 cp libbz2.$so.%v %i/lib
21 ln -s libbz2.$so.%v %i/lib/libbz2.$so
22 ln -s libbz2.$so.%v %i/lib/libbz2.$so.`echo %v | cut -d. -f 1,2`
23 ln -s libbz2.$so.%v %i/lib/libbz2.$so.`echo %v | cut -d. -f 1`
24 # mimetic.spec
25 #