소스 검색

finish packaging

Ralf S. Engelschall 23 년 전
부모
커밋
67bbca4f18
1개의 변경된 파일9개의 추가작업 그리고 5개의 파일을 삭제
  1. 9 5
      magicpoint/magicpoint.spec

+ 9 - 5
magicpoint/magicpoint.spec

@@ -29,11 +29,11 @@ Summary:      Slideset Presentation Tool
 URL:          http://www.mew.org/mgp/
 Vendor:       WIDE Project
 Packager:     rse@openpkg.org
-Distribution: OpenPKG [DEV]
+Distribution: OpenPKG [EXP]
 Group:        Graphics
 License:      GPL
 Version:      1.09a
-Release:      20020206
+Release:      20020810
 
 #   list of sources
 Source0:      ftp://ftp.mew.org/pub/mgp/magicpoint-%{version}.tar.gz
@@ -42,8 +42,8 @@ Source1:      ftp://ftp.mew.org/pub/mgp/ttf.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, flex, bison, make
-PreReq:       OpenPKG, openpkg >= 20020206
+BuildPreReq:  OpenPKG, openpkg >= 20020206, X11, flex, bison, make
+PreReq:       OpenPKG, openpkg >= 20020206, X11
 AutoReq:      no
 AutoReqProv:  no
 
@@ -61,7 +61,11 @@ AutoReqProv:  no
     ./configure \
         --prefix=%{l_prefix} \
         --disable-vflib \
-        --disable-nls
+        --disable-nls \
+        --with-x \
+        --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
+        --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir`
+    PATH="`%{l_prefix}/etc/rc --query x11_bindir`:$PATH"
     xmkmf -a
     %{l_make} %{l_mflags}