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

Comparing COMP/CMSDIST/apt.spec (file contents):
Revision 1.1 by ratnik, Wed Aug 2 23:48:14 2006 UTC vs.
Revision 1.5 by eulisse, Wed Jun 13 16:34:50 2007 UTC

# Line 1 | Line 1
1 <
2 < ### RPM external  apt 0.5.15cnc6
3 < #Requires: beecrypt-devel
4 < Source: http://www.uscms.org/SoftwareComputing/CMSSoftware/download/apt_%v.tar.gz
1 > ### RPM external apt 0.5.15lorg3.2
2 > Source:  http://apt-rpm.org/releases/%n-%v.tar.bz2
3 > Patch0: apt-rpm449
4 > Requires: libxml2 beecrypt rpm zlib bz2lib
5 > %if "%(echo %{cmsos} | cut -d_ -f 2 | sed -e 's|.*64.*|64|')" == "64"
6 > %define libdir lib64
7 > %else
8 > %define libdir lib
9 > %endif
10  
11   %prep
12 < %setup -q -n %v
13 <
9 < ./configure --prefix=%{i} --exec-prefix=%{i} --disable-nls --disable-dependency-tracking
10 <
12 > %setup -n %n-%{realversion}
13 > %patch0 -p0
14   %build
15 < make
15 > export CPPFLAGS="-I$BEECRYPT_ROOT/include -I$RPM_ROOT/include -I$RPM_ROOT/include/rpm"
16 > export LDFLAGS="-L$BEECRYPT_ROOT/%{libdir} -L$RPM_ROOT/%{libdir}"
17 > export LIBDIR="$LIBS"
18 > export LIBXML2_CFLAGS="-I$LIBXML2_ROOT/include/libxml2 -I$BEECRYPT_ROOT/include -I$RPM_ROOT/include"
19 > export LIBXML2_LIBS="-lxml2 -L$LIBXML2_ROOT/lib -L$BEECRYPT_ROOT/%{libdir} -L$RPM_ROOT/%{libdir}"
20  
21 < %install
22 < make install
21 > ./configure --prefix=%{i} --exec-prefix=%{i} \
22 >                            --disable-nls \
23 >                            --disable-dependency-tracking \
24 >                            --without-libintl-prefix \
25 >                            --disable-rpath
26 > make %makeprocesses

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines