ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/apt.spec
Revision: 1.5
Committed: Wed Jun 13 16:34:50 2007 UTC (17 years, 10 months ago) by eulisse
Branch: MAIN
Changes since 1.4: +12 -4 lines
Log Message:
* apt now builds with rpm 4.4.9.

File Contents

# Content
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 -n %n-%{realversion}
13 %patch0 -p0
14 %build
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 ./configure --prefix=%{i} --exec-prefix=%{i} \
22 --disable-nls \
23 --disable-dependency-tracking \
24 --without-libintl-prefix \
25 --disable-rpath
26 make %makeprocesses