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

Comparing COMP/CMSDIST/classlib.spec (file contents):
Revision 1.1 by lat, Mon Oct 25 17:17:57 2010 UTC vs.
Revision 1.12 by lat, Sat Oct 8 22:04:25 2011 UTC

# Line 1 | Line 1
1 < ### RPM external classlib 3.1.0
2 < Source: http://cmsmac01.cern.ch/~lat/exports/%n-%realversion.tar.bz2
3 < Requires: zlib bz2lib pcre openssl lzo xz
1 > ### RPM external classlib 3.1.3
2 > %define online %(case %cmsplatf in (*onl_*_*) echo true;; (*) echo false;; esac)
3 > Source: http://lat.web.cern.ch/lat/exports/%n-%realversion.tar.bz2
4 > Patch0: classlib-3.1.3-gcc46
5 > Patch1: classlib-3.1.3-sl6
6 >
7 > Requires: bz2lib
8 > Requires: pcre
9 > Requires: xz
10 > %if "%online" != "true"
11 > Requires: openssl
12 > Requires: zlib
13 > %else
14 > Requires: onlinesystemtools
15 > %endif
16  
17   %prep
18   %setup -n %n-%realversion
19 + %patch0 -p1
20 + %patch1 -p1
21  
22   %build
23   ./configure --prefix=%i                         \
# Line 14 | Line 28 | Requires: zlib bz2lib pcre openssl lzo x
28    --with-pcre-includes=$PCRE_ROOT/include       \
29    --with-pcre-libraries=$PCRE_ROOT/lib          \
30    --with-openssl-includes=$OPENSSL_ROOT/include \
31 <  --with-openssl-libraries=$OPENSSL_ROOT/lib    \
18 <  --with-lzo-includes=$LZO_ROOT/include         \
19 <  --with-lzo-libraries=$LZO_ROOT/lib            \
31 >  --with-openssl-libraries=$OPENSSL_ROOT/lib    \
32    --with-lzma-includes=$XZ_ROOT/include         \
33 <  --with-lzma-libraries=$XZ_ROOT/lib
33 >  --with-lzma-libraries=$XZ_ROOT/lib    
34 >
35 > perl -p -i -e '
36 >  s{-llzo2}{}g;
37 >  !/^\S+: / && s{\S+LZO((C|Dec)ompressor|Constants|Error)\S+}{}g' \
38 > Makefile
39  
40   make %makeprocesses
41  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines