瀏覽代碼

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}