فهرست منبع

add mkimap from tools, requested by mandrews@cle.lionbioscience.com

Michael van Elst 23 سال پیش
والد
کامیت
9168484ad7
1فایلهای تغییر یافته به همراه8 افزوده شده و 2 حذف شده
  1. 8 2
      imapd/imapd.spec

+ 8 - 2
imapd/imapd.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Mail
 License:      BSD
 Version:      2.1.12
-Release:      20030428
+Release:      20030429
 
 #   package options
 %option       with_vhost_hack  no
@@ -163,7 +163,8 @@ Provides:     IMAP
         $RPM_BUILD_ROOT%{l_prefix}/etc/imapd \
         $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
         $RPM_BUILD_ROOT%{l_prefix}/etc/fsl \
-        $RPM_BUILD_ROOT%{l_prefix}/var/imapd/spool
+        $RPM_BUILD_ROOT%{l_prefix}/var/imapd/spool \
+        $RPM_BUILD_ROOT%{l_prefix}/bin
 
     #   offer a sane configuration
 
@@ -197,6 +198,11 @@ Provides:     IMAP
           mv man/man8/$i.8 man/man8/cyr$i.8
       done )
 
+    #   install from tools
+    %{l_shtool} install -c -m 755 \
+        tools/mkimap \
+        $RPM_BUILD_ROOT%{l_prefix}/bin/
+
     #   strip binaries
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true