|
|
@@ -34,7 +34,7 @@ Class: PLUS
|
|
|
Group: XWindow
|
|
|
License: X11
|
|
|
Version: 0.04.1
|
|
|
-Release: 20040920
|
|
|
+Release: 20050110
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/xsel/xsel-%{version}.tar.gz
|
|
|
@@ -42,8 +42,8 @@ Source0: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/xsel/xsel-%{version}.t
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130, X11, gcc
|
|
|
-PreReq: OpenPKG, openpkg >= 20040130, X11
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20040130, X11, xaw3d, gcc
|
|
|
+PreReq: OpenPKG, openpkg >= 20040130, X11, xaw3d
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -64,10 +64,11 @@ AutoReqProv: no
|
|
|
|
|
|
%build
|
|
|
%{l_cc} \
|
|
|
+ %{l_cppflags} \
|
|
|
%{l_cflags -O} -I`%{l_rc} --query x11_incdir` \
|
|
|
-o xsel xsel.c \
|
|
|
%{l_ldflags} -L`%{l_rc} --query x11_libdir` \
|
|
|
- -lX11 -lXt -lXmu -lXaw
|
|
|
+ -lX11 -lXt -lXmu -lXaw3d
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|